test: fix flaky command palette smoke test — use reindex instead of settings
Settings command is disabled in mock environment (onOpenSettings not wired), causing the 'typing filters the command list' test to always fail. Reindex Vault is always enabled and already tested in indexing-reindex-status.spec.ts.
This commit is contained in:
@@ -28,7 +28,7 @@ test.describe('Command Palette smoke tests', () => {
|
||||
|
||||
test('typing filters the command list', async ({ page }) => {
|
||||
await openCommandPalette(page)
|
||||
const found = await findCommand(page, 'settings')
|
||||
const found = await findCommand(page, 'reindex')
|
||||
expect(found).toBe(true)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user