fix(app): the « Client introuvable » screen focuses its heading too

Every client screen focuses its heading when it opens (contract §11.7); the
not-found screen did not. Unit and Chromium tests now assert the focus.
Found by the V1-1.5 verifier.
This commit is contained in:
bchanot committed 2026-10-26 02:11:15 +01:00
1 parent e1c1980949
commit 567ad40c80
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -369,7 +369,7 @@ for (const [locale, dict] of LANGUAGES) {
level: 1,
name: dict['clients.not_found.title'],
}),
).toBeVisible()
).toBeFocused()
await expect(page.getByText(secret)).toHaveCount(0)
}
await expectAccessible(page, 'the client not found screen')