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
@@ -366,7 +366,11 @@ test('[P7-05 Discovery] keyboard native create and alert updates persist; delete
const cancel = dialog.getByRole('button', { name: t.cancel, exact: true });
await expect(cancel).toBeFocused();
await page.keyboard.press('Shift+Tab');
const messageRegion = dialog.getByRole('region', { name: await dialog.getByRole('heading').innerText(), exact: true });
await expect(messageRegion).toBeFocused();
await messageRegion.press('Shift+Tab');
await expect(dialog.getByRole('button', { name: t.adminUsersDelete, exact: true })).toBeFocused();
await page.keyboard.press('Tab'); await expect(messageRegion).toBeFocused();
await page.keyboard.press('Tab'); await expect(cancel).toBeFocused();
await page.keyboard.press('Enter');
await expect(dialog).toHaveCount(0); await expect(deleteButton).toBeFocused();