Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Use headless Chrome instead of PhantomJS to run tests 🤖 #337

Closed
wants to merge 1 commit into from

Conversation

pirelenito
Copy link
Member

We have a couple of options going forward:

  • Always ship with the default PhantomJS support but use Chrome if it is available;
  • Completely ditch PhantomJS, and make Chrome another global dependency of Sagui.

However, it is currently only available in the Canary release.

More info https://www.chromestatus.com/features/5678767817097216

We have a couple of options going forward:
- Always ship with the default PhantomJS support but use Chrome if it is available;
- Completely ditch PhantomJS, and make Chrome another global dependency of Sagui.

However, it is currently only available in the Canary release.

More info https://www.chromestatus.com/features/5678767817097216
@pirelenito
Copy link
Member Author

We should also use the official support karma-runner/karma-chrome-launcher#111 once it is merged.

@pirelenito pirelenito added the wip label Apr 15, 2017
@xaviervia
Copy link
Member

How does this relate to the PR for switching to Electron? Should we reject that one? Seems like barebones Chromium is the way to go, clearly closer to metal than Electron.

@pirelenito pirelenito changed the base branch from v9 to v10 June 30, 2017 14:11
@pirelenito
Copy link
Member Author

I think it is time for us to push this! https://developers.google.com/web/updates/2017/06/headless-karma-mocha-chai

Headless support is already in Chrome stable!

@pirelenito
Copy link
Member Author

@npejo is preparing a new PR with a final solution. Rejecting this for now.

@pirelenito pirelenito closed this Jul 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants