Skip to content

Commit 4602110

Browse files
Fixed an issue with the calendar
1 parent 91c926c commit 4602110

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/smokescreen/test_compartment_6.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ def test_compartment_6(page: Page, smokescreen_properties: dict) -> None:
387387
)
388388

389389
# This needs to be repeated for 1 subject, age does not matter - Normal Result
390-
nhs_no = "9746210564"
390+
nhs_no = "9936724968"
391391
go_to_investigation_datasets_page(page, nhs_no)
392392

393393
# The following code is on the investigation datasets page
@@ -430,7 +430,7 @@ def test_compartment_6(page: Page, smokescreen_properties: dict) -> None:
430430

431431
# The following code is on the record diagnosis date page
432432
page.locator("#diagnosisDate").click()
433-
page.locator("#diagnosisDate").fill("09 May 2025") # Todays date
433+
CalendarPicker(page).v2_calendar_picker(datetime.today())
434434
page.get_by_role("button", name="Save").click()
435435

436436
# Modification needs to be done to accept this list. it should check if any of the values in this list are present. Something like the following:

0 commit comments

Comments
 (0)