Stage 11 of 17
16 test cases mapped to requirements. Each test case has preconditions, step-by-step instructions, and a clear expected result. Execute every test case and record the outcome before proceeding to the Troubleshoot stage.
Why Are We Doing This?
2
Happy Path
2
Validation
1
Walk-in
2
Cancellation
1
No Show
2
Notification
2
Permissions
1
Privacy
1
Search
1
Automation Failure
1
Filtering
Pre-register a visitor and check in on arrival
Preconditions
Logged in as Employee A (host). Reception user available for check-in.
Steps
Expected Result
Visit record created with status Expected. After check-in, status changes to Arrived. Host receives arrival notification email within 2 minutes. Status changes to Host Notified after notification is sent.
Check out a visitor
Preconditions
A visit record exists with status Arrived or Host Notified.
Steps
Expected Result
Status changes to Departed. ActualDeparture is set to the current date and time. The visitor no longer appears in the On Site Now list.
Register visitor with missing required fields
Preconditions
Logged in as any employee.
Steps
Expected Result
An error notification is displayed: "Please complete all required fields." No record is created in the Visits list.
Register visitor with a past expected date
Preconditions
Logged in as any employee.
Steps
Expected Result
An error notification is displayed. No record is created. (Note: this requires a validation check in the OnSelect formula — verify your formula includes this check.)
Check in a walk-in visitor (not pre-registered)
Preconditions
Logged in as Reception.
Steps
Expected Result
A new visit record is created with status Arrived and ActualArrival set to now. The visitor appears in the On Site Now list. The host receives an arrival notification.
Host cancels a pre-registered visit
Preconditions
A visit record exists with status Expected. Logged in as the host.
Steps
Expected Result
Status changes to Cancelled. The visit no longer appears in Today's Visitors (active visits). The visit record is retained with status Cancelled.
Employee cannot cancel another employee's visit
Preconditions
A visit record exists for Employee A. Logged in as Employee B.
Steps
Expected Result
Employee B cannot see Employee A's visit in My Upcoming Visits (filtered to current user). If Employee B navigates to the Visitor Details screen directly, the Cancel Visit button is not visible (Visible formula checks HostEmail = User().Email).
Mark a visitor as No Show
Preconditions
A visit record exists with status Expected. Logged in as Reception.
Steps
Expected Result
Status changes to No Show. The visit no longer appears in the Expected view. The visit record is retained with status No Show.
Host arrival notification is sent within 2 minutes
Preconditions
A visit record exists with status Expected. Host email is correct.
Steps
Expected Result
The notification email is received within 2 minutes of check-in. The email contains: visitor name, organisation, expected time, actual arrival time.
Daily expected visitors summary is sent at 08:00
Preconditions
At least one visit record exists with status Expected for today.
Steps
Expected Result
An email is received with the subject "Expected visitors today — [date]". The email contains an HTML table listing all Expected visits for today.
Employee cannot check in a visitor
Preconditions
Logged in as an employee (not reception).
Steps
Expected Result
The Check In button is not visible to employees. The Today's Visitors screen may not be accessible from the Home Screen (button hidden for non-reception users).
Facilities user can view On Site Now (read-only)
Preconditions
Logged in as a Facilities user.
Steps
Expected Result
Facilities user can see all visitors currently on site. No action buttons are visible.
Employee cannot view another employee's visitor details
Preconditions
Employee A has a visit record. Logged in as Employee B.
Steps
Expected Result
My Upcoming Visits shows only visits where HostEmail = User().Email. Employee A's visits are not visible to Employee B.
Search for a visitor by name
Preconditions
Multiple visit records exist. Logged in as Reception.
Steps
Expected Result
The gallery filters to show only visits where VisitorName contains "Thornton". Other visits are hidden.
Notification flow fails — reception is alerted
Preconditions
The DToDLab004-HostArrivalNotification flow has a failure handling scope configured.
Steps
Expected Result
The flow fails on the Send an email action. The failure handling scope sends an alert email to the reception team: "ALERT — Visitor notification failed. Please contact the host directly."
Filter Today's Visitors by status
Preconditions
Multiple visit records exist with different statuses. Logged in as Reception.
Steps
Expected Result
The gallery shows only visits with status Arrived. Visits with other statuses are hidden.
Need more help with the concepts?
Visit DosToDigital for guides, templates, and deeper explanations.