Skip to main content

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:

  1. Navigate to Settings → SLA Rules
  2. Create SLA rule:
    • Category: Plumbing
    • Priority: High
    • SLA Hours: 4
  3. Save
  4. Record SLA Rule: _________________

Verify: SLA rule created, saved


8.2: Manager Creates Work Order (Triggers Priority Calc)

Browser: Manager
Steps:

  1. Create work order:
    • Category: Plumbing (matches SLA rule)
    • Location: (triggers priority calculation)
    • Priority: (should auto-calculate or allow selection)
  2. Submit
  3. Record Work Order ID: _________________

Verify: Priority calculated/displayed, SLA due date set from rule


8.3: Verify SLA Due Date Applied

Browser: Manager
Steps:

  1. Navigate to WO from 8.2
  2. Verify SLA due date displayed
  3. 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:

  1. Start work order
  2. Complete work order (before SLA due date)
  3. Browser: Manager - Verify SLA compliance

Verify: WO completed on time, SLA compliance shown


Findings

  • Status: [ ] ✅ Complete [ ] ⚠️ Partial [ ] ❌ Blocked
  • Notes: _________________