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 headless chrome for feature tests #1347

Merged
merged 4 commits into from
Jan 18, 2018

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Jan 18, 2018

PhantomJS was abondoned by the author and does not support modern javascript and css.
By switching to headless Chrome we test the features in real browser instead.

This records screenshots if errors in feature specs happen. Very useful debugging tool.
This enables us actually testing the select2 selects in feature specs.
Former we were using the hidden select.
@tvdeyen tvdeyen mentioned this pull request Jan 18, 2018
@tvdeyen tvdeyen force-pushed the headless-chrome branch 2 times, most recently from 185bac6 to afb4abe Compare January 18, 2018 12:32
@tvdeyen tvdeyen requested a review from mamhoff January 18, 2018 13:15
Copy link
Contributor

@mamhoff mamhoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay!

@tvdeyen tvdeyen merged commit d9a5962 into AlchemyCMS:master Jan 18, 2018
@tvdeyen tvdeyen deleted the headless-chrome branch January 18, 2018 14:41
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

Successfully merging this pull request may close these issues.

2 participants