playwright/packages
Simon Knott f23d02a211
feat(test runner): --only-changed option (#31727)
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
2024-07-23 18:04:17 +02:00
..
html-reporter feat(reporter): links in attachment names, attachments name only (#31714) 2024-07-17 09:30:49 -07:00
playwright feat(test runner): --only-changed option (#31727) 2024-07-23 18:04:17 +02:00
playwright-browser-chromium chore: mark v1.46.0-next (#31324) 2024-06-14 18:22:42 -07:00
playwright-browser-firefox chore: mark v1.46.0-next (#31324) 2024-06-14 18:22:42 -07:00
playwright-browser-webkit chore: mark v1.46.0-next (#31324) 2024-06-14 18:22:42 -07:00
playwright-chromium chore: mark v1.46.0-next (#31324) 2024-06-14 18:22:42 -07:00
playwright-core fix(core): update maxRetries docs (#31810) 2024-07-23 08:27:27 -07:00
playwright-ct-core feat(test runner): --only-changed option (#31727) 2024-07-23 18:04:17 +02:00
playwright-ct-react fix(ct): import ct* flavour types from ct-core and then from pwt (#31642) 2024-07-16 19:32:51 +02:00
playwright-ct-react17 fix(ct): import ct* flavour types from ct-core and then from pwt (#31642) 2024-07-16 19:32:51 +02:00
playwright-ct-solid fix(ct): import ct* flavour types from ct-core and then from pwt (#31642) 2024-07-16 19:32:51 +02:00
playwright-ct-svelte fix(ct): import ct* flavour types from ct-core and then from pwt (#31642) 2024-07-16 19:32:51 +02:00
playwright-ct-vue fix(ct): import ct* flavour types from ct-core and then from pwt (#31642) 2024-07-16 19:32:51 +02:00
playwright-ct-vue2 fix(ct): import ct* flavour types from ct-core and then from pwt (#31642) 2024-07-16 19:32:51 +02:00
playwright-firefox chore: mark v1.46.0-next (#31324) 2024-06-14 18:22:42 -07:00
playwright-test chore: mark v1.46.0-next (#31324) 2024-06-14 18:22:42 -07:00
playwright-webkit chore: mark v1.46.0-next (#31324) 2024-06-14 18:22:42 -07:00
protocol/src chore: deprecate/remove noWaitAfter from some actions (#31739) 2024-07-18 00:19:08 -07:00
recorder chore: address deprecated Vite warnings (#31618) 2024-07-10 22:32:08 +02:00
trace/src fix: match client step and server action by explicit stepId (#30641) 2024-05-14 12:10:46 -07:00
trace-viewer fix(ui): when --grep is used, UI should only show selected tests (#31815) 2024-07-23 15:29:08 +02:00
web feat(trace viewer): allow hiding route actions (#31726) 2024-07-22 11:34:34 -07:00
.eslintrc.js chore: replace process.exit with graceful closure (#24242) 2023-07-24 08:29:29 -07:00