Skip to content

Commit

Permalink
fix: e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjon3s committed May 9, 2024
1 parent 5fdd596 commit 44a65e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,15 +196,15 @@ test.describe("Navigation", () => {
await answerQuestion({ page, title: "Is this a test?", answer: "Yes" });
await clickContinue({ page });
await expect(
page.locator("h3", { hasText: "Yes! this is a test" }),
page.locator("h1", { hasText: "Yes! this is a test" }),
).toBeVisible();

await page.getByTestId("backButton").click();

await answerQuestion({ page, title: "Is this a test?", answer: "No" });
await clickContinue({ page });
await expect(
page.locator("h3", { hasText: "Sorry, this is a test" }),
page.locator("h1", { hasText: "Sorry, this is a test" }),
).toBeVisible();
});
});

0 comments on commit 44a65e1

Please sign in to comment.