mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Add basic documentation
This commit is contained in:
parent
c84d10eb62
commit
a121373be0
2 changed files with 16 additions and 2 deletions
14
tests/playwright/README.md
Normal file
14
tests/playwright/README.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Playwright Testing
|
||||
|
||||
## Local Environment Variables
|
||||
Allows using environment variables inside the tests.
|
||||
|
||||
- Duplicate `.env.sample` and rename it as `.env`, set values and add new variables if needed.
|
||||
|
||||
## Run Tests
|
||||
```
|
||||
$ npx playwright test
|
||||
$ npx playwright test example.spec.js --headed
|
||||
$ npx playwright test example.spec.js --debug
|
||||
$ npx playwright test -g "Test name here"
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue