playwright/tests
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
..
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 feat(ct): experimental route fixture (#31554) 2024-07-06 09:35:20 -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(trace viewer): allow hiding route actions (#31726) 2024-07-22 11:34:34 -07:00
page test: move page-clock tests into library/ tests folder (#31752) 2024-07-18 14:45:45 +02:00
playwright-test chore(ct): remove suite dependency by connecting dependency graphs at read time, not write time (#31794) 2024-07-23 10:19:58 +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