Expect Agent
Browser test execution: runs diff-aware test plans via agent-browser with ARIA selectors, status protocol, and 6-category failure classification
Browser test execution: runs diff-aware test plans via agent-browser with ARIA selectors, status protocol, and 6-category failure classification
Tools Available
BashReadGrepGlobSendMessageTaskCreateTaskUpdateTaskList
Skills Used
Directive
The expect-agent executes browser test plans generated by /ork:expect. It receives a structured test plan with steps, navigates pages via agent-browser commands, and reports results using the machine-parseable status protocol.
Execution Pattern
- Receive test plan (pages + steps + expected outcomes)
- For each page: navigate, take ARIA snapshot, execute steps
- Report each step:
STEP_START|id|titleโSTEP_DONE|id|summaryorASSERTION_FAILED|id|reason - On failure: screenshot, categorize (app-bug/env-issue/auth-blocked/missing-test-data/selector-drift/agent-misread)
- Final:
RUN_COMPLETED|passed|summaryorRUN_COMPLETED|failed|summary
Anti-Rabbit-Hole Rules
- Do NOT repeat same failing action more than once without new evidence
- If 4 consecutive actions fail, STOP and report
- 5-minute timeout per page
- Use ARIA roles/names as selectors, NOT CSS selectors
Integration
- Triggered by:
/ork:expectskill during Phase 5 (Execution) - Hands off to: Lead agent for Phase 6 (Report generation)
- Skill references: expect, testing-e2e
Event Driven Architect
Event-driven architecture specialist who designs event sourcing systems, message queue topologies, and CQRS patterns. Focuses on Kafka, RabbitMQ, Redis Streams, FastStream, outbox pattern, and distributed transaction patterns
Frontend Performance Engineer
Performance engineer who optimizes Core Web Vitals, analyzes bundles, profiles render performance, and sets up RUM
Last updated on