woocommerce-paypal-payments/tests/playwright
2023-02-27 16:38:49 +01:00
..
.gitignore Move playwright ignores to its own directory 2023-02-24 15:55:04 +01:00
place-order.spec.js Add ci tag for running non headed tests, add command to package.json 2023-02-27 16:38:49 +01:00
README.md Add ci tag for running non headed tests, add command to package.json 2023-02-27 16:38:49 +01:00

Playwright Testing

Local Environment Variables

Allows using environment variables inside the tests.

  • Duplicate .env.e2e.example and rename it as .env.e2e, set values and add new variables if needed.

Run Tests

$ npx playwright test
$ npx playwright test --grep @ci
$ npx playwright test example.spec.js --headed
$ npx playwright test example.spec.js --debug
$ npx playwright test -g "Test name here"