Skip to content

Commit

Permalink
fix: Fixed the Playwright Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FleetAdmiralJakob committed Jan 16, 2024
1 parent 5da3729 commit 545a975
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/e2e-web-tests/tests/email.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ test("contact form", async ({ page }) => {
await page.click("button[type=submit]");

// Check the toast
expect(
(await page.waitForSelector('li[data-type="success"]')).isVisible(),
).toBeTruthy();
await expect(
page.locator('li[data-type="success"]'),
).toBeVisible({ timeout: 6000 });
});

test("invalid email", async ({ page }) => {
Expand Down

1 comment on commit 545a975

@vercel
Copy link

@vercel vercel bot commented on 545a975 Jan 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.