Skip to content

Commit

Permalink
actually run frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 committed Aug 1, 2024
1 parent 8fcfabb commit c2e17b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ jobs:
run: git submodule init && git submodule update && chmod -R 777 regtest && cd regtest && ./start.sh
- name: Install dependencies
run: npm ci
- name: Start web app
run: npm run start &
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
run: |
npm run start &
sleep 10
npx playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
Expand Down
1 change: 1 addition & 0 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default defineConfig({
use: {
/* Base URL to use in actions like `await page.goto('/')`. */
// baseURL: 'http://127.0.0.1:3000',
ignoreHTTPSErrors: true,

/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry',
Expand Down

0 comments on commit c2e17b7

Please sign in to comment.