Skip to content

Commit

Permalink
Merge branch 'V3' into feat/email-login-theme-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
xzilja committed Jan 2, 2024
2 parents d6875d7 + 7a98bb3 commit 2c06b53
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ui_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
ui_tests:
name: 'Playwright Tests'
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 15
steps:
- name: checkout
uses: actions/checkout@v3
Expand Down
14 changes: 13 additions & 1 deletion apps/laboratory/tests/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# Debugging
# Functional Tests

We use Playwright as our functional test runner. It's configured to try multiple permutations:

- Browsers: Chromium/Firefox
- Modal flavors: default/SIWE/email

## Running Tests

- `npx playwright test` to run in default mode (make sure your `.env` is set up)
- `npm run playwright:debug` to step by step see what the tests are doing

## Debugging

For scenarios when tests pass locally but not remotely you can `await this.page.screenshot({ path: './screenshots/wallet.png' })` and the screenshot will be uploaded to GitHub Actions.

0 comments on commit 2c06b53

Please sign in to comment.