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: ensure tests use newly installed chromedriver and not chromedriver from node_modules #794

Merged
merged 16 commits into from
Aug 22, 2023

Conversation

Zidious
Copy link
Contributor

@Zidious Zidious commented Aug 22, 2023

This PR fixes our broken CI tests relating to chromedriver. It was consuming the chromedriver version from node_modules (webdriverjs and webdriverio) which will likely always be out of date. Instead we use browser-driver-manager to update to the latest chromedriver to run tests, however it was not being respected. This was because it was being installed on the root, not the working directory, now we specify a working directory where we install browser manager.

@Zidious Zidious changed the title ci: use browser-driver-manager for CI chromedriver ci: use global chromedriver for tests not chromedriver in node_modules Aug 22, 2023
@Zidious Zidious changed the title ci: use global chromedriver for tests not chromedriver in node_modules ci: ensure tests use newly installed chromedriver and not chromedriver from node_modules Aug 22, 2023
@Zidious Zidious marked this pull request as ready for review August 22, 2023 16:44
@Zidious Zidious requested a review from a team as a code owner August 22, 2023 16:44
@Zidious Zidious merged commit 377d5eb into develop Aug 22, 2023
25 checks passed
@Zidious Zidious deleted the ci-use-browser-driver-manager branch August 22, 2023 16:59
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