Skip to content

Commit 67d67b5

Browse files
authored
test(ui): cover operator administration flows (#118836)
1 parent 2de8824 commit 67d67b5

3 files changed

Lines changed: 445 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
title: Control UI agent-scoped exec approvals administration
2+
3+
scenario:
4+
id: control-ui-exec-approvals-agents
5+
surface: control-ui
6+
category: control-ui.operator-console
7+
coverage:
8+
primary:
9+
- control-ui.exec-approvals-agents
10+
objective: >-
11+
Prove an operator can select an agent's exec approval policy, edit it,
12+
save with optimistic concurrency, and observe the applied Gateway state.
13+
successCriteria:
14+
- Chromium lists the configured agents and selects the reviewer approval scope.
15+
- The operator edits security, prompt, fallback, skill CLI, and allowlist policy fields.
16+
- Saving sends the complete reviewer policy with the loaded snapshot hash.
17+
- The reloaded Gateway snapshot renders the applied values and a clean saved state.
18+
docsRefs:
19+
- docs/web/control-ui.md
20+
- docs/help/testing.md
21+
codeRefs:
22+
- ui/src/e2e/operator-admin.e2e.test.ts
23+
- ui/src/pages/nodes/view-exec-approvals.ts
24+
- ui/src/lib/nodes/index.ts
25+
execution:
26+
kind: playwright
27+
path: ui/src/e2e/operator-admin.e2e.test.ts
28+
testNamePattern: edits, saves, and reapplies reviewer-scoped exec approvals
29+
summary: >-
30+
Real Chromium coverage for agent-scoped exec approval listing, editing,
31+
hash-bound save, reload, and applied visible state.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
title: Control UI Skills and Nodes operator administration
2+
3+
scenario:
4+
id: control-ui-skills-nodes
5+
surface: control-ui
6+
category: control-ui.operator-console
7+
coverage:
8+
primary:
9+
- control-ui.skills-nodes
10+
objective: >-
11+
Prove an operator can administer agent-scoped Skills and inspect the
12+
connected Nodes inventory through the Control UI.
13+
successCriteria:
14+
- Chromium switches Skills administration from the default agent to a named agent.
15+
- A skill install action sends the named agent and installer identity through the Gateway.
16+
- The post-install Gateway response renders a visible successful outcome.
17+
- Chromium renders a connected node with its capabilities and commands.
18+
docsRefs:
19+
- docs/web/control-ui.md
20+
- docs/help/testing.md
21+
codeRefs:
22+
- ui/src/e2e/operator-admin.e2e.test.ts
23+
- ui/src/pages/skills/skills-page.ts
24+
- ui/src/pages/nodes/nodes-page.ts
25+
execution:
26+
kind: playwright
27+
path: ui/src/e2e/operator-admin.e2e.test.ts
28+
testNamePattern: administers agent-scoped Skills and inspects the connected Nodes inventory
29+
summary: >-
30+
Real Chromium coverage for agent-scoped Skills requests, visible install
31+
results, and connected Nodes inventory inspection.

0 commit comments

Comments
 (0)