#111348E2E page tree fixture waits for progress bar animation
Description
Problem
Every page tree interaction in the Playwright suite waits until typo3-backend-progress-bar has disappeared. The module is already loaded at that point: Loader.finish() runs on typo3-module-loaded, and what follows is only a 500 ms width transition and a 300 ms fade-out.
In a trace of a trivial test in layout-module.spec.ts, two of these waits took about 865 ms each, 1.74 s of the 3.6 s test. The time is spent on animation, not on anything the test verifies.
Cause
PageTree::isReady() in Build/tests/playwright/fixtures/page-tree.ts asserts not.toBeVisible() on the bar. The wait was carried over from .nprogress-busy when the bar replaced nprogress, which added the animation time to it.
Suggested fix
- await expect(this.page.locator('typo3-backend-progress-bar')).not.toBeVisible();
+ await expect(this.page.locator('typo3-backend-progress-bar:not([value="100"])')).not.toBeVisible();Reviews 2
History 13
-
Gerrit Code Review pushed patch set 2 for main to change 97362 status
NewUnder Review <span data-processor="relativetime" data-value="2026-11-05T09:44:08+00:00" > 11/05/26, 09:44 </span> -
Gerrit Code Review pushed patch set 1 for 14.3 to change 97364 <span data-processor="relativetime" data-value="2026-11-05T09:45:23+00:00" > 11/05/26, 09:45 </span>
-
Benjamin Kott commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-11-05T10:05:10+00:00" > 11/05/26, 10:05 </span>
Applied in changeset commit:293ba0a826a095910c9819285d59a4d5a9cb2dee.