@@ -22,7 +22,7 @@ The Calendar Picker utility provides functions for interacting with the differen
2222 - [ Main Methods] ( #main-methods )
2323 - [ ` calendar_picker_ddmmyyyy ` (V1 Calendar Picker)] ( #calendar_picker_ddmmyyyy-v1-calendar-picker )
2424 - [ ` calendar_picker_ddmonyy ` (V2 Calendar Picker)] ( #calendar_picker_ddmonyy-v2-calendar-picker )
25- - [ ` v1_calender_picker ` (V1 Calendar Picker)] ( #v1_calender_picker -v1-calendar-picker )
25+ - [ ` v1_calendar_picker ` (V1 Calendar Picker)] ( #v1_calendar_picker -v1-calendar-picker )
2626 - [ ` v2_calendar_picker ` (V2 Calendar Picker)] ( #v2_calendar_picker-v2-calendar-picker )
2727 - [ ` book_first_eligible_appointment ` (Appointments Calendar)] ( #book_first_eligible_appointment-appointments-calendar )
2828 - [ Supporting Methods] ( #supporting-methods )
@@ -34,7 +34,7 @@ The Calendar Picker utility provides functions for interacting with the differen
3434
3535| Calendar Type | Where Seen | Navigation Style | Main Method(s) to Use |
3636| ------------------------ | -----------------------------------| ---------------------------------------------------| --------------------------------------|
37- | V1 Calendar Picker | Screening Subject Search, others | Year/month navigation with ` << ` , ` < ` , ` > ` , ` >> ` | ` calendar_picker_ddmmyyyy ` , ` v1_calender_picker ` |
37+ | V1 Calendar Picker | Screening Subject Search, others | Year/month navigation with ` << ` , ` < ` , ` > ` , ` >> ` | ` calendar_picker_ddmmyyyy ` , ` v1_calendar_picker ` |
3838| V2 Calendar Picker | Active Batch List, others | Expandable view for fast navigation | ` calendar_picker_ddmonyy ` , ` v2_calendar_picker ` |
3939| Appointments Calendar | Appointment booking pages | Two calendars, cell colours for availability | ` book_first_eligible_appointment ` |
4040
@@ -70,7 +70,7 @@ Formats the date using DateTimeUtils (with OS-specific handling) and enters it d
7070
7171---
7272
73- ### ` v1_calender_picker ` (V1 Calendar Picker)
73+ ### ` v1_calendar_picker ` (V1 Calendar Picker)
7474
7575Uses the navigation buttons (` << ` , ` < ` , ` > ` , ` >> ` ) to select a date in the V1 calendar picker.
7676
@@ -140,13 +140,13 @@ CalendarPicker(page).calendar_picker_ddmmyyyy(datetime(2025, 1, 16), page.locato
140140CalendarPicker(page).calendar_picker_ddmonyy(datetime(2025 , 1 , 16 ), page.locator(" #date-input" ))
141141
142142# Example 3: Use the V1 calendar picker to select a date
143- CalendarPicker(page).v1_calender_picker (datetime(2025 , 1 , 16 ))
143+ CalendarPicker(page).v1_calendar_picker (datetime(2025 , 1 , 16 ))
144144
145145# Example 4: Use the V2 calendar picker to select a date
146146CalendarPicker(page).v2_calendar_picker(datetime(2025 , 1 , 16 ))
147147
148148# Example 5: Book the first eligible appointment in the appointments calendar
149- # For this example we are using hard coded variables, however in our tests these are obtained from POMs. See C4 as a better practical example.
149+ # In this example, we use hard- coded variables. In our actual tests, these values are obtained from Page Object Models ( POMs) . See [C4] for a more practical example.
150150CalendarPicker(page).book_first_eligible_appointment(
151151 current_month_displayed = " January" ,
152152 locator = page.locator(" .appointment-day" ),
0 commit comments