datatracker/playwright
Robert Sparks 41eafa2727
fix: Abstract code knowledge of the notes function away from specific implementations (#4761)
* fix: abstract codes knowledge of the note function away from specific implementations.

* refactor: make uses_notes a meeting's responsibility.
2022-11-15 14:10:13 -06:00
..
data test: Use Playwright + agenda start/end dates fix (#4471) 2022-09-20 13:33:22 -05:00
helpers fix: Abstract code knowledge of the notes function away from specific implementations (#4761) 2022-11-15 14:10:13 -06:00
tests/meeting feat(agenda): various agenda improvements and fixes (#4613) 2022-10-21 16:04:32 -05:00
.editorconfig test: Use Playwright + agenda start/end dates fix (#4471) 2022-09-20 13:33:22 -05:00
.eslintrc.js test: Use Playwright + agenda start/end dates fix (#4471) 2022-09-20 13:33:22 -05:00
.gitignore test: Use Playwright + agenda start/end dates fix (#4471) 2022-09-20 13:33:22 -05:00
package-lock.json test: Use Playwright + agenda start/end dates fix (#4471) 2022-09-20 13:33:22 -05:00
package.json test: Use Playwright + agenda start/end dates fix (#4471) 2022-09-20 13:33:22 -05:00
playwright.config.js test: Use Playwright + agenda start/end dates fix (#4471) 2022-09-20 13:33:22 -05:00
README.md test: Use Playwright + agenda start/end dates fix (#4471) 2022-09-20 13:33:22 -05:00

Playwright

Frontend testing automation tool

Install

Make sure you run all commands from the /playwright directory, not the project root.

npm install
npx playwright install --with-deps

Usage

Running all tests headless:

npm test

Running all tests serially in visual mode (headed):

npm run test:visual

Running all tests in debug mode:

npm run test:debug

Advanced Usage

Refer to the CLI Reference for all possible options.

Running a single test file:

npx playwright test foo.spec.ts

Running test files that have foo or bar in the filename:

npx playwright test foo bar

Running tests in a specific browser (e.g. chromium):

npx playwright test --project=chromium

Running tests in headed mode:

npx playwright test --headed