Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I want to use the :is()
pseudo-selector within #3257583: Olivero: Refactor tabs CSS to make use of modern CSS. This is supported by Drupal 10's supported browsers. However it's not supported by the Nightwatch tests running Chromedriver 87. See https://caniuse.com/css-matches-pseudo
Comment | File | Size | Author |
---|---|---|---|
#19 | 3258114-19-9.4.x.patch | 3.9 KB | longwave |
#13 | 3258114-13-10.0.x.patch | 3.9 KB | mherchel |
| |||
#12 | 3258114-12-9.4.x.patch | 3.53 KB | VirtualVasquez |
#6 | core-chromedriver-3258114-6.patch | 6.23 KB | nod_ |
| |||
#2 | 3258114.patch | 2.08 KB | mherchel |
Comments
Comment #2
mherchelThis patch is generated by running
yarn upgrade chromedriver --latest
.Comment #3
nod_That works. Need to be backported to 9.4.x because I need a higher version of chrome to test #3248469: Research if the CKE off-canvas CSS reset could be optimized (complex selector inside
:has()
)Comment #4
nod_Comment #5
lauriiiPatch failed to apply. I'm also wondering if this will actually resolve the problems from #3248469: Research if the CKE off-canvas CSS reset could be optimized with DrupalCI because DrupalCI is using it's own approach for loading chromedriver.
Comment #6
nod_Comment #7
andypostIt needs to update docker images, so needs ping @mixologic at infra slack
Comment #8
andy-blumIs getting @mixologic involved the only thing that needs to happen here? This might be blocking progress on #3257274: Implement color changing theme settings for Olivero.
From the #olivero slack:
@andy-blum: mherchel I don’t know why the nightwatch tests are failing for the color changing issue. Can you take a look?
@mherchel: Works for me locally too. When I google the error, it comes up to an old NightwatchJS issue that was closed for inactivity. maybe updating chromdriver will fix this (there’s an issue), or we might just need to refactor our way around it 😞
Comment #9
xjmThis is on the must-have list for Drupal 10. While it could be major (because technically we can update our dev dependencies in minor releases), the fact that it's also blocking other work makes it borderline-critcal.
Comment #10
andypostwould be great to define policy for updates as chrome has 4-weeks release cycle https://chromium.googlesource.com/chromium/src/+/master/docs/process/rel...
Comment #11
andypostThere's existing issue for infra team #3208793: Update Chrome container to use newer version
Comment #12
VirtualVasquez CreditAttribution: VirtualVasquez as a volunteer commented10.0.x patch is passing, but the 9.4.x is failing. Here is another patch against 9.4.x. This was generated by running
yarn upgrade chromedriver --latest<code>
Comment #13
mherchelThe patch in #12 looks good. I walked @VirtualVasquez though this process yesterday at the Florida DrupalCamp code sprint.
@nod_'s patch in #6 does not apply, so here is a re-roll for 10.0.x
Comment #15
mherchelComment #16
andy-blumChanges look good and all tests are green. Moving to RTBC
Comment #17
alexpott@andypost this is the chromedriver used by nightwatch locally - it is not the same chromedriver as used by DrupalCI. And yes this definitely confusing.
Committed 5057625 and pushed to 10.0.x. Thanks!
I think the 9.4.x patch needs work. If I apply that on 9.4.x and run yarn install the lock file changes and that is unexpected.
Comment #19
longwave#12 is correct for yarn.lock but is missing the change to package.json.
Comment #20
volkswagenchickAdding the
FLDC2022
tag so we can track issues we worked on during Florida DrupalCamp contrib day, thanks!Comment #21
nod_Comment #22
alexpottCommitted 59dacfe and pushed to 9.4.x. Thanks!
Comment #24
Wim LeersI'm guessing we won't backport this to Drupal 9.3?
It's not the biggest deal, but it means that the #3259769: Add tests for CKEditor 5 off-canvas CSS reset CKEditor 5 test coverage will not be able to run in Drupal 9.3.
Comment #26
xjm