Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
newsletter timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
rylew1 committed May 23, 2024
1 parent fab1ffa commit 061c5b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/tests/e2e/newsletter.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable testing-library/prefer-screen-queries */
import { test, expect } from "@playwright/test";
import { expect, test } from "@playwright/test";

test.beforeEach(async ({ page }) => {
await page.goto("/newsletter");
Expand Down Expand Up @@ -39,7 +39,7 @@ test("successful signup", async ({ page }) => {

await expect(
page.getByRole("heading", { name: /you’re subscribed/i }),
).toBeVisible();
).toBeVisible({ timeout: 1000 });
});

test("error during signup", async ({ page }) => {
Expand Down

0 comments on commit 061c5b5

Please sign in to comment.