Bumps the npm group in /playwright with 1 update: [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n). Updates `eslint-plugin-n` from 16.6.1 to 16.6.2 - [Release notes](https://github.com/eslint-community/eslint-plugin-n/releases) - [Commits](https://github.com/eslint-community/eslint-plugin-n/compare/16.6.1...16.6.2) --- updated-dependencies: - dependency-name: eslint-plugin-n dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
data | ||
helpers | ||
tests/meeting | ||
tests-legacy/nomcom | ||
.editorconfig | ||
.eslintrc.js | ||
.gitignore | ||
.npmrc | ||
package-lock.json | ||
package.json | ||
playwright-legacy.config.js | ||
playwright.config.js | ||
README.md |
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