Skip to content

Commit

Permalink
fix playwright base url
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregor Vostrak authored and Gregor Vostrak committed Jan 22, 2024
1 parent d645be9 commit d7e48f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:

- name: Run Playwright tests
run: npx playwright test
env:
PLAYWRIGHT_BASE_URL: '127.0.0.1:8000'

- uses: actions/upload-artifact@v3
if: always()
Expand Down
2 changes: 1 addition & 1 deletion playwright/config.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const PLAYWRIGHT_BASE_URL = 'http://laravel.test';
export const PLAYWRIGHT_BASE_URL = process.env.PLAYWRIGHT_BASE_URL ?? 'http://laravel.test';

Check warning on line 1 in playwright/config.ts

View workflow job for this annotation

GitHub Actions / build

Insert `⏎···`

0 comments on commit d7e48f1

Please sign in to comment.