You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While triggering the build, my ruby script is escaping the backslash making it C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe. For this path, Cypress launches the browser with an error and can't proceed with tests. Same behavior on MS Edge as well.
Note: Works fine for Firefox
Logs
C:~Path> cypress run --browser "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe"
====================================================================================================
(Run Starting)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Cypress: 6.3.0 │
│ Browser: Custom Chrome │
│ Specs: 19 found (examples\actions.spec.js, examples\aliasing.spec.js, examples\assertions │
│ .spec.js, examples\connectors.spec.js, examples\cookies.spec.js, examples\cypress_ │
│ api.spec.js, examples\files.spec.js, examples\local_storage.spec.js, examples\loca │
│ tion.spec.j...) │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────────────────────────────────────────────
Running: examples\actions.spec.js (1 of 19)
Timed out waiting for the browser to connect. Retrying...
Timed out waiting for the browser to connect. Retrying again...
The browser never connected. Something is wrong. The tests cannot run. Aborting...
The browser never connected. Something is wrong. The tests cannot run. Aborting...
Screenshot
Works fine when I remove extra \ in the path
C:~Path> cypress run --browser "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
Desired behavior
Should launch browser correctly and run tests end to end for all win32 file paths. At lease handle double escapes :)
Test code to reproduce
Just running the default example with --browser and browser path with \\, you should get this on a Windows 10 machine very easily.
Versions
Cypress: 6.3.0
OS: Windows 10
Browser: Chrome 87, Edge 88 (Have tried lower version as well)
The text was updated successfully, but these errors were encountered:
The code for this is done in cypress-io/cypress#14723, but has yet to be released.
We'll update this issue and reference the changelog when it's released.
Current behavior
While triggering the build, my ruby script is escaping the backslash making it
C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe
. For this path, Cypress launches the browser with an error and can't proceed with tests. Same behavior on MS Edge as well.Note: Works fine for Firefox
Logs
Screenshot
Works fine when I remove extra
\
in the pathDesired behavior
Should launch browser correctly and run tests end to end for all win32 file paths. At lease handle double escapes :)
Test code to reproduce
Just running the default example with
--browser
and browser path with\\
, you should get this on a Windows 10 machine very easily.Versions
Cypress: 6.3.0
OS: Windows 10
Browser: Chrome 87, Edge 88 (Have tried lower version as well)
The text was updated successfully, but these errors were encountered: