Skip to main content

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:

  1. Navigate to Service Requests
  2. Create service request:
    • Property, Location, Category, Priority
    • Summary: "Leaky faucet in room 201"
    • Description: "Faucet dripping continuously"
    • Upload photo
  3. Submit
  4. Record Service Request ID: _________________

Verify: SR created, appears in list, status = pending


1.2: Manager Views Service Request

Browser: Manager
Steps:

  1. Navigate to Service Requests
  2. Find SR from 1.1 (filter by status or search)
  3. Open detail page

Verify: All details from 1.1 visible, photo attachment visible


1.3: Manager Converts to Work Order

Browser: Manager
Steps:

  1. On SR detail page, click "Create Work Orders"
  2. Create work order:
    • Category: Plumbing (pre-filled)
    • Summary: "Fix leaky faucet"
    • Assign to: Worker from 1.1
  3. Submit
  4. 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:

  1. Check notifications (bell icon)
  2. Navigate to Work Orders → "My Assigned"
  3. Find WO from 1.3
  4. 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:

  1. Click "Start Work" (status → in_progress)
  2. Upload photo attachment
  3. Post comment: "Arrived at room 201. Faucet leaking from base."
  4. 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:

  1. Navigate to WO from 1.3
  2. Verify updates from 1.5 (photo, comment, status)
  3. Post comment: "Check inventory for correct washer size"
  4. Review audit trail

Verify: All updates visible, manager comment posted, audit trail complete


1.7: Worker Completes Work Order

Browser: Worker
Steps:

  1. Refresh to see manager comment from 1.6
  2. Upload final photo (completed work)
  3. Post comment: "Faucet fixed. Replaced washer. No leaks."
  4. 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:

  1. Navigate to WO from 1.3
  2. Verify completion from 1.7
  3. Navigate to SR from 1.1
  4. Verify SR status updated (e.g., fulfilled or closed)

Verify: WO complete, SR status reflects completion, all attachments/comments preserved


Findings

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