Skip to content

Commit 25e5448

Browse files
Megha PrasannanMegha Prasannan
authored andcommitted
updated Smokescreen/test_compartment_3
1 parent ca11b39 commit 25e5448

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/Smokescreen/test_compartment_3.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from datetime import datetime
33

44
from my_pages import *
5-
from utils import oracle
5+
from utils import oracle, fit_kit_logged
66
from utils.fit_kit_generation import create_fit_id_df
77
from utils.oracle import OracleDB
88
from utils.screening_subject_page_searcher import verify_subject_event_status_by_nhs_no
@@ -12,6 +12,12 @@ def test_compartment_3(page: Page) -> None:
1212
page.goto("/")
1313
BcssLoginPage(page).login_as_user("BCSS401")
1414

15+
# Add results to the test records in the KIT_QUEUE table (i.e. mimic receiving results from the middleware)
16+
fit_kit_logged.process_kit_data()
17+
# Run the database procedure to process any kit queue records at status BCSS_READY
18+
fit_kit_logged.execute_stored_procedures()
19+
20+
1521
# (STEP - 4) Run two stored procedures to process any kit queue records at status BCSS_READY
1622
# (processKitQueue function in selenium tests)
1723

0 commit comments

Comments
 (0)