Integration tests confirm that data passes correctly between agents at each handoff point. All tests in this phase use sandbox credentials and build on the Jira ticket and Notion records created during Phase 1 testing. Each case below must pass before Phase 3 begins.
ID
Scenario
Input
Expected Output
Pass Criteria
T15
Handoff 1: Intake Agent to Evaluation Agent — ticket moves to Evaluation In Progress
Jira ticket created by Intake Agent (T01 output); status manually advanced to 'Evaluation In Progress' to simulate workflow trigger
Evaluation Agent picks up the correct ticket; Notion checklist and scorecard created with fields sourced from the Jira ticket created in T01
Notion page titles contain TOOLTEST-001; requestor name and tool name from T01 appear in scorecard fields; no orphaned pages
T16
Handoff 1: duplicate-flagged ticket does not trigger evaluation pipeline
Jira ticket with duplicate_flag = true (T02 output); status advanced to 'Evaluation In Progress'
Evaluation Agent skips checklist and scorecard creation; Jira ticket comment notes evaluation blocked by duplicate flag
No new Notion pages created; Jira comment present; no approval email sent
T17
Handoff 2: Evaluation Agent to Procurement Agent — approval recorded
Jira ticket from T07 with approval email sent; approver responds to sandbox email confirming approval; Jira status set to 'Approved'
Procurement Agent triggers DocuSign envelope within 2 minutes of status change; envelope ID written back to Jira ticket
DocuSign sandbox envelope status = sent; envelope ID on Jira ticket; elapsed time from status change to envelope send under 2 minutes
T18
Handoff 2: rejection path — no DocuSign triggered, Slack notification sent
Jira ticket status set to 'Rejected'
Procurement Agent sends Slack rejection notification to requestor; Jira ticket status remains Rejected; no DocuSign call made
Slack message body contains 'not approved' or equivalent; no DocuSign API call in run log; Jira status unchanged
T19
Handoff 3: DocuSign completion to Notion register update
DocuSign sandbox envelope for TOOLTEST-001 set to 'completed' via sandbox UI
Notion software register entry created automatically within 3 minutes; Slack rollout message sent immediately after
Notion entry present with all required fields; Slack message sent; elapsed time under 3 minutes
T20
Full sequential run: all three agents in order with no manual intervention
Clean form submission in sandbox with unique tool name 'TestTool-QA'
Jira ticket created, evaluation triggered, approval email sent (sandbox), approval recorded, DocuSign sent and completed (sandbox), Notion register updated, Slack notification sent
All seven automated steps produce expected outputs in sequence with no manual prompts; total elapsed time under 10 minutes in sandbox
T21
Reminder escalation: second reminder sent after 96 hours with no approval
Approval email sent at T=0; no response at T+48h (first reminder via T08); no response at T+96h
Second reminder sent at T+96h; Jira ticket comment updated; IT Manager receives Slack escalation alert
Second reminder email delivered at simulated T+96h mark; Jira comment timestamped accordingly; Slack escalation alert sent to IT Manager
T22
Data fidelity: field values consistent across Jira, Notion, DocuSign, and Slack
Form submission with known field values: tool='SandboxApp', users=8, budget=$120/month, requestor='Test User'
All downstream records (Jira ticket, Notion scorecard, Notion register, DocuSign envelope recipient field, Slack message) reflect exactly the submitted field values
Field-by-field comparison across all four systems confirms no truncation, casing errors, or field mismatches
Edge case tests cover inputs and conditions outside the happy path that the automation must handle gracefully without silent failure or data loss.
ID
Scenario
Input
Expected Output
Pass Criteria
E01
Near-duplicate: tool name variation (e.g. 'MS Teams' vs 'Microsoft Teams')
Form submission with tool name 'MS Teams'; Notion register contains entry 'Microsoft Teams'
Duplicate check returns a fuzzy match flag; Jira ticket comment lists the potential match and prompts IT Manager to confirm; evaluation does not proceed until confirmation
Jira ticket has fuzzy_match_flag = true; comment lists matched Notion entry name; no scorecard created until IT Manager confirms
E02
Submission with all optional fields blank
Form: tool name 'Miro', requestor 'Alex Chen', all optional fields (integration needs, notes, trial link) left blank
Jira ticket created; optional fields recorded as null; no error thrown; Slack acknowledgement sent normally
Jira ticket created with null values for optional fields; no validation error in run log; Slack message delivered
E03
Notion database at row limit or read-only during duplicate check
Notion sandbox API returns 403 Forbidden on register query
Error logged; duplicate check marked as 'check_failed'; IT Manager alerted; evaluation pipeline paused pending manual confirmation
check_failed flag on Jira ticket; IT Manager Slack alert sent; pipeline does not proceed to scorecard creation
E04
DocuSign template missing or misconfigured for agreement type
Jira ticket approved; DocuSign API call fails with 'Template not found' error
Error logged on Jira ticket; IT Manager and FullSpec support alerted via Slack; Notion register not updated; no silent completion
Jira ticket comment contains DocuSign error code; Slack alert sent to IT Manager; Notion register unchanged; envelope status = failed
E05
Approval email bounces or is undeliverable
Gmail sandbox send returns a permanent delivery failure (5xx SMTP error)
Delivery failure logged on Jira ticket; IT Manager notified via Slack to send the approval request via an alternative method; reminder schedule suspended
Jira ticket comment contains bounce detail; Slack alert sent; no further automated email attempts; reminder timer suspended
E06
Human timeout: no approval or rejection recorded within 10 business days
Approval email sent; two reminders sent (T+48h and T+96h); still no response at T+10 business days
Jira ticket escalated to 'Stalled' status; escalation Slack message sent to IT Manager and Operations Lead; process owner prompted to intervene
Jira ticket status = Stalled after 10 business days; Slack escalation delivered to both IT Manager and Operations Lead channels
E07
Slack workspace unavailable when notification should be sent
Rollout notification step reached; Slack API returns 503
Retry up to 3 times at 60-second intervals; after failure, notification content logged to Jira ticket as a comment so IT Manager can send manually
3 retry attempts in run log; Jira ticket comment contains the full notification text; no silent discard