Skip to content

Commit

Permalink
e2e: re-use server app
Browse files Browse the repository at this point in the history
  • Loading branch information
dhilt committed May 26, 2024
1 parent b9b81ea commit 62b9b8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
- name: Unit tests
run: npm test

- name: Run app
run: npm run app

- name: E2e tests
run: |
npx playwright install
Expand Down
2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default defineConfig({
webServer: {
command: 'npm run app',
url: 'http://127.0.0.1:3000',
reuseExistingServer: !process.env.CI,
reuseExistingServer: true
},

/* Configure projects for major browsers */
Expand Down

0 comments on commit 62b9b8a

Please sign in to comment.