chore: add more e2e template settings tests (#12717)

This commit is contained in:
Kayla Washburn-Love
2024-03-28 16:00:27 -06:00
committed by GitHub
parent 8cf1e84bb5
commit f3cfe10c26
9 changed files with 87 additions and 41 deletions
+9 -1
View File
@@ -472,11 +472,19 @@ jobs:
- run: pnpm playwright:install
working-directory: site
- run: pnpm playwright:test --workers 1
# Run tests that don't require an enterprise license without an enterprise license
- run: pnpm playwright:test --forbid-only --workers 1
env:
DEBUG: pw:api
working-directory: site
# Run all of the tests with an enterprise license
- run: pnpm playwright:test --forbid-only --workers 1
env:
DEBUG: pw:api
CODER_E2E_ENTERPRISE_LICENSE: ${{ secrets.CODER_E2E_ENTERPRISE_LICENSE }}
working-directory: site
- name: Upload Playwright Failed Tests
if: always() && github.actor != 'dependabot[bot]' && runner.os == 'Linux' && !github.event.pull_request.head.repo.fork
uses: actions/upload-artifact@v4