W1: Service Request to Work Order Completion
Browsers: 2 (Worker, Manager)
Stories: SPRINT0-004,005,006,008,009,010,011,012
Time: ~30 min
Test Items
- Service Request ID:
_________________ - Work Order ID:
_________________
Test Cases
1.1: Worker Creates Service Request
Browser: Worker
Steps:
- Navigate to Service Requests
- Create service request:
- Property, Location, Category, Priority
- Summary: "Leaky faucet in room 201"
- Description: "Faucet dripping continuously"
- Upload photo
- Submit
- Record Service Request ID:
_________________
Verify: SR created, appears in list, status = pending
1.2: Manager Views Service Request
Browser: Manager
Steps:
- Navigate to Service Requests
- Find SR from 1.1 (filter by status or search)
- Open detail page
Verify: All details from 1.1 visible, photo attachment visible
1.3: Manager Converts to Work Order
Browser: Manager
Steps:
- On SR detail page, click "Create Work Orders"
- Create work order:
- Category: Plumbing (pre-filled)
- Summary: "Fix leaky faucet"
- Assign to: Worker from 1.1
- Submit
- Record Work Order ID:
_________________
Verify: WO created, SR status = processing or in_progress, worker notified
1.4: Worker Views Assigned Work Order
Browser: Worker
Steps:
- Check notifications (bell icon)
- Navigate to Work Orders → "My Assigned"
- Find WO from 1.3
- Open detail page
Verify: WO visible, linked to SR, details match 1.3
1.5: Worker Starts Work, Adds Photo, Posts Comment
Browser: Worker
Steps:
- Click "Start Work" (status →
in_progress) - Upload photo attachment
- Post comment: "Arrived at room 201. Faucet leaking from base."
- Verify active time tracking starts
Verify: Status = in_progress, photo uploaded, comment posted, time tracking active
1.6: Manager Reviews, Adds Comment
Browser: Manager
Steps:
- Navigate to WO from 1.3
- Verify updates from 1.5 (photo, comment, status)
- Post comment: "Check inventory for correct washer size"
- Review audit trail
Verify: All updates visible, manager comment posted, audit trail complete
1.7: Worker Completes Work Order
Browser: Worker
Steps:
- Refresh to see manager comment from 1.6
- Upload final photo (completed work)
- Post comment: "Faucet fixed. Replaced washer. No leaks."
- Click "Complete Work" (status →
done)
Verify: Status = done, final photo uploaded, completion comment posted, time tracking stopped
1.8: Manager Closes Work Order
Browser: Manager
Steps:
- Navigate to WO from 1.3
- Verify completion from 1.7
- Navigate to SR from 1.1
- Verify SR status updated (e.g.,
fulfilledorclosed)
Verify: WO complete, SR status reflects completion, all attachments/comments preserved
Findings
- Status: [ ] ✅ Complete [ ] ⚠️ Partial [ ] ❌ Blocked
- Notes:
_________________