e2e: Update e2e specs for the docks and the run bar
Stack 41/41. Base branch: main. Review and merge in order; this PR builds on the previous one.
Size: 16 files changed, 425 insertions(+), 290 deletions(-).
Checked: on branch agentstack/41-e2e at commit ca8b0d590. go build ./...: pass (16s); pnpm typecheck: pass (59s); pnpm exec eslint on the changed files: pass (16 files); pnpm exec prettier --check on the changed files: pass (16 files); pnpm build: pass (48s); llmsgen again, then git diff llms.txt: pass (git diff empty (the input skills/dagu is the same in PR 30 to 41)); playwright e2e: not run (needs a browser and a built server; GitHub runs it only with the label full-ci).
Summary
Subject: e2e specs for the docks and the run bar. Adapts the e2e specs to the docks and to the run bar. This PR holds 16 files of e2e specs.
Why
The e2e specs follow the run bar and dock changes. No file of this PR imports a file of an earlier PR. The PR still sits on the previous branch of the stack.
Changes
Counts: 15 existing files modified, 1 new files (0 tests or test data).
ui/e2e/workspace: 9 files (layout.spec.ts,ndv.spec.ts,remote.spec.ts,roles.spec.ts, ...)ui/e2e/dag-crud.spec.ts: 1 file (dag-crud.spec.ts)ui/e2e/dag-run-actions.spec.ts: 1 file (dag-run-actions.spec.ts)ui/e2e/dag-run-history.spec.ts: 1 file (dag-run-history.spec.ts)ui/e2e/helpers: 1 file (e2e.ts)ui/e2e/workflow-list-activity.spec.ts: 1 file (workflow-list-activity.spec.ts)ui/e2e/workflow-list-open.spec.ts: 1 file (workflow-list-open.spec.ts)ui/playwright.config.ts: 1 file (playwright.config.ts)
How to review
- Read the spec documents first, when the PR has some.
- Read the non-test code, from the types to the callers.
- Read the tests last.
Summary by cubic
Adapts the e2e specs to the docks and the run bar, and adds shared conformance infrastructure with black-box coverage for agent tools, agent steps, and service run history, all testable without external model services.
- Tests tool configuration, skills, MCP and DAG tools, CLI flags, the MCP bridge, retries, effort levels, and tool limits.
- Updates chat tool calling to use
with.dags; legacy provider keys remain valid but emit a deprecation warning. - Covers rejection of uncarried steps as
outputsFromRunssources, regenerates the API spec and client, registersegressProxy, and excludes demo run artifacts from Docker builds.