Skip to content

Commit d2c9c99

Browse files
committed
Blur the paused timer button before the reset shortcut in the timer recipe (#172)
1 parent 9acb8e2 commit d2c9c99

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎.claude/skills/verify-debatelab/recipes/account.spec.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ test("timer-run: the speech timer starts, pauses, and resets", async ({ signedIn
8282
await page.waitForTimeout(1_500);
8383
expect(await display.textContent()).toBe(paused);
8484
await evidence.shot("01-paused");
85+
// Timer shortcuts ignore a focused button (#172), and Pause still has focus.
86+
await page.evaluate(() => (document.activeElement as HTMLElement | null)?.blur());
8587
await page.keyboard.press("r");
8688
await expect(display).toHaveText(initial!);
8789
await evidence.shot("02-reset");

0 commit comments

Comments
 (0)