test(app): fix outdated e2e test

This commit is contained in:
adamelmore
2026-01-27 16:11:58 -06:00
parent 13b2587e96
commit 5c8580a187

View File

@@ -29,8 +29,8 @@ test("titlebar back/forward navigates between sessions", async ({ page, slug, sd
await expect(page).toHaveURL(new RegExp(`/${slug}/session/${two.id}(?:\\?|#|$)`))
await expect(page.locator(promptSelector)).toBeVisible()
const back = page.getByRole("button", { name: "Go back" })
const forward = page.getByRole("button", { name: "Go forward" })
const back = page.getByRole("button", { name: "Back" })
const forward = page.getByRole("button", { name: "Forward" })
await expect(back).toBeVisible()
await expect(back).toBeEnabled()