Chrome cy.visit breaks testpage, but works in Electron
See original GitHub issueCurrent behavior:
When running a cy.visit in Chrome 74 the testpages turns nearly blank and displays Cannot GET /__/
.
However it does visit the page when Electron is used.
1. Running test
2. Redirect?
Config
Desired behavior:
The cy.visit()
call should show the served page at localhost:8080
in an iframe.
The testpage should stay visible (as seen in screenshot 1).
Steps to reproduce:
The following test redirects to the page shown in the screenshot:
cy.visit('http://localhost:8080/index-mocks.html');
Versions:
Windows 10
$ ./cypress --version
Cypress package version: 3.3.0
Cypress binary version: 3.3.0
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:37 (11 by maintainers)
Top Results From Across the Web
session - Cypress Documentation
The cy.session() command will inherit the testIsolation value to determine whether or not the page is cleared when caching and restoring the browser...
Read more >cypress-io/cypress - Gitter
Hi there ! I have run into this "Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 20...
Read more >rouch/Cypress: Fast, easy and reliable testing for anything that runs ...
Before filing a bug, make sure you are up to date. Your issue may have already been fixed. Even if you do not...
Read more >how to run all cypress tests Code Example - Code Grepper
npm install cypress //takes about 3-5 minutes for entire process. 2 ./node_modules/.bin/cypress open // just cypress run wont work. Add a Grepper Answer ......
Read more >Hiu - River Thames Conditions - Environment Agency - GOV.UK
The unity candle song haan lyrics, Water main break greenwich nyc. Strandbad pressegger see eintritt, Video calling applications for mac, ...
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
@RicardoVaranda You may be able to delete the policy yourself if you have local administrator access.
Sidebar: It’s especially unfortunate that so many companies have this policy set, as forcing a proxy is basically just security theater. It does nothing to make you more secure. Users can get around being forced to use a proxy by using other browsers that don’t respect policy, like SRWare Iron, or by injecting a DLL that blocks the policy. Of course, your company’s network will not allow Internet access without going through the proxy, which also makes forcing ProxyMode redundant. 🙄
We have also been facing this issue for quite some time now and had to use electron to bypass it. It would be great to get a fix.