playwright/tests
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
..
android chore: update flakiness metadata for better ui presentation (#31528) 2024-07-03 08:39:53 -07:00
assets chore: show error when opening newer trace with old viewer (#31781) 2024-07-22 08:16:25 -07:00
components chore: rename route fixture in ct (#31817) 2024-07-23 07:43:28 -07:00
config Revert "chore: move artifacts recording to TestLifecycleInstrumentation (#30935)" (#31686) 2024-07-15 07:01:51 -07:00
electron chore: update flakiness metadata for better ui presentation (#31528) 2024-07-03 08:39:53 -07:00
image_tools chore: bump @babel dependencies (#27632) 2023-10-17 20:52:41 +02:00
installation fix(electron): tracing with @playwright/test (#31437) 2024-07-01 19:19:38 +02:00
library feat(firefox): roll Firefox & Firefox-Beta to 1458 (#31807) 2024-07-23 10:37:00 +02:00
page test: move page-clock tests into library/ tests folder (#31752) 2024-07-18 14:45:45 +02:00
playwright-test feat(test runner): --only-changed option (#31727) 2024-07-23 18:04:17 +02:00
stress chore: drop firefox-asan (#30626) 2024-05-01 22:13:00 +00:00
third_party/proxy chore: fix typos (#30645) 2024-05-08 19:40:03 +01:00
webview2 chore: update flakiness metadata for better ui presentation (#31528) 2024-07-03 08:39:53 -07:00
.eslintrc.js chore: strengthen linting (#29669) 2024-02-26 16:52:28 -08:00
tsconfig.json chore: use own socks5 server for tests (#31639) 2024-07-11 14:12:48 +02:00