Skip to content

Commit 5d2e551

Browse files
Megha PrasannanMegha Prasannan
authored andcommitted
151-153 lines were not reflected properly in previous push due to an merge conflit, thus updated the lines
1 parent 702c4e7 commit 5d2e551

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Smokescreen/test_compartment_1.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,6 @@ def subject_search_by_nhs_no(page: Page, nhs_no: str, latest_event_status: str):
148148
SubjectScreeningPage(page).nhs_number_filter.fill(nhs_no)
149149
SubjectScreeningPage(page).nhs_number_filter.press("Enter")
150150
SubjectScreeningPage(page).click_search_button()
151-
expect(page.get_by_role("cell", name="Subject Screening Summary", exact=True)).to_be_visible()
152-
expect(page.get_by_role("cell", name="Latest Event Status", exact=True)).to_be_visible()
153-
expect(page.get_by_role("cell", name=latest_event_status, exact=True)).to_be_visible()
151+
SubjectScreeningSummary(page).verify_subject_screening_summary()
152+
SubjectScreeningSummary(page).verify_latest_event_status_header()
153+
SubjectScreeningSummary(page).verify_latest_event_status_value(latest_event_status)

0 commit comments

Comments
 (0)