Skip to content

Commit 42ce6ad

Browse files
Changing line 162 to use the calendar util
1 parent 664a7e9 commit 42ce6ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/smokescreen/test_compartment_5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def test_compartment_5(page: Page, smokescreen_properties: dict) -> None:
159159
page.locator("#UI_DIRECTION").select_option(label="To patient")
160160
page.locator("#UI_CALLER_ID").select_option(index=0)
161161
page.get_by_role("button", name="Calendar").click()
162-
page.get_by_role("cell", name="29", exact=True).click()
162+
CalendarPicker(page).v1_calender_picker(datetime.today())
163163
page.locator("#UI_START_TIME").click()
164164
page.locator("#UI_START_TIME").fill("11:00")
165165
page.locator("#UI_END_TIME").click()

0 commit comments

Comments
 (0)