fix(ci): preserve portable fixtures and complete confirmation tab coverage

This commit is contained in:
cesnimda
2026-10-20 20:05:01 +02:00
parent 6db62095c6
commit bba52af4b8
4 changed files with 21 additions and 3 deletions
@@ -171,8 +171,13 @@ for (const [mode, language, width] of [["light", "en", 1440], ["dark", "nb", 144
await expect(cancel).toBeFocused();
await expect(confirm).toHaveAccessibleDescription(t.attachmentsDeleteConfirm.replace("{name}", "Reviewed æøå.txt"));
await cancel.press("Shift+Tab");
const messageRegion = confirm.getByRole("region", { name: t.attachmentsDeleteTitle, exact: true });
await expect(messageRegion).toBeFocused();
await messageRegion.press("Shift+Tab");
await expect(confirm.getByRole("button", { name: t.attachmentsDelete, exact: true })).toBeFocused();
await page.keyboard.press("Tab");
await expect(messageRegion).toBeFocused();
await page.keyboard.press("Tab");
await expect(cancel).toBeFocused();
await scan(page, info, "confirm", true);
await capture(page, info, `confirm-${suffix}`);