diff --git a/frontend/tests/e2e/newsletter.spec.ts b/frontend/tests/e2e/newsletter.spec.ts index 0a50ebcd5..51adf9e6e 100644 --- a/frontend/tests/e2e/newsletter.spec.ts +++ b/frontend/tests/e2e/newsletter.spec.ts @@ -39,7 +39,7 @@ test("successful signup", async ({ page }) => { await expect( page.getByRole("heading", { name: /you’re subscribed/i }), - ).toBeVisible({ timeout: 1000 }); + ).toBeVisible(); }); test("error during signup", async ({ page }) => { diff --git a/frontend/tests/playwright.config.ts b/frontend/tests/playwright.config.ts index 171c1c91e..37a0f238c 100644 --- a/frontend/tests/playwright.config.ts +++ b/frontend/tests/playwright.config.ts @@ -59,7 +59,7 @@ export default defineConfig({ /* Run your local dev server before starting the tests */ webServer: { - command: "cp ../.env.development ../.env.production && npm run build --no-lint && npm run start", + command: "npm run dev", url: "http://127.0.0.1:3000", reuseExistingServer: !process.env.CI, },