Closed (fixed)
Project:
Drupal core
Version:
9.4.x-dev
Component:
phpunit
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Oct 2022 at 14:02 UTC
Updated:
31 Oct 2022 at 18:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alexpottComment #4
alexpottComment #6
alexpottComment #8
alexpottComment #9
alexpottSo #8 is the fix because the text is there sometimes! What is happen is that the webdriver requests are so slow on DrupalCI that they don't catch the point between the JS that removes the file and the JS that adds the drupal announce is run. We have a race that we often lose when things are very slow :)
Here's the patch to commit.
Comment #10
alexpottHere's an even better series of asserts that also prove the widget has been updated correctly.
Comment #11
spokje- Explanation in #9 makes sense
- Code changes to avoid the race make sense
If TestBot agrees, I'll RTBC #10.
Comment #12
alexpottI'm going to commit this because it is a test only critical that makes the testing system more stable.
Committed and pushed dcc4424336 to 10.1.x and cb8db5e3e0 to 10.0.x and 68e1b87fc9 to 9.5.x and f47f3c01bf to 9.4.x. Thanks!