Issue Task Resolved

#111348E2E page tree fixture waits for progress bar animation

Benjamin Kott 11/05/26, 09:42 updated 11/05/26, 10:05

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

  1. Benjamin Kott commented and changed status Under Review Resolved done 0 % 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.