Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test fails on drupal 10.3.7 #1021

Merged
merged 2 commits into from
Nov 13, 2024
Merged

Conversation

demeritcowboy
Copy link
Collaborator

Overview

Clean version of #1020

Before

Something changed in 10.3.7 but not sure exactly what, just the symptom is the popout edit dialog doesn't open to edit webform components.

After

Technical Details

The first commit fixes something that seems like it should have never worked, where it seems like it's clicking ALL the li's in the ul instead of just the edit one. Maybe it just happened to work out.

The second commit changes from waitForField on a different target (which doesn't actually do anything except wait for up to 10 seconds regardless, because the return value should be checked to see if it actually appeared) to doing the same thing drupal core does in its tests of "off-canvas" popouts.

Comments

One difficulty with troubleshooting this is that the test runs fine before with the same environment locally, so it's a bit of guesswork.

Running with the whole suite now - let's see if we need to adjust slightly for some tests.

@KarinG
Copy link
Collaborator

KarinG commented Nov 13, 2024

Jippie!

Drupal 10.1.x stopped receiving security coverage in June 2024 - so I'm merging this and will follow up to remove D10.1 from the test matrix.

@KarinG KarinG merged commit a343775 into colemanw:6.x Nov 13, 2024
3 of 4 checks passed
@demeritcowboy demeritcowboy deleted the edit-click2 branch November 13, 2024 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants