Skip to content
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

My company blocks chrome extensions #2494

Closed
benmonro opened this issue Sep 19, 2018 · 10 comments
Closed

My company blocks chrome extensions #2494

benmonro opened this issue Sep 19, 2018 · 10 comments
Labels
topic: 😳 whoops we can't run your tests Error msg: "Whoops we can't run your tests"

Comments

@benmonro
Copy link

benmonro commented Sep 19, 2018

Is this a Feature or Bug?

both maybe?

I'm unable to launch cypress because my company blocks chrome extensions. any workarounds? If not, can you add support for cypress for users like me? :)

@jennifer-shehane jennifer-shehane added the stage: needs information Not enough info to reproduce the issue label Sep 20, 2018
@jennifer-shehane
Copy link
Member

Hey @benmonro, are you aware of the mechanism your company is using to block chrome extensions? What happens when you try to launch Cypress now? What do you see?

@benmonro
Copy link
Author

hi @jennifer-shehane, yeah I believe we're using the chrome enterprise policies.
https://support.google.com/chrome/a/answer/7517624

Since the cypress extension isn't in the chrome marketplace there's no way for me to get it approved /whitelisted that I know of. any guidance would be much appreciated.

@benmonro
Copy link
Author

I can't seem to upload a screenshot (company policy again I think - I'm new here).

What i see is browser with all my whitelisted extensions and a page that says:

Whoops, we can't run your tests.

This browser was not launched through Cypress. Tests cannot run.

 Why am I seeing this message?

@jennifer-shehane
Copy link
Member

The only thing I've ever seen remotely related to chrome extensions and permissions was this comment. Not sure it it's relevant though #672 (comment)

@benmonro
Copy link
Author

benmonro commented Sep 20, 2018 via email

@kuceb
Copy link
Contributor

kuceb commented Sep 20, 2018

@benmonro does electron work? Maybe you could download Chromium and only run your Cypress tests through it

@benmonro
Copy link
Author

electron does work! we were also able to get it working with SRWare Iron which uses chromium under the hood. Still it'd be nice to be able to run tests in chrome directly w/out having to use an extension if possible.

@kuceb
Copy link
Contributor

kuceb commented Oct 9, 2018

@benmonro that's a good idea! We may make the chrome extension optional, as we have already had to engineer that for headless chrome, which doesn't support extensions

@jennifer-shehane
Copy link
Member

The code for this is done in cypress-io/cypress#3674, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Mar 15, 2019

Released in 3.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: 😳 whoops we can't run your tests Error msg: "Whoops we can't run your tests"
Projects
None yet
Development

No branches or pull requests

3 participants