Skip to content

Commit

Permalink
Update tests/e2e/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Dharmesh Patel <[email protected]>
  • Loading branch information
ravinderk and iamdharmesh authored Dec 21, 2023
1 parent d8ffefe commit af5cc5e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ PAYFAST_MERCHANT_KEY=********
PAYFAST_PASSPHRASE=********
```

**Note**: Use `npm run test:e2e-local` to run tests locally.
### Run E2E tests in local
1. Run `npm install`.
2. Run `npx playwright install`.
3. Run `npm run env:start-local` (Note: Please start Docker before executing this command).
4. Add environment variables to the `/tests/e2e/config/.env` file (as mentioned above).
5. Run `npm run test:e2e-local`.

### Dependencies for Github testing
- Add bot token to Github,
Expand Down

0 comments on commit af5cc5e

Please sign in to comment.