Skip to content

Commit

Permalink
Timeout :(
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewjordan committed Sep 16, 2024
1 parent bbe1409 commit 46cb6d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: npm run start:playwright &

- name: Wait for server
run: npx wait-on http://localhost:3000
run: npx wait-on http://localhost:3000 && sleep 15

- name: Run Playwright tests
run: npx playwright test
Expand Down
4 changes: 3 additions & 1 deletion tests/work.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ test.describe("Work page component", async () => {
});

test("renders the Work top level metadata", async ({ page, workPage }) => {
await expect(page.getByTestId("example-toss")).toContainText("xyz");
await expect(page.getByTestId("example-toss")).toContainText(
CANARY_WORK_ID,
);
// await expect(page.getByTestId("title")).toContainText(
// canaryWork.title || "",
// );
Expand Down

0 comments on commit 46cb6d6

Please sign in to comment.