Skip to content

Commit

Permalink
Fix test; list mode now identified by a zoom control that's only there
Browse files Browse the repository at this point in the history
  • Loading branch information
dabreegster committed Aug 23, 2024
1 parent 93b273d commit 5f5cb06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/modes.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,6 @@ test("the viewport changes only once when opening a form", async () => {
// Assert the page is in the main list mode.
async function expectListMode() {
await expect(
page.getByRole("heading", { name: "ATIP Scheme Sketcher" }),
page.getByRole("button", { name: "Zoom to show entire boundary" }),
).toBeVisible();
}

0 comments on commit 5f5cb06

Please sign in to comment.