12 lines
304 B
TypeScript
12 lines
304 B
TypeScript
import { test, expect } from "../fixtures"
|
|
import { openPalette } from "../actions"
|
|
|
|
test("search palette opens and closes", async ({ page, gotoSession }) => {
|
|
await gotoSession()
|
|
|
|
const dialog = await openPalette(page)
|
|
|
|
await page.keyboard.press("Escape")
|
|
await expect(dialog).toHaveCount(0)
|
|
})
|