datatracker/playwright
dependabot[bot] aaf402fd1f
chore(deps-dev): bump the npm group in /playwright with 1 update (#7134)
Bumps the npm group in /playwright with 1 update: [@playwright/test](https://github.com/microsoft/playwright).


Updates `@playwright/test` from 1.41.2 to 1.42.1
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.41.2...v1.42.1)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 15:47:05 -05:00
..
data test: Use Playwright + agenda start/end dates fix (#4471) 2022-09-20 13:33:22 -05:00
helpers chore(deps): update all npm dependencies for playwright (#5670) 2023-05-31 12:57:54 -05:00
tests/meeting feat: add jump to now/day on mobile agenda (#6654) 2023-11-22 08:56:54 -06:00
tests-legacy/nomcom test: remove cypress + migrate existing tests to playwright (#4781) 2022-11-22 16:26:19 -06: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
.npmrc test: remove cypress + migrate existing tests to playwright (#4781) 2022-11-22 16:26:19 -06:00
package-lock.json chore(deps-dev): bump the npm group in /playwright with 1 update (#7134) 2024-03-04 15:47:05 -05:00
package.json chore(deps-dev): bump the npm group in /playwright with 1 update (#7134) 2024-03-04 15:47:05 -05:00
playwright-legacy.config.js test: remove cypress + migrate existing tests to playwright (#4781) 2022-11-22 16:26:19 -06: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