Skip to content

Commit fcdc5e6

Browse files
Addressing comments on #22
1 parent 3162139 commit fcdc5e6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/smokescreen/test_compartment_4.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,14 @@ def smokescreen_properties() -> dict:
2020
def test_compartment_4(page: Page, smokescreen_properties: dict) -> None:
2121
"""
2222
This is the main compartment 4 method
23+
First it obtains the necessary test data from the DB
24+
Then it logs on as a Screening Centre Manager and sets the availablity of a practitioner from 09:00 to 17:15 from todays date for the next 6 weeks
25+
After It logs out an logs back in as a Hub Manager
26+
Once logging back in it books appointments for the subjects retrieved earlier
27+
Finally it processes the necessary batches to send out the letters and checks the subjects satus has been updated to what is expected
2328
"""
2429

25-
# Add method of getting test data
30+
# Add method of getting test data using the query below. To remove once subject retrieval logic is created
2631
"""select tk.kitid, ss.subject_nhs_number, se.screening_subject_id
2732
from tk_items_t tk
2833
inner join ep_subject_episode_t se on se.screening_subject_id = tk.screening_subject_id

0 commit comments

Comments
 (0)