Skip to content

Commit

Permalink
chore: update the playwright config
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJoin95 committed Oct 30, 2024
1 parent 197d24b commit bb6e8e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
with:
node-version: lts/*
- name: Build up the application
run: docker compose up
run: docker compose up -d
- name: Install Playwright Browsers
run: npx playwright install --with-deps
run: npm ci && npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v4
Expand Down
4 changes: 2 additions & 2 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ export default defineConfig({
],

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

0 comments on commit bb6e8e0

Please sign in to comment.