diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 069b90ff6d..e355222ae8 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -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 @@ -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()