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

ci: fix chrome nightly test #3366

Merged
merged 10 commits into from
Feb 11, 2022
Merged

ci: fix chrome nightly test #3366

merged 10 commits into from
Feb 11, 2022

Conversation

straker
Copy link
Contributor

@straker straker commented Jan 28, 2022

Hopefully this finally resolves our ChromeDriver being out-of-date and breaking our builds every few months. The package can handle installing Chrome (any channel) and its associated ChromeDriver version, and will default install the version of ChromeDriver that matches the installed Chrome version.

Here's it working on our nightly builds (notice it installs chrome v98 but chromedriver v97 [as 98 doesn't exist for npm] and uses chrome v98 for the test): https://app.circleci.com/pipelines/github/dequelabs/axe-core/3332/workflows/97473ac4-ba89-48c1-81df-85c01a9ae0ec/jobs/40631

Disclaimer: it's my package :)

@straker straker requested a review from a team as a code owner January 28, 2022 16:36
package.json Outdated Show resolved Hide resolved
Co-authored-by: Wilco Fiers <[email protected]>
@@ -117,6 +117,7 @@
"act-rules.github.io": "github:act-rules/act-rules.github.io#master",
"aria-practices": "github:w3c/aria-practices#f7de7ec3a53534018237f24cb9e610f26c30c367",
"aria-query": "^3.0.0",
"browser-driver-manager": "1.0.3",
Copy link
Contributor

Choose a reason for hiding this comment

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

I audited this version for security.

@straker straker merged commit d2c27ca into develop Feb 11, 2022
@straker straker deleted the fix-chromedriver branch February 11, 2022 15:33
straker added a commit that referenced this pull request May 12, 2022
* ci: fix nightly chrome

* fix package-lock

* fix

* npx

* test nightly

* verbose

* fix chrome install

* almost there

* fix config

* Update package.json

Co-authored-by: Wilco Fiers <[email protected]>

Co-authored-by: Wilco Fiers <[email protected]>
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