Skip to content

Commit 34b9947

Browse files
ryan-williamsclaude
andcommitted
fix(tests): update reset button selector for new use-kbd
The use-kbd update changed the reset button class from `kbd-reset-btn` to `kbd-footer-btn`. Use text-based selector instead for robustness. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6552b40 commit 34b9947

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

www/test/e2e/hotkey-editing.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,8 +459,8 @@ test.describe('Hotkey Editing', () => {
459459
// Verify we now have both T and Z
460460
await expect(leftCell.locator('kbd', { hasText: 'T' })).toBeVisible()
461461

462-
// Click Reset button
463-
await page.locator('.kbd-modal .kbd-reset-btn').click()
462+
// Click Reset button (in footer)
463+
await page.locator('.kbd-modal button:has-text("Reset")').click()
464464
await page.waitForTimeout(300)
465465

466466
// Verify Z is gone and only T remains

0 commit comments

Comments
 (0)