question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Request cannot be constructed from a URL that includes credentials: /__cypress/runner/./wasm/mappings.wasm

See original GitHub issue

Current behavior:

When upgrading to 4.6.0 (worked with 4.4.1 and 4.5.0) we get the following error: image 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:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
cypress-bot[bot]commented, Jun 2, 2020

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.

1reaction
cnasikascommented, Jun 2, 2020

Anyone verified if the issue is still there in 4.7.0? Haven’t had time to do it myself but didn’t see anything about it in the channels I think.

Same for 4.7.0

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found