Skip to content

Hardcoded webdriver-manager version #492

@SmithPeder

Description

@SmithPeder

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions