Skip to content

Commit

Permalink
set tests directory default again
Browse files Browse the repository at this point in the history
  • Loading branch information
stevector committed Dec 19, 2023
1 parent e5ee858 commit 778fe47
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./tests
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -41,11 +44,11 @@ jobs:
- name: Check githead
run: curl https://pr-${GITHUB_PR_NUMBER}-documentation.appa.pantheon.site/githead.txt
- name: Install dependencies
run: cd tests && npm ci
run: npm ci
- name: Install Playwright Browsers
run: cd tests && npx playwright install --with-deps
run: npx playwright install --with-deps
- name: Run Playwright tests
run: cd tests && npx playwright test
run: npx playwright test
- uses: actions/upload-artifact@v3
# @todo, figure out how to record video of tests executing.
if: always()
Expand Down

0 comments on commit 778fe47

Please sign in to comment.