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

docs: Add an example of chrome extension testing on CI #3303

Closed
mshustov opened this issue Sep 25, 2018 · 1 comment
Closed

docs: Add an example of chrome extension testing on CI #3303

mshustov opened this issue Sep 25, 2018 · 1 comment

Comments

@mshustov
Copy link
Contributor

Cases:
1 Run tests locally. There is a good example already https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#working-with-chrome-extensions
2 Run test on CI. That part is not covered, as extension testing cannot be run in headless mode. I’ve spent a couple of hours to manage to run puppeteer on TravisCI and then found and adopted your setup https://github.com/GoogleChrome/puppeteer/blob/master/.travis.yml
Is that a recommended way to run puppeteer in headful mode? Should we add it to the docs?

@aslushnikov
Copy link
Contributor

Is that a recommended way to run puppeteer in headful mode?

@restrry If you're talking about xvfb - than yes, that's the default solution to run x server applications in headless environment.

Should we add it to the docs?

I'd appreciate a PR for this. We have a travis CI section in our troubleshooting.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants