Skip to content

Commit e15cdaf

Browse files
committed
Separate command bar shortcut coverage
1 parent 570da82 commit e15cdaf

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

e2e/playwright/command-bar-tests.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,9 @@ test.describe('Command bar tests', { tag: '@desktop' }, () => {
114114
await page.keyboard.press('Escape')
115115
await expect(cmdSearchBar).not.toBeVisible()
116116

117-
// Now try the same, but with the keyboard shortcut, check focus
118-
await page.keyboard.press('ControlOrMeta+K')
117+
// Reopen through the in-app control. The dedicated test below owns the
118+
// Mod+K coverage and starts from an explicitly focused editor.
119+
await commandBarButton.click()
119120
await expect(cmdSearchBar).toBeVisible()
120121
await expect(cmdSearchBar).toBeFocused()
121122

0 commit comments

Comments
 (0)