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

Upgrade chromedriver helper to webdrivers #18

Merged
merged 3 commits into from
Apr 29, 2019

Conversation

edwardkerry
Copy link
Contributor

@edwardkerry edwardkerry commented Apr 24, 2019

chromedriver-helpers is now deprecated and can be replaced with the better
supported webdrivers.

webdrivers causes an issue with webmock. This Gem will now configure Webmock for consuming applications.

Trello

This gem is now deprecated and can be replaced with the better
supported webdrivers.
@edwardkerry edwardkerry force-pushed the upgrade_chromedriver-helper_to_webdrivers branch 2 times, most recently from a4e31d1 to f8b21eb Compare April 24, 2019 12:22
Copy link
Contributor

@thomasleese thomasleese left a comment

Choose a reason for hiding this comment

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

Would be good to also update the CHANGELOG with the breaking change.

README.md Outdated Show resolved Hide resolved
@edwardkerry
Copy link
Contributor Author

Would be good to also update the CHANGELOG with the breaking change.

👍 wasn't sure if this should be done here or in the version change PR

CHANGELOG.md Outdated Show resolved Hide resolved
lib/govuk_test.rb Outdated Show resolved Hide resolved
lib/govuk_test.rb Outdated Show resolved Hide resolved
@edwardkerry edwardkerry force-pushed the upgrade_chromedriver-helper_to_webdrivers branch 2 times, most recently from 3deff5c to fa67267 Compare April 24, 2019 14:39
@benthorner
Copy link
Contributor

benthorner commented Apr 24, 2019

Having had and fixed this problem myself, I've ended up with my own solution - sorry for the duplication. What do people think about this alternative: #19.

The problem we've had in the past is that Google retract old versions of Chrome when they release new ones, so the version-management aspect of these gems is a bit of a fantasy :-|.

(Companion PR that should hopefully do the trick alphagov/govuk-puppet#9029.)

lib/govuk_test.rb Outdated Show resolved Hide resolved
lib/govuk_test.rb Outdated Show resolved Hide resolved
thomasleese added a commit to alphagov/smokey that referenced this pull request Apr 26, 2019
chromedriver-helper is now deprecated and they recommend switching to
webdrivers. This is similar to what we're doing for
alphagov/govuk_test#18. The reason Smokey
currently doesn't use govuk_test is that the Smokey testing environment
is very different to an app testing environment, however we could aim to
make govuk_test more customisable so we could switch over in the future.
@edwardkerry edwardkerry force-pushed the upgrade_chromedriver-helper_to_webdrivers branch from d125283 to 8e38ca3 Compare April 26, 2019 11:49
lib/govuk_test.rb Outdated Show resolved Hide resolved
govuk_test.gemspec Outdated Show resolved Hide resolved
Copy link
Contributor

@benthorner benthorner left a comment

Choose a reason for hiding this comment

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

🎉 nice one - thanks for persisting with this!

README.md Outdated Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
@edwardkerry edwardkerry force-pushed the upgrade_chromedriver-helper_to_webdrivers branch from 6275547 to af804f1 Compare April 29, 2019 10:18
@edwardkerry edwardkerry force-pushed the upgrade_chromedriver-helper_to_webdrivers branch from af804f1 to 196c751 Compare April 29, 2019 10:20
@edwardkerry edwardkerry merged commit 0798bc2 into master Apr 29, 2019
@edwardkerry edwardkerry deleted the upgrade_chromedriver-helper_to_webdrivers branch April 29, 2019 10:35
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.

6 participants