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.
Problem/Motivation
SimpleTestBrowserTest::testTestingThroughUI() executes PHPUnit tests through the UI. It reuses other tests such as BrowserTestBaseTest. As soon as BrowserTestBaseTest grows bigger this test becomes unstable and randomly fails.
Proposed resolution
Use a dedicated example browser test which does nothing but pass. That way any additions to BrowserTestBaseTest do not interfere with the success rate of SimpleTestBrowserTest.
Comment | File | Size | Author |
---|---|---|---|
#2 | simpletest-2820442-2.patch | 1.48 KB | klausi |
Comments
Comment #2
klausiPatch.
Comment #3
dawehnerThis works for me, thank you!
Comment #4
dawehnerIdeally we should understand where this random failure was coming from in the first place.
Comment #5
alexpottI agree with @dawehner about finding the cause - but I also think the change makes sense.
Committed and pushed e276eeb to 8.3.x and 131144b to 8.2.x. Thanks!