Skip to content

Commit

Permalink
ci: update playwright config
Browse files Browse the repository at this point in the history
  • Loading branch information
SSShooter committed Jan 12, 2024
1 parent 8c76317 commit 03b1520
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
run: pnpm i
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Dev Server
run: npm run dev
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v3
Expand Down
12 changes: 7 additions & 5 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,11 @@ 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 dev',
url: 'http://127.0.0.1:23333',
reuseExistingServer: !process.env.CI,
stdout: 'ignore',
stderr: 'pipe',
},
})

0 comments on commit 03b1520

Please sign in to comment.