Request cannot be constructed from a URL that includes credentials: /__cypress/runner/./wasm/mappings.wasm
See original GitHub issueCurrent behavior:
When upgrading to 4.6.0 (worked with 4.4.1 and 4.5.0) we get the following error: with our Angular (v8) stopped working.
Desired behavior:
Cypress working at all.
Test code to reproduce
in .npmrc
we have
CYPRESS_INSTALL_BINARY=<proxy url to cdn to download 4.6.0 win32-x64 zip>
CYPRESS_CRASH_REPORTS=0
Our cypress.json file:
{
"fixturesFolder": "cypress/fixtures",
"integrationFolder": "cypress/integration",
"pluginsFile": "cypress/plugins/index.js",
"screenshotsFolder": "cypress/screenshots",
"videosFolder": "cypress/videos",
"supportFile": "cypress/support/index.js",
"baseUrl": "http://username:password@localhost:4200/",
"viewportWidth": 1400,
"viewportHeight": 1024,
"defaultCommandTimeout": 15000
}
with cypress folder placed outside the webapp folder.
The only version in
C:\Users<username>\AppData\Local\Cypress\Cache
is v4.6.0.
Versions
Cypress 4.6.0 Doesn’t work in either Electron, Chrome or Firefox. Running in Windows 10.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Web Security - Cypress Documentation
visit() command is issued in a test, Cypress changes its URL to match the origin of your remote application, thereby solving the first...
Read more >Request with URL that includes credentials - Stack Overflow
This is the error I get: TypeError: http://web_app@localhost:8081/oauth/token is an url with embedded credentials. Is the fetch I did wrong?
Read more >@cypress/request | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >cypress-ntlm-auth - npm
cypress -ntlm-auth. NTLM authentication plugin for Cypress. If you want to perform end-to-end testing against deployed sites that require ...
Read more >Cypress v4.8.0 release notes (2020-06-08) | LibHunt
... URL would error with Request cannot be constructed from a URL that includes credentials: /__cypress/runner/./wasm/mappings.wasm Fixes #7481.
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
The code for this is done in cypress-io/cypress#7555, but has yet to be released. We’ll update this issue and reference the changelog when it’s released.
Same for 4.7.0