sparse-megabyte-40861
12/03/2022, 6:00 PMbetter-elephant-20934
12/04/2022, 2:37 AMorange-book-46212
12/04/2022, 8:02 AMable-arm-52392
12/04/2022, 8:51 AMfresh-doctor-14925
12/04/2022, 12:37 PMflaky-airport-12178
12/04/2022, 2:20 PMvictorious-honey-34966
12/04/2022, 2:31 PMhappy-megabyte-98400
12/04/2022, 2:51 PMhappy-megabyte-98400
12/04/2022, 3:04 PMcypress-testrail-simple
by @gray-kilobyte-89541 and it works great but my manager wants to have custom comments, add screenshots, and record retries.
I couldn't get cypress-testrail-reporter, salty-cypress-testrail-reporter, and cypress-testrail among other packages to work as expected.handsome-lion-1748
12/05/2022, 12:58 PMCypress.on('uncaught:exception', (err, runnable) => {
// returning false here prevents Cypress from
// failing the test
return false
})
handsome-lion-1748
12/05/2022, 12:58 PMhandsome-lion-1748
12/05/2022, 1:04 PMfresh-doctor-14925
12/05/2022, 1:39 PMprehistoric-restaurant-43608
12/05/2022, 2:13 PMcypress open
(or cypress run
) and testing my app on localhost
...
A few interesting points :
- it is not browser-dependent (I get the same error on firefox, chrome and electron)...
- it runs without any problems when I manually connect to the app with my browser, so my server is up and running
- it works when I connect to another website (https://www.google.com/
), it only seems to affect localhost
.
It just only errors when trying to reach localhost
from the automated browser. I hope you can help ! I've been Googling my error for 3 days and relaunching cypress 5 times each time I want to run my tests...
My config :
- MacOS Ventura v13.0.1
- Cypress v11.2.0
- Node v18.12.1
- npm v8.19.2
mysterious-motherboard-13344
12/05/2022, 2:21 PMfew-oyster-82478
12/05/2022, 4:24 PMfew-oyster-82478
12/05/2022, 4:25 PMcolossal-match-42171
12/05/2022, 5:15 PMcolossal-match-42171
12/05/2022, 5:15 PMcolossal-match-42171
12/05/2022, 5:18 PMcolossal-match-42171
12/05/2022, 5:18 PMacceptable-hamburger-48790
12/05/2022, 5:58 PMfew-oyster-82478
12/05/2022, 6:25 PMfew-oyster-82478
12/05/2022, 6:27 PMvariables:
E2E_USERNAME: ${E2E_USERNAME}
E2E_PASSWORD: ${E2E_PASSWORD}
however the test fails when reading the valuesmysterious-belgium-25713
12/05/2022, 6:42 PMmysterious-belgium-25713
12/05/2022, 6:42 PMfresh-doctor-14925
12/05/2022, 6:43 PMmysterious-belgium-25713
12/05/2022, 6:50 PMcolossal-match-42171
12/05/2022, 6:52 PMcolossal-match-42171
12/05/2022, 6:53 PM