2026-01-05 00:37:40 +09:00
|
|
|
import { expect, getIframe, test } from "./lib/fixtures"
|
2026-01-04 19:46:37 +09:00
|
|
|
|
|
|
|
|
test.describe("History Dialog", () => {
|
|
|
|
|
test.beforeEach(async ({ page }) => {
|
|
|
|
|
await page.goto("/", { waitUntil: "networkidle" })
|
2026-01-05 00:37:40 +09:00
|
|
|
await getIframe(page).waitFor({ state: "visible", timeout: 30000 })
|
2026-01-04 19:46:37 +09:00
|
|
|
})
|
|
|
|
|
|
|
|
|
|
test("history button exists in UI", async ({ page }) => {
|
|
|
|
|
// History button may be disabled initially (no history)
|
|
|
|
|
// Just verify it exists in the DOM
|
|
|
|
|
const historyButton = page
|
|
|
|
|
.locator("button")
|
|
|
|
|
.filter({ has: page.locator("svg") })
|
|
|
|
|
const count = await historyButton.count()
|
|
|
|
|
expect(count).toBeGreaterThan(0)
|
|
|
|
|
})
|
|
|
|
|
})
|