Summary
tests/renderer-dom/activityCenter.test.tsx > "Activity Center keyboard reach" > "closes on Escape and hands focus back to the trigger" fails intermittently on the runners with AssertionError: expected <div role="region" ...> to be null, after taking more than 5 seconds. Reran on the same commit, it passes.
Why it matters
The failure takes the whole test-matrix leg red, which then fails the test aggregator and makes sonarcloud fail on a missing coverage artefact. Three red checks on a pull request that has nothing wrong with it, and a rerun every time.
Evidence
What to look at
The assertion waits for the region to disappear after Escape. The panel plays an exit animation, so the region survives the default 1 second waitFor when the runner is loaded, the way discardToast did before #428 raised its timeout to 5 seconds. Either wait for the element to be removed with a timeout sized on the animation, or assert on what Escape controls rather than on the node being gone. Check the sibling cases in that file for the same shape.
Acceptance
Summary
tests/renderer-dom/activityCenter.test.tsx> "Activity Center keyboard reach" > "closes on Escape and hands focus back to the trigger" fails intermittently on the runners withAssertionError: expected <div role="region" ...> to be null, after taking more than 5 seconds. Reran on the same commit, it passes.Why it matters
The failure takes the whole
test-matrixleg red, which then fails thetestaggregator and makessonarcloudfail on a missing coverage artefact. Three red checks on a pull request that has nothing wrong with it, and a rerun every time.Evidence
fb299c60(pull request One launch path, one filter object, one task runner #501): ubuntu leg red, the case took 5196 ms.What to look at
The assertion waits for the region to disappear after Escape. The panel plays an exit animation, so the region survives the default 1 second
waitForwhen the runner is loaded, the waydiscardToastdid before #428 raised its timeout to 5 seconds. Either wait for the element to be removed with a timeout sized on the animation, or assert on what Escape controls rather than on the node being gone. Check the sibling cases in that file for the same shape.Acceptance