Skip to content

Commit 10bdb01

Browse files
test(e2e): update navigation test from Example Guide to Getting started
1 parent 351d10f commit 10bdb01

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/docs/e2e/homepage.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ test.describe("Homepage", () => {
2121
await expect(githubLink).toHaveAttribute("href", /.+/);
2222
});
2323

24-
test("navigates to example guide", async ({ page }) => {
24+
test("navigates to getting started guide", async ({ page }) => {
2525
await page.goto("/");
2626

27-
// Find and click the Example Guide link
28-
const guideLink = page.getByRole("link", { name: /example guide/i });
27+
// Find and click the Getting started link
28+
const guideLink = page.getByRole("link", { name: /getting started/i });
2929
await guideLink.click();
3030

3131
// Verify navigation occurred
32-
await expect(page).toHaveURL(/\/guides\/example/);
32+
await expect(page).toHaveURL(/\/guides\/getting-started/);
3333
});
3434

3535
test("is responsive on mobile", async ({ page }) => {

0 commit comments

Comments
 (0)