mirror of
https://github.com/microsoft/playwright.git
synced 2024-11-28 09:23:42 +03:00
f23d02a211
Introduces an `--only-changed [base ref]` option. `playwright test --only-changed` filters the test run to only run test suites that have uncommitted changes. `playwright test --only-changed=foo` runs only tests that were changed since commit `foo`. In pull request CI, this can be used to run changed tests first and fail fast: `--only-changed=$GITHUB_BASE_REF`. During local development, it can be used to quickly filter down to the touched set of tests suites. In some rare usecases, this can also help to cut down on CI usage for pull requests. Tread with caution though. File dependencies are taken into account to ensure that if you touched a utility file, all relevant tests are still executed. Closes https://github.com/microsoft/playwright/issues/15075 |
||
---|---|---|
.. | ||
src | ||
types | ||
.eslintrc.js | ||
.npmignore | ||
index.d.ts | ||
index.js | ||
package.json | ||
README.md |
BEWARE This package is EXPERIMENTAL and does not respect semver.
Read more at https://playwright.dev/docs/test-components