Skip to content

Commit e9fdf97

Browse files
As per PR # 123 comments code change is implemented.
1 parent f68e662 commit e9fdf97

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pages/screening_practitioner_appointments/screening_practitioner_appointments_page.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ 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")
1413
self.appointments_header = self.page.get_by_text("Screening Practitioner Appointments")
1514

1615
self.view_appointments_page = self.page.get_by_role(
@@ -48,4 +47,6 @@ def go_to_set_availability_page(self) -> None:
4847
self.click(self.set_availability_link)
4948

5049
def open_appointments_report(self):
51-
self.appointments_link.click()
50+
self.click(self.appointments_header)
51+
52+

0 commit comments

Comments
 (0)