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.
Previously addressed in #2830485: \Drupal\Tests\outside_in\FunctionalJavascript\OutsideInBlockFormTest fails randomly and #2848177: More \Drupal\Tests\outside_in\FunctionalJavascript\OutsideInBlockFormTest random fails, still failing though. But seems to be much less frequent then previously.
Comment | File | Size | Author |
---|---|---|---|
#18 | 2870146-18.patch | 3.61 KB | droplet |
#14 | 2870146-14.patch | 4.6 KB | droplet |
#13 | 2870146-12-with-no-flicker-toolbar.patch | 29.54 KB | droplet |
#12 | 2870146-12-trying-catch-fail-point.patch | 2.39 KB | droplet |
#8 | 2870146-8-100-times-baseline-with-performance-fix.patch | 1.64 KB | droplet |
Comments
Comment #2
LendudeLets see if we can establish a baseline failure rate in HEAD for this.
Comment #4
Lendude@michielnugter++
lets try that again....
Comment #6
LendudeTry with 100
Comment #8
droplet CreditAttribution: droplet commentedthere's a bug taking the test such long execution time. I will split it to a new thread if it needed (but we also need a random test. So I do it here together first to save some testbots resource)
Comment #9
mpdonadioThis may not be limited to just outside_in and more frequent that it appears:
https://www.drupal.org/pift-ci-job/650067 (outside_in)
https://www.drupal.org/pift-ci-job/650091 (views)
Raising this to Critical as it appears to be causing testing disruption. We'll see if other RTBC get punted back b/c of this.
Comment #11
Lendude@mpdonadio I'd already opened #2868880: Random fails in ContextualFilterTest::testAddContextualFilterUI for the Views issue. Added your failure to the list there.
@droplet nice fix! took it down from 5 minutes per test to about 1.5 minutes. So we probably need to take it down to 50 tests per run (75 could just work, but better to have some buffer I think)
Comment #12
droplet CreditAttribution: droplet commentedIt seems it missed click on edit area.
the edit mode has anime on page reload.
hoping this patch will catch a new failure point
Comment #13
droplet CreditAttribution: droplet commented#12 failed as expected. the Setting Tray didn't open correctly.
Trying to see if it's Toolbar flicker problem affected.
Same patch as #12 and adding #2542050: Toolbar implementation creates super annoying re-rendering. patch.
Comment #14
droplet CreditAttribution: droplet commentedAs a new module, Setting Tray needs more work to make it more decoupled I think
Comment #15
michielnugter CreditAttribution: michielnugter as a volunteer and at Synetic commentedI created #2871219: Add checks to make sure animation is done in a JavascriptTestBase test because I really dislike using assertWaitOnAjax() to wait for animation. Not suggesting to postpone a critical on this but we might want to add a follow-up to change it after we decided and committed a better version of the animation wait.
Nice work @droplet!
Review:
Should the assertToolbarIsLoaded() be added to the pressToolbarEditButton() function as a replacement for the old waiting for... WaitOnAjaxRequest call instead of calling manually? This would improve the test code-flow
The method should either add an assertion to make sure it's loaded (don't see how yet) or be renamed to waitForToolbar()
We could say that this method should now contain assert in the name as it now asserts the canvas is visible :)
However: Do we really need to add the assertion here?
Comment #16
droplet CreditAttribution: droplet commentedSome cases, you won't press the edit button
Comment #17
droplet CreditAttribution: droplet commentedA better deal is throw exception from waitForElementVisible / waitForElement directly. Let code guard our code has no mistakes.
Comment #18
droplet CreditAttribution: droplet commentedComment #19
michielnugter CreditAttribution: michielnugter as a volunteer and at Synetic commentedChanges look good, thanks @droplet! I created a follow-up to resolve the @todo: #2872104: Resolve @todo in \Drupal\Tests\outside_in\FunctionalJavascript\OutsideInBlockFormTest.
Comment #21
michielnugter CreditAttribution: michielnugter as a volunteer and at Synetic commentedUnrelated fail, back to rtbc. Anyone know if the migrate fail is known?
Comment #22
mpdonadio#21, that was a fail from a patch that just landed, #2665196: Migration for email fields is missing. And since HEAD is broken with the same fail, I'm sure this will get attention.
Comment #25
catchCommitted/pushed to 8.4.x and cherry-picked to 8.3.x, thanks!
Comment #27
xjmUn-parenting close issues, thanks everyone!
Comment #28
tedbowChanging to new settings_tray.module component. @drpal thanks for script help! :)