View Doctor's Dashboard:
As an authenticated doctor, I want to view my doctor's dashboard, so that I can manage my appointments, view patient details, and add prescriptions to my patients.
Feature (Gherkin)
Feature: View Doctor Dashboard
Background:
Given I am an authenticated doctor
And I am on my doctor's dashboard
Scenario: Display doctor dashboard
Then I should see the "Home" button
And I should see the "Profile" button
And I should see the "Log Out" button
And I should see the "Filter Appointments" form
And I should see a list of appointments with:
- Appointment ID
- Patient Name
- Patient Phone
- Patient Email
- "Add Prescription" button
Scenario: Load today's appointments automatically
Given There are appointments for today
Then today's appointments should be displayed by default
Scenario: No appointments for today
Given There are no appointments for today
Then I should see an empty state message indicating no appointments are available
Acceptance Criteria:
- The dashboard should display the "Home" button
- The dashboard should display the "Profile" button
- The dashboard should display the "Log Out" button
- The dashboard should display the "Filter Appointments" form
- The dashboard should display the list of appointments
- The list of appointments should be filled with today's appointments automatically if any
Priority: Low
Story Points: 3
Notes:
- The list of appointments must only display appointments of the authenticated doctor.
- This is the view of the doctor's dashboard; inherited functionalities are implemented separately.
View Doctor's Dashboard:
As an authenticated doctor, I want to view my doctor's dashboard, so that I can manage my appointments, view patient details, and add prescriptions to my patients.
Feature (Gherkin)
Acceptance Criteria:
Priority: Low
Story Points: 3
Notes: