Skip to content

Remove dependency on the webdrivers gem#213

Merged
mergify[bot] merged 1 commit intosolidusio:mainfrom
jarednorman:rip-webdrivers
Oct 18, 2023
Merged

Remove dependency on the webdrivers gem#213
mergify[bot] merged 1 commit intosolidusio:mainfrom
jarednorman:rip-webdrivers

Conversation

@jarednorman
Copy link
Copy Markdown
Member

Summary

The webdrivers gem no longer works with recent versions of Chrome. Recent versions of selenium-webdriver (newer than 4.11) achieve the same effect.

One caveat with this change: it implicitly requires Ruby 3 as that's the requirement for selenium-webdriver 4.11+.

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

  • 📖 I have updated the README to account for my changes.
  • 📑 I have documented new code with YARD.
  • 🛣️ I have opened a PR to update the guides.
  • ✅ I have added automated tests to cover my changes.
  • 📸 I have attached screenshots to demo visual changes.

@jarednorman jarednorman self-assigned this Sep 8, 2023
@jarednorman jarednorman requested review from a team and adammathys September 8, 2023 20:33
@mergify mergify Bot added the needs changelog label Needs a label to determine the type of change. label Sep 8, 2023
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Sep 8, 2023

It looks like this PR is missing a label to determine the type of change it introduces. The maintainer should add one of the following labels:

  • bug for bugfixes.
  • enhancement for new features and improvements.
  • documentation for documentation changes.
  • security for security patches.
  • removed for feature removals.
  • infrastructure for internal changes that should not go in the changelog.

Additionally, the maintainer may also want to add one of the following:

  • breaking for breaking changes.
  • deprecated for feature deprecations.

Once the correct labels have been set, simply remove the needs changelog label label from this PR so I can merge it.

@benjaminwil
Copy link
Copy Markdown
Contributor

@jarednorman If you rebase this against main the solidus-older CI job should be okay now.

@jarednorman
Copy link
Copy Markdown
Member Author

Thanks, done.

Copy link
Copy Markdown
Member

@adammathys adammathys left a comment

Choose a reason for hiding this comment

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

Minus the one linting issue, this looks good to me!

spec.add_dependency 'rubocop-rspec', '~> 2.0'
spec.add_dependency 'solidus_core', ['>= 2.0', '< 5']
spec.add_dependency 'webdrivers', '>= 4.4'
spec.add_dependency 'selenium-webdriver', '~> 4.11'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Our linting is complaining that this line should be one higher to keep this list alphabetical. ❤️

webdrivers no longer works with recent versions of Chrome. Recent
versions of selenium-webdriver (newer than 4.11) achieve the same
effect.

One caveat with this change: it implicitly requires Ruby 3 as that's the
requirement for selenium-webdriver 4.11+.
@adammathys adammathys added infrastructure Internal change — changelog entry not needed. and removed needs changelog label Needs a label to determine the type of change. labels Oct 18, 2023
@mergify mergify Bot merged commit 773af7b into solidusio:main Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Internal change — changelog entry not needed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants