Skip to content

Commit

Permalink
chore: run e2e tests on push
Browse files Browse the repository at this point in the history
  • Loading branch information
ramboz committed May 29, 2024
1 parent b3a4025 commit 598d741
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
- run: npm run lint
env:
CI: true
- run: npx playwright install
- run: npm run test
env:
CI: true
2 changes: 1 addition & 1 deletion playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default defineConfig({
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: process.env.CI ? 'dot' : 'html',
reporter: process.env.CI ? 'line' : 'html',
use: {
/* Base URL to use in actions like `await page.goto('/')`. */
baseURL: 'http://127.0.0.1:3000/',
Expand Down

0 comments on commit 598d741

Please sign in to comment.