Skip to content

Commit a032285

Browse files
Altering logic to make creating utils slightly easier
1 parent 42ce6ad commit a032285

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/smokescreen/test_compartment_5.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ def test_compartment_5(page: Page, smokescreen_properties: dict) -> None:
5050
)
5151
page.locator("#UI_SITE").select_option(label="The Royal Hospital (Wolverhampton)")
5252

53-
# Add calender util method for selecting date retrieved from inital test data util
53+
page.get_by_role("button", name="View appointments on this day").click()
54+
page.get_by_role("button", name="Calendar").click()
55+
date_from_util = datetime(2025 / 4 / 25)
56+
CalendarPicker(page).v1_calender_picker(date_from_util)
5457

5558
# Select subject from inital test data util
5659
page.get_by_role("link", name="SCALDING COD").click()

0 commit comments

Comments
 (0)