Skip to content

Commit 21428dc

Browse files
committed
fix failing landing page test
1 parent 09be065 commit 21428dc

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

e2e/LandingPage.test.res

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ describe("Landing Page", () => {
2929
await page->getByRole("link", ~options={name: "Community"})->expect->toBeVisible
3030
})
3131

32-
test("Get Started link navigates to the introduction", async ({page}) => {
32+
test("Get Started link navigates to the installation guide", async ({page}) => {
3333
let _ = await page->goto("/")
3434

3535
let getStarted = page->getByRole("link", ~options={name: "Get Started"})
3636
await getStarted->first->click
3737

38-
await page->expect->toHaveURL("/docs/manual/latest/introduction")
38+
await page->expect->toHaveURL("/docs/manual/installation")
3939
})
4040

4141
test("GitHub social link is present", async ({page}) => {

playwright.config.mjs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,7 @@ export default defineConfig({
4444

4545
testDir: "./e2e",
4646

47-
/**
48-
* Include compiled ReScript output (.jsx) as well as plain .js / .ts files.
49-
* ReScript compiles *.res → *.jsx (in-source), so Playwright must discover
50-
* those generated files.
51-
*/
52-
testMatch: "e2e/**/*.test.{js,jsx,ts,tsx}",
47+
testMatch: "e2e/**/*.test.jsx",
5348

5449
/** Run each test file in parallel. */
5550
fullyParallel: true,

0 commit comments

Comments
 (0)