trion-development / docker-ng-cli-e2e

Angular end2end tests inside docker
MIT License
24 stars 11 forks source link

e2e - SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 84 #15

Closed gizbo closed 4 years ago

gizbo commented 4 years ago

Hi, I'm getting the following error: E/direct - Error code: 135 [08:20:59] E/direct - Error message: Could not find chromedriver at /app/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_84.0.4147.30. Run 'webdriver-manager update' to download binaries. [08:20:59] E/direct - Error: Could not find chromedriver at /app/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_84.0.4147.30. Run 'webdriver-manager update' to download binaries.

I notice you have instruction about locking the Chrome version but I might not be following it correctly cause it's giving me the following error: Error: Could not find chromedriver at /app/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_84.0.4147.30. Run 'webdriver-manager update' to download binaries.

Ultimately I trying to had that to my gitlab-ci. This is what I have: test:e2e: stage: test extends: .tags image: trion/ng-cli-e2e:${CLI_VERSION} allow_failure: false script:

Thanks, Yves

everflux commented 4 years ago

Which version are you using (value of CLI_VERSION)?

You mention that your project is public, can you share the repo url?

gizbo commented 4 years ago

Which version are you using (value of CLI_VERSION)?

You mention that your project is public, can you share the repo url?

sorry 9.1.7

everflux commented 4 years ago

You mention that your project is public, can you share the repo url?

gizbo commented 4 years ago

You mention that your project is public, can you share the repo url?

Sorry it's not public

everflux commented 4 years ago

I see. Could you try the latest image and check, if your problem persists with it? (10.0.4)

gizbo commented 4 years ago

I see. Could you try the latest image and check, if your problem persists with it? (10.0.4)

Worked with 10.0.4, so how can I lock it?

jonasvoelcker commented 4 years ago

Hello,

yesterday the 85 dropped into the stable channel. Unfortunately selenium immediately decided to switch, so from that time starting our CI is broken :/ https://www.ubuntuupdates.org/ppa/google_chrome?dist=stable I've seen, that the stable-channel is part of the Docker build so could you please build a new tag? :)

Best Regards Jonas

everflux commented 4 years ago

Jonas, thanks for bringing this to our attention. I will build a new :latest tag.

jonasvoelcker commented 4 years ago

Thanks for that, unfortunately it's still 84 :/ https://hub.docker.com/layers/trion/ng-cli-e2e/latest/images/sha256-c7d0ad17a30c9b64e865332afda9b13ddddc7ef31852d6c8d0da402db114bad5?context=explore

jonasvoelcker commented 4 years ago

Wonderful, now it perfectly works again :)

(Vielen Dank für die tollen Images, auf euch ist immer Verlass, offensichtlich sogar außerhalb der klassischen Arbeitszeiten!)

everflux commented 4 years ago

You are very welcome, thanks for the kind words. Sorry the build took so long.

Please let us know if there is this kind of problem again.