In the below example, is there any way to shorten the When the doctor opens the details page of appointment
step? At the moment it has to consist all information of the appointment to find the correct one from the appointment list.
Feature: Open Appointment Details page from Appointment list
Background:
Given the doctor has following appointments in appointment list
| Date | Time | Patient | Room | First Examination |
| 1/20/2022 | 9:00 AM - 10:00 AM | Allan | 1 | Yes |
| 1/20/2022 | 10:30 AM - 11:00 AM | Bred | 3 | No |
| 1/20/2022 | 1:00 PM - 1:30 PM | Allan | 1 | Yes |
| 1/20/2022 | 2:00 PM - 3:00 PM | David | 4 | No |
Scenario Outline: Open appointment details page
When the doctor opens the details page of appointment <Date>, <Time>, <Patient>, <Room>, <First Examination>
Then the appointment details page displays correct <Date>, <Time>, <Patient>, <Room>, <First Examination>
Examples:
| Date | Time | Patient | Room | First Examination |
| 1/20/2022 | 9:00 AM - 10:00 AM | Allan | 1 | Yes |
| 1/20/2022 | 10:30 AM - 11:00 AM | Bred | 3 | No |
| 1/20/2022 | 1:00 PM - 1:30 PM | Allan | 1 | Yes |
| 1/20/2022 | 2:00 PM - 3:00 PM | David | 4 | No |