Skip to content

Commit

Permalink
setup playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
thal0x committed Sep 22, 2023
1 parent 1b302a6 commit 93ff7ca
Show file tree
Hide file tree
Showing 11 changed files with 2,174 additions and 32 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,24 @@ jobs:

- name: Test
run: npm test

"e2e-tests":
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npm run test:e2e
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

tests/downloads/

# dependencies
/node_modules
/.pnp
Expand Down
Loading

0 comments on commit 93ff7ca

Please sign in to comment.