Problem/Motivation
In #3350972: [random test failure] Drupal\Tests\layout_builder\FunctionalJavascript\LayoutBuilderUiTest::testReloadWithNoSections() @nod_ introduced a "fix" for problems with the correct opening of an off-canvas dialog which potentially could fix all JS random test failures for tests using the drupal.dialog.off_canvas somehow.
The basic test is:
- Unskip
\Drupal\Tests\layout_builder\FunctionalJavascript\LayoutBuilderDisableInteractionsTest::assertContextualLinksClickable. - Run _only_ now unskipped
\\Drupal\Tests\layout_builder\FunctionalJavascript\LayoutBuilderDisableInteractionsTest::assertContextualLinksClickablea lot of times (usually we go for 1500x) as-is. - Run _only_ now unskipped
\Drupal\Tests\layout_builder\FunctionalJavascript\LayoutBuilderDisableInteractionsTest::assertContextualLinksClickablea lot of times (usually we go for 1500x) _without_ the changes in #3350972: [random test failure] Drupal\Tests\layout_builder\FunctionalJavascript\LayoutBuilderUiTest::testReloadWithNoSections(). - If 2., passes and 3. doesn't, we can safely turn the test back on again.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3353103-3.patch | 1 KB | spokje |
Comments
Comment #2
spokjeComment #3
spokjeComment #4
spokjeTest seems too slow for 1500x, let's try 1000x.
Comment #5
spokjeComment #6
spokjeStill far to slow, let's go 500x
Comment #7
spokjeSo basically
\Drupal\Tests\layout_builder\FunctionalJavascript\LayoutBuilderDisableInteractionsTest::assertContextualLinksClickableis currently completely broken on Drupal CI.Locally the should_fail test passes, which indeed points to a timing issue, solved by #3350972: [random test failure] Drupal\Tests\layout_builder\FunctionalJavascript\LayoutBuilderUiTest::testReloadWithNoSections().
Comment #8
spokjeBoth patches in #6 need to be requeue-ed multiple times until they have both run between 5000-8000 times before this can be reviewed. (See @xjm in #3353085-4: [meta] Determine impact of [#3350972] fix in off-canvas.js on currently disabled FunctionalJavascript tests)
Comment #9
spokjeComment #10
spokjeTo be clear: I won't be re-queueing patches on this one, so feel free to step in and re-queue away
Comment #11
xjmI queued the jobs. Not sure what the issue is; all you have to do is check "Custom parameters", click queue, hit the back button, and repeat.
Comment #12
spokjeTIL... Never used nor imagined that Custom runs _can_ be queued in advance where the "normal" ones can't.
Comment #13
xjmFixing attribution.
Comment #14
smustgrave commentedBased on the green and red I think the condition of the issue summary has been met haha.
Comment #15
catchCommitted 40668cf and pushed to 10.1.x. Thanks!
Can be cherry-picked once the others are happily landed in 10.1.x
Comment #19
catchCherry-picked to 10.0.x, and 9.5.x, thanks!