Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2024 at 13:58 UTC
Updated:
23 Feb 2026 at 21:49 UTC
Jump to comment: Most recent
Once #3421202: Enable W3C-compliant webdriver testing lands we will be able to deprecate non-W3C testing and drop support for it an major version of Drupal. We will also need to ensure that #3462681: Add W3C compliant JS testing is complete.
Deprecate non-W3C testing
None
TBD
None
To do
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
alexpottThis can now be attempted - I think we should deprecate this in 11.2.0
Comment #6
longwaveLet's try to get this into 11.4 for removal in 12.
Comment #7
alexpottWe can add the
--suppress-deprecationsto the'🖱️️️ PHPUnit Functional Javascript (non W3C legacy)':test and that should allow them to pass.Comment #8
longwaveComment #9
alexpottNice.
Comment #10
alexpottBlocked by #3463696: Move performance test to selenium
Comment #11
longwave...and unblocked.
Comment #12
alexpott... and ready to go!
Comment #15
catchCommitted/pushed to main and 11.x, thanks!
Comment #18
dcam commentedI had to update a local testing environment with this today while reviewing another issue. After I updated the
MINK_DRIVER_ARGS_WEBDRIVERenvironment variable DDEV wouldn't restart properly. The problem was that I'd copied the new Chrome option,"w3c": truefrom the change record and it choked on the space after the colon with the errorunexpected type map[string]interface {}. I'm happy to edit the CR, but I want to verify that this is a correct edit before I do.