playwright/packages/playwright
Simon Knott 8412d973c0
fix(ui): added test in watched file should be run (#31842)
Closes https://github.com/microsoft/playwright/issues/22211

Currently, when the server notifies the UI about changed files, the UI
determines what files to re-run based on an old test list. By listing
tests before that, we make sure that the test list is up-to-date, and
that added tests are included in the next run.

I've also removed the `listChanged` event as discussed in the team sync.
The event isn't used anywhere and fires in exactly the same cases where
`testFilesChanged` fired, so i've folded them into one another. This allowed simplifying `Watcher`.
2024-07-30 14:17:41 +02:00
..
bundles chore: fix build warnings (#31616) 2024-07-11 14:12:59 +02:00
src fix(ui): added test in watched file should be run (#31842) 2024-07-30 14:17:41 +02:00
types chore: remove glob from client-certificate matching (#31846) 2024-07-24 19:13:03 +02:00
.eslintrc.js chore: strengthen linting (#29669) 2024-02-26 16:52:28 -08:00
.npmignore chore: make @playwright/test depend on playwright (#26946) 2023-09-08 14:23:35 -07:00
cli.js chore: split cli processing into cli endpoint and program (#29131) 2024-01-23 15:22:09 -08:00
index.d.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
index.js chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
index.mjs chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
jsx-runtime.js fix: pass key attribute from jsx to component test (#30426) 2024-04-26 09:49:44 -07:00
jsx-runtime.mjs chore: make @playwright/test depend on playwright (#26946) 2023-09-08 14:23:35 -07:00
package.json chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
test.d.ts chore: make @playwright/test depend on playwright (#26946) 2023-09-08 14:23:35 -07:00
test.js chore: remove manual __esModule override (#28935) 2024-01-10 16:28:08 -08:00
test.mjs fix: merge{Tests,Expects} via ESM imports (#27630) 2023-10-17 00:09:44 +02:00
ThirdPartyNotices.txt chore: bump @types/node and chokidar (#31527) 2024-07-03 09:40:37 +02:00