Skip to content

Commit

Permalink
tweak: test typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahpurcell committed Oct 16, 2024
1 parent 986752b commit 71b81e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/tests/components/detours/diversionPage.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1234,7 +1234,7 @@ describe("DiversionPage", () => {

await userEvent.click(reviewDetourButton.get())

expect(screen.getByRole("button", { name: "Copy Details" })).toBeVisible()
expect(screen.getByRole("button", { name: "Copy details" })).toBeVisible()
})

test("'Share Detour Details' screen copies text content to clipboard when clicked copy details button", async () => {
Expand Down Expand Up @@ -1300,7 +1300,7 @@ describe("DiversionPage", () => {

await userEvent.click(reviewDetourButton.get())

await userEvent.click(screen.getByRole("button", { name: "Copy Details" }))
await userEvent.click(screen.getByRole("button", { name: "Copy details" }))

await waitFor(() =>
expect(window.navigator.clipboard.readText()).resolves.toBe(
Expand Down

0 comments on commit 71b81e6

Please sign in to comment.