Skip to content

Commit

Permalink
fix: change test url
Browse files Browse the repository at this point in the history
  • Loading branch information
josepmc committed Oct 18, 2023
1 parent 4fbbf45 commit 0d4534d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ jobs:
- name: Test
run: |
bunx playwright test
env:
CI: true

- uses: actions/upload-artifact@v3
if: always()
Expand Down
4 changes: 2 additions & 2 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default defineConfig({
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry',
testIdAttribute: 'data-testid',
baseURL: 'http://0.0.0.0:3000',
baseURL: 'http://localhost:3000',
},

/* Configure projects for major browsers */
Expand Down Expand Up @@ -73,7 +73,7 @@ export default defineConfig({
/* Run your local dev server before starting the tests */
webServer: {
command: 'bun start',
url: 'http://0.0.0.0:3000',
url: 'http://localhost:3000',
reuseExistingServer: !process.env.CI,
},
});

0 comments on commit 0d4534d

Please sign in to comment.