Skip to content

Commit

Permalink
Fix title text assertion in example.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
irsooti committed Jan 30, 2024
1 parent d3e4aa1 commit ded4b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/example.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ test("has title in the document", async ({ page }) => {

const title = page.getByRole("heading");

await expect(title).toHaveText(/Hedwig/i);
await expect(title).toHaveText("Hedwig");
});

0 comments on commit ded4b39

Please sign in to comment.