Closed (fixed)
Project:
Drupal core
Version:
8.4.x-dev
Component:
settings_tray.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Anonymous (not verified)
Created:
11 Aug 2017 at 20:20 UTC
Updated:
6 Mar 2022 at 22:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedvaplas created an issue. See original summary.
Comment #2
Anonymous (not verified) commentedComment #4
Anonymous (not verified) commentedI confused the place of error. It seems this is what was said here #2848177-14: More \Drupal\Tests\outside_in\FunctionalJavascript\OutsideInBlockFormTest random fails.
Comment #5
tedbowOk I was working with @drpal the yesterday and we were seeing similar random fail on this local.
We fixed it by removing all animations for testing. Could this a solution? We don't actually test anything in relation to animation transitions in our tests. Why do we need them?
This patch adds removing all transitions to core/modules/outside_in/tests/modules/outside_in_test_css/css/css_fix.theme.css which will already use because our testing doesn't work pointer events CSS.
I am also uploading at patch with only changes being the running the test 30 times. To test if we are likely to get a random fail.
Comment #6
Anonymous (not verified) commentedConstantly worrying about turning off the animation for a stable passing of tests seems a little tedious, although it probably makes sense.
What if we add a patch from #2848177-14: More \Drupal\Tests\outside_in\FunctionalJavascript\OutsideInBlockFormTest random fails?
Comment #7
Anonymous (not verified) commentedI overlooked that all transitions were canceled globally. Good idea! Enhanced testing was launched.
Comment #8
Anonymous (not verified) commentedWell, #5 looks nice. I created another issue to solve the problem of stability tests due to CSS rules. So, we can add it like @todo for current solution, or not. In any case, +1 to RTBC with #5. This will help to quickly solve random fails of tests such types. Thanks!
Comment #9
Anonymous (not verified) commentedComment #10
tedbowSince @vaplas +1 rtbc for #5 here is the patch with only the needed test change
We also already have follow to see if there is better way to test animations #2901792: Disable all animations in Javascript testing
Comment #11
tim.plunkettThese two comments should have whitespace before and after the words. And maybe punctuation?
And it leads me to wonder what exactly the first section is, can it get a comment too?
Comment #12
tedbowComment #13
tedbow#11 fixed
Comment #14
grandmaglassesropemanThis looks good, and probably needed until we can migrate away from Phantom.
🚀
Comment #15
catchCommitted/pushed to 8.5.x and cherry-picked to 8.4.x. Thanks!
Comment #18
xjm🚀
Comment #19
tacituseu commentedComment #21
tedbowComment #22
xjm