Skip to content

Commit

Permalink
test: Update regression tests for new Team page layout
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Jun 24, 2024
1 parent ad816b9 commit 646759b
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 @@ -47,7 +47,7 @@ test.describe("Navigation", () => {

Promise.all([await page.goto("/"), await initialRequest]);

const team = page.locator("h2", { hasText: context.team.name });
const team = page.locator("h3", { hasText: context.team.name });

let isRepeatedRequestMade = false;
page.on(
Expand All @@ -74,7 +74,7 @@ test.describe("Navigation", () => {
});

await page.goto("/");
const team = page.locator("h2", { hasText: context.team.name });
const team = page.locator("h3", { hasText: context.team.name });
await team.click();

const teamSlugInHeader = page.getByRole("link", {
Expand Down

0 comments on commit 646759b

Please sign in to comment.