Skip to content

Commit dd922ba

Browse files
As per PR # 123 review comments, code change is implemented.
1 parent 22e13cc commit dd922ba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pages/screening_practitioner_appointments/screening_practitioner_appointments_page.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ def __init__(self, page: Page):
1010
self.page = page
1111
# ScreeningPractitionerAppointments Page
1212
self.log_in_page = self.page.get_by_role("button", name="Log in")
13+
self.appointments_link = self.page.get_by_text("Screening Practitioner Appointments")
14+
self.appointments_header = self.page.get_by_text("Screening Practitioner Appointments")
15+
1316
self.view_appointments_page = self.page.get_by_role(
1417
"link", name="View appointments"
1518
)
@@ -43,3 +46,6 @@ def go_to_patients_that_require_page(self) -> None:
4346
def go_to_set_availability_page(self) -> None:
4447
"""Click on the Set Availability link to navigate to the set availability page."""
4548
self.click(self.set_availability_link)
49+
50+
def open_appointments_report(self):
51+
self.appointments_link.click()

0 commit comments

Comments
 (0)