feat(redesign): migrate Jobs Board presentation (P5-04a)
This commit is contained in:
@@ -189,7 +189,8 @@ for (const mode of ["light", "dark"] as const) {
|
||||
await keyboardFocus(page, dialog.getByRole("textbox"));
|
||||
await page.keyboard.press("Tab");
|
||||
const command = dialog.getByRole("button").first();
|
||||
await keyboardFocus(page, command);
|
||||
await expect(command).toBeFocused();
|
||||
await expect.poll(() => command.evaluate(node => getComputedStyle(node).outlineWidth)).toBe("3px");
|
||||
await page.keyboard.press("Escape");
|
||||
await expect(dialog).not.toBeVisible();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user