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

Comments

3 participants
@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

This comment has been minimized.

Copy link
Member

jennifer-shehane commented Sep 20, 2018

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

This comment has been minimized.

Copy link
Author

benmonro commented Sep 20, 2018

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

This comment has been minimized.

Copy link
Author

benmonro commented Sep 20, 2018

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

This comment has been minimized.

Copy link
Member

jennifer-shehane commented Sep 20, 2018

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

This comment has been minimized.

Copy link
Author

benmonro commented Sep 20, 2018

@Bkucera

This comment has been minimized.

Copy link
Member

Bkucera commented Sep 20, 2018

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

@benmonro

This comment has been minimized.

Copy link
Author

benmonro commented Sep 25, 2018

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.

@Bkucera

This comment has been minimized.

Copy link
Member

Bkucera 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

This comment has been minimized.

Copy link
Member

jennifer-shehane commented Mar 15, 2019

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

This comment has been minimized.

Copy link

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
You can’t perform that action at this time.