| 1234567891011121314 |
- import { test, expect } from "../fixtures"
- import { closeDialog, openSettings } from "../actions"
- test("smoke settings dialog opens, switches tabs, closes", async ({ page, gotoSession }) => {
- await gotoSession()
- const dialog = await openSettings(page)
- await dialog.getByRole("tab", { name: "Shortcuts" }).click()
- await expect(dialog.getByRole("button", { name: "Reset to defaults" })).toBeVisible()
- await expect(dialog.getByPlaceholder("Search shortcuts")).toBeVisible()
- await closeDialog(page, dialog)
- })
|