__/#/tests/... page errors 404 - page not found on Chrome 72+
See original GitHub issueIs this a Feature or Bug?
BUG
Current behavior:
Sometimes when I run all tests I have such error:
Important thing that I noticed If i remove tests “group_page.js” (check gif) it seems that the problem disappeared. “group_page.js” using different page: cy.visit(https://localhost:5002)
for testing when the other tests that crashing using cy.visit(https://localhost:5000)
Check this gif, I had to run 3 times RUN ALL TESTS to make it work. Before always failed at login_page.js
I was trying hardcode url in cy.visit()
(before I had url from cypress.json). The same result.
Steps to reproduce:
Run a few tests that include cy.visit(https://localhost:5002) for 1st test and cy.visit(https://localhost:5000) for 2nd test.
Versions
Cypress: 3.0.1 Windows 10 Chrome
Issue Analytics
- State:
- Created 5 years ago
- Reactions:7
- Comments:34 (9 by maintainers)
Top Results From Across the Web
404 Error Page Not Found - 5 Fix Google Chrome - YouTube
Error “ 404 page not found ” on website in Google Chrome | 404 File or Directory Not Found. This Tutorial will guide...
Read more >404. That's an error. The requested URL was not found on this ...
The error message is coming form the ourhillcountryretreat server. The file being requested does not exist. It has nothing to do with Google...
Read more >HTTP Status Codes, Network and DNS Errors, and Google ...
A soft 404 error is when a URL that returns a page telling the user that the page does not exist and also...
Read more >Downloads - ChromeDriver - WebDriver for Chrome
Resolved issue 3641: Page not getting loaded/rendered when browser window is not in focus with Chrome Beta v87 and chromedriver v(87/86).
Read more >Why is @font-face throwing a 404 error on woff files?
I'm using @font-face on my company's site and it works/looks great. Except Firefox and Chrome will throw a 404 error on the .woff...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Current Workaround
Add the code below to your
cypress/plugins/index.js
file to fix the 404 issue:I’ve opened a PR to fix this is Cypress here: https://github.com/cypress-io/cypress/pull/3049
Released in
3.1.5
.