W8: SLA Rules and Priority Calculation
Browsers: 2 (Manager, Worker)
Stories: SPRINT1-043, SPRINT1-036, SPRINT0-016, SPRINT0-010
Time: ~20 min
Test Items
- SLA Rule:
_________________ - Work Order ID:
_________________
Test Cases
8.1: Manager Creates SLA Rule
Browser: Manager
Steps:
- Navigate to Settings → SLA Rules
- Create SLA rule:
- Category: Plumbing
- Priority: High
- SLA Hours: 4
- Save
- Record SLA Rule:
_________________
Verify: SLA rule created, saved
8.2: Manager Creates Work Order (Triggers Priority Calc)
Browser: Manager
Steps:
- Create work order:
- Category: Plumbing (matches SLA rule)
- Location: (triggers priority calculation)
- Priority: (should auto-calculate or allow selection)
- Submit
- Record Work Order ID:
_________________
Verify: Priority calculated/displayed, SLA due date set from rule
8.3: Verify SLA Due Date Applied
Browser: Manager
Steps:
- Navigate to WO from 8.2
- Verify SLA due date displayed
- Verify due date = created_at + 4 hours (from rule)
Verify: SLA due date correct, visible in WO detail
8.4: Worker Completes Before SLA Due Date
Browser: Worker
Steps:
- Start work order
- Complete work order (before SLA due date)
- Browser: Manager - Verify SLA compliance
Verify: WO completed on time, SLA compliance shown
Findings
- Status: [ ] ✅ Complete [ ] ⚠️ Partial [ ] ❌ Blocked
- Notes:
_________________