Closed (fixed)
Project:
Drupal core
Version:
9.3.x-dev
Component:
javascript
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 Oct 2021 at 09:20 UTC
Updated:
10 Nov 2021 at 20:09 UTC
Jump to comment: Most recent
Comments
Comment #3
lauriiiComment #4
alexpottThis looks good. I've run the same update locally and got the same changes. I've scan reviewed the minified JS changes and there's things like:
becomes
Comment #5
catchBuild's failing on an Olivero test:
Comment #7
longwavePushed a fix.
I couldn't get the "link text" locator to work any more, so I used the ID instead as in the click test. I also added assertions that the element wasn't visible before moving.
The docs do say that "if an element is provided but no offset, the mouse will be moved to the center of the element", but this appears to no longer be true in the latest Nightwatch: https://nightwatchjs.org/api/moveToElement.html
Comment #8
longwaveActually, I guess "link text" isn't supposed to work on the button element, because it's a button and not a link.
Comment #9
alexpottThe test fixes look good to me.
Comment #10
init90Comment #12
catchCommitted b78a933 and pushed to 9.3.x. Thanks!