playwright/packages/playwright-ct-core/src
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
..
injected fix(ct): fix component.d.ts core types (#29463) 2024-02-12 22:37:31 +01:00
cliOverrides.ts chore(ct): remove suite dependency by connecting dependency graphs at read time, not write time (#31794) 2024-07-23 10:19:58 +02:00
DEPS.list chore(ct): use sticky test server if available (#29136) 2024-01-25 08:36:13 -08:00
devServer.ts fix(ui): added test in watched file should be run (#31842) 2024-07-30 14:17:41 +02:00
mount.ts chore: rename route fixture in ct (#31817) 2024-07-23 07:43:28 -07:00
program.ts chore: move dev server to config-based framework extensibility (#30234) 2024-04-05 08:39:51 -07:00
router.ts chore: rename route fixture in ct (#31817) 2024-07-23 07:43:28 -07:00
tsxTransform.ts fix(ct): ct ID clash on similar imports (#30108) 2024-03-25 23:50:45 +01:00
vitePlugin.ts feat(test runner): --only-changed option (#31727) 2024-07-23 18:04:17 +02:00
viteUtils.ts fix(ct): allow importing components from node_modules (#30493) 2024-04-24 12:32:28 -07:00