Skip to content

Commit 5231510

Browse files
Megha PrasannanMegha Prasannan
authored andcommitted
adding tests to the compartment 1
1 parent 0978726 commit 5231510

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

tests/Smokescreen/test_compartment_1.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,23 @@ def test_example(page: Page) -> None:
2727
page.get_by_placeholder("Enter note").fill("test data")
2828
page.locator("#saveNote").get_by_role("button", name="Save").click()
2929

30-
# Generate Invitations
30+
# Generate Invitations
3131
page.get_by_role("link", name="Main Menu").click()
3232
page.get_by_role("link", name="Call and Recall").click()
3333
page.get_by_role("link", name="Generate Invitations").click()
3434
page.get_by_role("button", name="Generate Invitations").click()
35-
#TODO Add loop for below steps
35+
# #TODO Add loop for below steps
3636
expect(page.locator("#displayRS")).to_contain_text("Queued")
3737
page.get_by_role("button", name="Refresh").click()
3838
expect(page.locator("#displayRS")).to_contain_text("Completed")
39+
40+
41+
#Print the batch of Pre-Invitation Letters
42+
page.get_by_role("link", name="Communications Production").click()
43+
page.get_by_role("link", name="Active Batch List").click()
44+
page.locator("#eventCodeFilter").click()
45+
page.locator("#eventCodeFilter").fill("S1")
46+
page.locator("#eventCodeFilter").press("Enter")
47+
page.get_by_role("link", name="8843").click()
48+
page.get_by_text("Open In-Queue Processing Prepared Type : Original Priority : High Deadline : 17").click()
49+

0 commit comments

Comments
 (0)