Problem/Motivation
Discovered in #3306446: Update Nightwatch to 2.4.1. To get us to the latest version of nightwatch, we need to get to the latest version of selenium-webdriver .
That version currently supports Chrome 101 and up.
Our current Drupal CI image runs:
(Session info: headless chrome=98.0.4758.102) and fails all nightwatch tests (https://dispatcher.drupalci.org/job/drupal_patches/145537/console)
Steps to reproduce
Proposed resolution
I know the "fun" we had after the last update landed in #3208793: Update Chrome container to use newer version, but I think/fear it's time for another round and a Drupal CI image with Google Chrome 104 (maybe even 105, which seems to land very soon)
Comments
Comment #2
spokjeMarked this a "Major", since it blocks #3306446: Update Nightwatch to 2.4.1 which is a "Major".
Comment #3
spokjeComment #4
andypost+1 to upgrade but it should be different image (hope it will contain version string) so users of old image cat test new one
Comment #5
longwaveAs far as I know there is only one
drupalci/chromedriverimage that is shared by all DrupalCI environments, so we also have to be careful here not to break older test runs.I do wonder in the long term if we should ship the Dockerfile for this with Drupal core instead, so the version used by the tests can be updated by core developers in step with the JS dependencies.
Comment #6
hestenetWe are revisiting what the right time is to update this, because as @longwave notes, it can disrupt tests to make this change, particularly for older configs.
I would certainly support finding a good way to empower core to manage when they update this.
Comment #7
hestenetChromedriver has been updated to the latest version as of Oct 6, 2022:
https://hub.docker.com/repository/docker/drupalci/chromedriver
Putting in 'Needs review' for a bit before marking fixed, pending seeing if anything blows up. :)
Comment #8
spokje@hestenet Could you confirm the version of Chromedriver for people that don't have/need/want access to hub.docker.com?
Comment #9
longwaveThank you @hestenet.
Can confirm that the daily core tests ran overnight on the new chromedriver, and we have some known random fails in SQLite but everything else looks good:
Comment #10
longwave@Spokje not sure why the URL above requires you to log in, the containers are public at https://hub.docker.com/r/drupalci/chromedriver
Although they don't tell you the version anyway - but as seen above this is Chrome 106.
Comment #11
spokje@longwave: Sorry, I blame lack of caffeine...
Comment #12
hestenetThanks for the reviews.
Comment #14
effulgentsia commentedIt's been a while since this issue, so Chrome 106 is now quite outdated. Therefore, I opened #3377509: Update Chrome container to use newer version (115 or higher).