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

Use poltergeist for all platforms #687

Merged
merged 2 commits into from
Dec 17, 2016

Conversation

cllns
Copy link
Member

@cllns cllns commented Dec 8, 2016

Linux and JRuby: poltergeist depends on phantomjs, which is 16+ MB.

Everything else: capybara-webkit depends on QT, which is 700+ MB.

Using two different libraries based on platform could cause problems down the road if the drivers behave differently.

Can we just use poltergeist for all platforms?

@jodosha What do we need these for? Do we have feature tests that need JS? I'd prefer using Rack::Test (no dependencies) if possible!

@AlfonsoUceda
Copy link
Contributor

to me it's ok! it works and we can get rid of capybara-webkit (QT!!!) cc @jodosha

@jodosha jodosha merged commit 67885d3 into hanami:master Dec 17, 2016
@jodosha jodosha added this to the v0.9.2 milestone Dec 17, 2016
@jodosha
Copy link
Member

jodosha commented Dec 17, 2016

@cllns Thank you very much for this PR. This facilitates newcomers' life. 💯

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

Successfully merging this pull request may close these issues.

None yet

3 participants