Problem/Motivation
Drupal\FunctionalJavascriptTests\Tests\JSWebAssertTest is randomly failing a lot of at the moment.
1) Drupal\FunctionalJavascriptTests\Tests\JSWebAssertTest::testJsWebAssert
Element not exists on page after too short wait.
/var/www/html/core/tests/Drupal/FunctionalJavascriptTests/Tests/JSWebAssertTest.php:46
/var/www/html/vendor/phpunit/phpunit/src/Framework/TestResult.php:726
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 3316224-7-pragmatic.patch | 1.57 KB | alexpott |
| #7 | 5-7-interdiff.txt | 951 bytes | alexpott |
| #5 | 3316224-5-pragmatic.patch | 1.46 KB | alexpott |
| #4 | 3316224-4.patch | 6.46 KB | alexpott |
| #2 | 3316224-2.patch | 6.54 KB | alexpott |
Comments
Comment #2
alexpottComment #4
alexpottLet's add a work around here and see if the test goes green.
Comment #5
alexpottI think we should consider doing this because this is testing our testing code and so the randoms disrupting core work don't feel worth it.
Comment #6
spokjePatch number #4 shows so many green that I'm going to RTBC #5 already.
The comment above the changed code, and thus the changed code itself makes sense seeing the torrent of JS failures lately.
Comment #7
alexpottAdding an @todo to remove this. Created the follow-up #3316317: Remove long request protection from Drupal\FunctionalJavascriptTests\Tests\JSWebAssertTest
Comment #10
catchCommitted/pushed to 10.1.x, cherry-picked back to 9.4.x, thanks!