You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cypress test is working fine in Runner but when i am trying to run the same test in edge using CLI it ask me to select profile
Desired behavior
It should be wok in both but unfortunately i am getting Alert for selecting Profile and when i am trying to run in electron its not loading to desired page
Test code to reproduce
//import { defineConfig } from "cypress";const{ defineConfig }=require('cypress')const{ verifyDownloadTasks }=require('cy-verify-downloads');constreadXlsx=require('../Morpheus_QA/cypress/plugins/read-xlsx')// Populate process.env with values from .env filerequire('dotenv').config()//read the file for 459 scriptconstxlsx=require("node-xlsx").default;constfs=require("fs");constpath=require("path");module.exports=defineConfig({e2e: {// specPattern:["**/*.js"], // Adjust as needed// supportFile: false,viewportWidth:1280,viewportHeight: 800,video:false,defaultCommandTimeout:60000,pageLoadTimeout:240000,screenshotOnRunFailure: true,screenshotsFolder: "cypress/screenshots",allure: true,allureReuseAfterSpec: true,experimentalMemoryManagement:true,numTestsKeptInMemory:1,setupNodeEvents(on,config){//on('task',verifyDownloadTasks);on('task',{'readXlsx': readXlsx.read});on("task",{parseXlsx({ filePath }){returnnewPromise((resolve,reject)=>{try{constjsonData=xlsx.parse(fs.readFileSync(filePath));resolve(jsonData);}catch(e){reject(e);}allureWriter(on,config);});}});returnconfig;},//baseUrl:"https://morpheus-dev.zurichna.com",baseUrl:"https://qa1.morpheus.zurichna.com",//baseUrl:"https://qa2.morpheus.zurichna.com",// baseUrl:"https://qa1.morpheus.zurichna.com",//baseUrl:"https://qa2.morpheus.zurichna.com",//baseUrl:"[https://perf.morpheus.zurichna.com/"](https://perf.morpheus.zurichna.com/%22),//baseUrl:"https://trng.morpheus.zurichna.com",//baseUrl:"https://preprod.morpheus.zurichna.com",// baseUrl:"[https://dev3.morpheus.zurichna.com/home?search="](https://dev3.morpheus.zurichna.com/home?search=%22),excludeSpecPattern: process.env.CI ? ['cypress/e2e/Morpheus/Regression/Smoke.cy.js'] : []},reporter: "cypress-multi-reporters",reporterOptions: {reporterEnabled: "mochawesome",mochawesomeReporterOptions: {quite: true,overwrite: false,html: true,json: true,embeddedScreenshots:true,reportDir: "cypress/reports/mocha",reportFilename: "report",}},env: {allureReuseAfterSpec:true,auth_username: process.env.AUTH_USERNAME,auth_password: process.env.AUTH_PASSWORD,okta_domain: process.env.REACT_APP_OKTA_DOMAIN,okta_client_id: process.env.REACT_APP_OKTA_CLIENTID}})
Cypress Version
v13.15.2
Node version
v18.16.0
Operating System
Win 22631.4460
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered:
Nishantbel
changed the title
Profile selection
Profile selection issue with edge
Dec 10, 2024
Current behavior
Cypress test is working fine in Runner but when i am trying to run the same test in edge using CLI it ask me to select profile
Desired behavior
It should be wok in both but unfortunately i am getting Alert for selecting Profile and when i am trying to run in electron its not loading to desired page
Test code to reproduce
Cypress Version
v13.15.2
Node version
v18.16.0
Operating System
Win 22631.4460
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: