-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cypress extension not available in Chrome browser #4762
Comments
@iackc Have you tried to run the test outside of the IT teams network - like, at home? The cause may be something else other than the whitelisting of the extensions. |
@iackc Could you try running your tests in Chromium? It may not be subject to the same restrictions as Chrome at your company. You should be able to run tests in the included Electron browser either way: https://docs.cypress.io/guides/guides/launching-browsers.html |
@jennifer-shehane : The tests fail on the IT issued laptop (regardless of network connected to). @flotwig : Chromium is not a supported browser and is restricted from installation. Tests run fine in Electron browser but the application under tests have features that are not rendered in Electron and requires Chrome / Edge. One thing to note: The test runs are successful when executed as "local-admin' but fails under normal-user. |
@iackc Have you tried installing Chromium and using that? It has exactly the same behavior as Chrome and it might work. If not, sadly, this is still something we have yet to find a good workaround for. |
@flotwig: Unfortunately, Chromium is restricted from being installed on to the machines. |
@flotwig Got Chromium installed as local-user, so the installation is not in the directory Cypress is expecting(C:/Program Files (x86)/Google/chrome-win32/chrome.exe). Chromium now appears in Cypress window as one of the browsers, however when running a spec, the Chromium window opens with "Chrome is being controlled by automated test software" but the page is blank and it is not able to execute the tests. Any thoughts / suggestions will be helpful. LOGS
|
Nice, progress! Can you share a screenshot of the Chromium browser when you launch it via Cypress? |
@flotwig Any suggestions to troubleshoot this further? |
@iackc We can't bypass the restrictions that your company places on Chrome, unfortunately. You can try the workarounds here: https://docs.cypress.io/guides/references/error-messages.html#Cypress-detected-policy-settings-on-your-computer-that-may-cause-issues We are working on upgrading the included Electron so that it has feature parity with Chrome: #3568 |
Current behavior:
IT team policies blacklist everything unless the entries are Whitelisted. SO, we had IT whitelist the extension ID for Cypress: caljajdfkjjjdehjdoimjkkakekklcck.
When running a spec/ test in Chrome browser, seeing the following error message in Browser:
Desired behavior:
The Cypress extension should be loaded and The spec / test should be run in Chrome browser
Steps to reproduce: (app code and test code)
Versions
Cypress Version 3.4.0
Chrome Browser: Version 72.0.3626.121
Symantec Management Agent & CylanceProtect are installed
Logs
The text was updated successfully, but these errors were encountered: