Skip to content

Commit

Permalink
Fixed e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Hkaar committed Oct 30, 2024
1 parent d88d61d commit 69fb5fd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ jobs:

- name: Install dependencies
run: npm ci


- name: Build app
run: npm run build

- name: Install Playwright Browsers
run: npx playwright install --with-deps

Expand Down
10 changes: 5 additions & 5 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ export default defineConfig({
],

/* Run your local dev server before starting the tests */
// webServer: {
// command: 'npm run start',
// url: 'http://127.0.0.1:3000',
// reuseExistingServer: !process.env.CI,
// },
webServer: {
command: 'npm run start',
url: 'http://127.0.0.1:3000',
reuseExistingServer: !process.env.CI,
},
});

0 comments on commit 69fb5fd

Please sign in to comment.