Skip to content

Commit 3d597bd

Browse files
committed
Addressing review comments
1 parent 9157c48 commit 3d597bd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pages/screening_practitioner_appointments/appointment_detail_page.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ def __init__(self, page: Page):
88
self.page = page
99
# Appointment Detail - page filters
1010
self.attendance_radio = self.page.get_by_role("radio", name="Attendance")
11-
self.attendented_check_box = self.page.locator("#UI_ATTENDED")
11+
self.attended_check_box = self.page.locator("#UI_ATTENDED")
1212
self.calendar_button = self.page.get_by_role("button", name="Calendar")
1313
self.save_button = self.page.get_by_role("button", name="Save")
1414

1515
def check_attendance_radio(self) -> None:
1616
self.attendance_radio.check()
1717

18-
def check_attendented_check_box(self) -> None:
19-
self.attendented_check_box.check()
18+
def check_attended_check_box(self) -> None:
19+
self.attended_check_box.check()
2020

2121
def click_calendar_button(self) -> None:
2222
self.click(self.calendar_button)

tests/smokescreen/test_compartment_5.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def test_compartment_5(page: Page, smokescreen_properties: dict) -> None:
7979

8080
# Select Attendance radio button, tick Attended checkbox, set Attended Date to yesterday's (system) date and then press Save
8181
AppointmentDetail(page).check_attendance_radio()
82-
AppointmentDetail(page).check_attendented_check_box()
82+
AppointmentDetail(page).check_attended_check_box()
8383
AppointmentDetail(page).click_calendar_button()
8484
CalendarPicker(page).v1_calender_picker(datetime.today() - timedelta(1))
8585
AppointmentDetail(page).click_save_button()
@@ -143,7 +143,7 @@ def test_compartment_5(page: Page, smokescreen_properties: dict) -> None:
143143
AttendDiagnosticTest.select_actual_type_of_test_dropdown_option("Colonoscopy")
144144
AttendDiagnosticTest.click_calendar_button()
145145
CalendarPicker(page).v1_calender_picker(datetime.today())
146-
AttendDiagnosticTest.click_save_button()
146+
AttendDiagnosticTest.click_save_button
147147
SubjectScreeningSummary(page).verify_latest_event_status_value(
148148
"A259 - Attended Diagnostic Test"
149149
)

0 commit comments

Comments
 (0)