playwright/packages
Simon Knott 1408a45595
chore(ct): remove suite dependency by connecting dependency graphs at read time, not write time (#31794)
Broken out of https://github.com/microsoft/playwright/pull/31727 as per
@dgozman's
[request](https://github.com/microsoft/playwright/pull/31727#discussion_r1685793229).

The PR goal is to remove the `suite` argument from the Component
testing's Vite Plugin. `suite` is used to enrich Vite's dependency graph
with information about dependencies between test suites and helper
files. It essentially merges the Vite graph with the
`compilationCache.ts > fileDependencies` graph, and then writes the
result back into `compilationCache.ts > externalDependencies`.

By refactoring this to make the connection on the reading end in
`collectAffectedTestFiles`, we can drop the `suite` parameter.

We didn't yet have a test that depended on the dependency graph being
connected correctly between `fileDependencies` and
`externalDepedencies`, so I've [extended an existing
test](53a539938b)
to capture that.
2024-07-23 10:19:58 +02:00
..
html-reporter feat(reporter): links in attachment names, attachments name only (#31714) 2024-07-17 09:30:49 -07:00
playwright chore(ct): remove suite dependency by connecting dependency graphs at read time, not write time (#31794) 2024-07-23 10:19:58 +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 Revert "fix: add 'window-management' to chromium browser (#31687)" (#31801) 2024-07-22 11:27:12 -07:00
playwright-ct-core chore(ct): remove suite dependency by connecting dependency graphs at read time, not write time (#31794) 2024-07-23 10:19:58 +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 feat(trace viewer): allow hiding route actions (#31726) 2024-07-22 11:34:34 -07: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