fix: enforce first-frame timeout and nav labels

This commit is contained in:
2026-09-02 08:22:40 +03:00
parent 5edddb8781
commit 1734003172
10 changed files with 217 additions and 40 deletions

View File

@@ -94,6 +94,11 @@ test.describe('scene failure matrix', () => {
await expect(page.locator('.journey-world')).toHaveAttribute('data-static-fallback', 'true');
await expect(page.locator('.journey-canvas')).toHaveCount(0);
await assertSemanticFaultOracle(page);
const fault = await readFaultSnapshot(page);
expect(fault.events).toContain('first-frame-suppressed');
expect(fault.events).not.toContain('first-frame-deadline');
expect(fault.staticFallbackCount).toBe(1);
expect((await readSceneInstrumentation(page)).activeAnimationFrames).toBe(0);
await assertNoEscapedErrors(page, errors.pageErrors);
});