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

Commit

Permalink
Update tests for newsletter and dev server
Browse files Browse the repository at this point in the history
  • Loading branch information
acouch committed May 23, 2024
1 parent e311819 commit c40b27b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/tests/e2e/newsletter.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand Down
2 changes: 1 addition & 1 deletion frontend/tests/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit c40b27b

Please sign in to comment.