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:
Test
2026-03-09 09:28:48 +01:00
parent 13b325217b
commit 1f497e4b18

View File

@@ -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)
})