lemon-hydrogen-58998
11/29/2022, 11:49 AM"scripts": {
"dev": "cypress open --browser chrome",
"test": "jest && cypress run --browser chrome",
},
How should I put it to be able to run my tests against two browsers (e.g. Chrome and Firefox)?
I tried:
"scripts": {
"dev": "cypress open --browser chrome",
"test": "jest && cypress run --browser chrome && cypress run --browser firefoxโ,
},
but it didn't work.
Any ideas?fresh-doctor-14925
11/29/2022, 12:20 PMstale-wire-41120
11/29/2022, 12:23 PMstale-wire-41120
11/29/2022, 12:23 PMfresh-doctor-14925
11/29/2022, 12:28 PMnutritious-analyst-96582
11/29/2022, 12:28 PMlemon-hydrogen-58998
11/29/2022, 12:55 PMfresh-doctor-14925
11/29/2022, 1:26 PMproud-city-87954
11/29/2022, 1:47 PMjolly-glass-61422
11/29/2022, 1:51 PMstale-wire-41120
11/29/2022, 2:04 PMfresh-doctor-14925
11/29/2022, 2:14 PMfresh-doctor-14925
11/29/2022, 2:20 PMstocky-helmet-50407
11/29/2022, 2:27 PMgray-kilobyte-89541
11/29/2022, 2:33 PMfierce-terabyte-72718
11/29/2022, 4:40 PMfresh-doctor-14925
11/29/2022, 4:56 PMnutritious-analyst-96582
11/29/2022, 4:56 PMfierce-terabyte-72718
11/29/2022, 5:06 PMhappy-megabyte-98400
11/29/2022, 5:36 PM.first()
, problem is i don't know how. Can someone help me with this?incalculable-airport-62535
11/29/2022, 6:29 PMbitter-fountain-36713
11/29/2022, 6:49 PMcy.intercept() cannot be debugged using cy.request()! Cypress only intercepts requests made by your front-end application.
Are you trying to simulate what your frontend will handle error response codes?incalculable-airport-62535
11/29/2022, 6:53 PMbitter-fountain-36713
11/29/2022, 7:02 PMreq.reply()
. Here is more information on the docs.
https://docs.cypress.io/api/commands/intercept#Request-Response-Modification-with-routeHandlerhappy-megabyte-98400
11/29/2022, 7:10 PMbitter-fountain-36713
11/29/2022, 7:15 PMcurved-father-48262
11/29/2022, 7:16 PMhappy-megabyte-98400
11/29/2022, 7:21 PMbitter-fountain-36713
11/29/2022, 7:31 PMgray-kilobyte-89541
11/29/2022, 7:37 PM