Add W3C compliant JS testing

Issue information

From user: alexpott

Related to !248 (merged)

Contribution record

Fork management

Problem/Motivation

Once #3421202: Enable W3C-compliant webdriver testing lands we will be able to run tests using selenium and the latest Chrome. We should support that in the template as eventually non-W3C testing will be deprecated.

Proposed resolution

  • Update .testing-job-base to use the new Selenium driver and set the variables for the latest Chrome browser
  • These will be the default for all test jobs, but temporarily revert to the legacy values for variants using Drupal 10 and lower
  • This means that only "Nightwatch Next Major" and "PHPUnit Next Major" will use the new driver at the moment
  • When Drupal 11 becomes 'current' then all jobs will use the new driver except 'Nightwatch Previous Major' and 'PHPUnit Previous Major'

User interface changes

If a contrib project does not want to test against W3C-compliant driver, the values can be reverted. Instructions for this are in the Nightwatch and PHPUnit documentation pages

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information