Skip to content

Commit

Permalink
test update
Browse files Browse the repository at this point in the history
  • Loading branch information
KDSBrowne committed Aug 19, 2024
1 parent bc6c55e commit bbbb67f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,17 @@ jobs:
- name: Verify Playwright Browsers Installation
run: npx playwright install

- name: Start Development Server
run: yarn dev &
working-directory: apps/examples

- name: Wait for Server to be Ready
run: |
for i in `seq 1 30`; do
curl --silent --fail http://localhost:5420/end-to-end && break
sleep 5
done
- name: Run Playwright tests
run: yarn e2e --headless
run: xvfb-run yarn e2e
working-directory: apps/examples
1 change: 1 addition & 0 deletions apps/examples/e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ const config: PlaywrightTestConfig = {
port: 5420,
reuseExistingServer: !process.env.CI,
cwd: path.join(__dirname, '../../..'),
timeout: 120 * 1000,
},
}

Expand Down

0 comments on commit bbbb67f

Please sign in to comment.