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

Hardcoded webdriver-manager version #492

Open
SmithPeder opened this issue Jul 24, 2022 · 0 comments
Open

Hardcoded webdriver-manager version #492

SmithPeder opened this issue Jul 24, 2022 · 0 comments

Comments

@SmithPeder
Copy link
Member

Hardcoded chrome version


TL;DR

As per #491 we need to update the hardcoded value listed in the package.json to match the chrome version

Issue

When we run protractor we manually list the chrome-version in the package.json

"protractor": "webdriver-manager update --standalone false --versions.chrome 93.0.4577.82 && NODE_ENV=protractor MONGO_URL=${MONGO_URL:-'mongodb://localhost:27017/vote-test'} protractor ./features/protractor-conf.js",

When this runs through our drone pipeline it runs on the circleci/node:16-browsers image. We don't know when circle updates their chrome version so the pipeline can suddenly fail.

image: circleci/node:16-browsers

One can see what version of google chrome the image with

$ docker run -it --entrypoint "google-chrome" circleci/node:16-browsers --version
Google Chrome 96.0.4664.110

This is sub-optimal and can be annoying. Should find a better way to run this.

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

No branches or pull requests

1 participant