mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
fix(e2e): let web-e2e:e2e run outside CI (#1779)
This commit is contained in:
1 parent
6e229f85b6
commit
8b6fcf3560
9 files changed
+317
-4
No files matched your search
@@ -197,6 +197,13 @@ and JSON summary output. CI uploads the merged Tier A report to Codecov with the
|
||||
Use atomized E2E targets when available, for example
|
||||
`pnpm nx run web-e2e:e2e-ci--src/xtream.e2e.ts`.
|
||||
|
||||
After changing a Playwright config's `webServer` list, `nx.json` target
|
||||
defaults or an E2E project's `dependsOn`, run
|
||||
`pnpm run e2e:task-graphs:validate`. It builds every Playwright target's task
|
||||
graph with and without `CI` and fails on the graphs Nx refuses to run; CI runs
|
||||
it in the `unit-and-typecheck` job. See
|
||||
[Xtream mock Playwright integration](xtream-mock-server.md#playwright-integration).
|
||||
|
||||
Inside `expect.poll`, read a changing list in one DOM snapshot
|
||||
(`allTextContents()` or `evaluateAll()`, as in
|
||||
`apps/electron-backend-e2e/src/sidebar-categories.e2e-support.ts`), not by
|
||||
|
||||
Reference in new issue
Block a user