Skip to content

Commit 8d562fe

Browse files
committed
Updated the test and user.json-bcss 19933
1 parent 3900e96 commit 8d562fe

19 files changed

+21
-22
lines changed

tests/smokescreen/test_compartment_1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def test_create_invitations_plan(page: Page, smokescreen_properties: dict) -> No
4343
This is used to create the invitations plan. As it is not always needed it is separate to the main Compartment 1 function
4444
"""
4545
logging.info("Compartment 1 - Create Invitations Plan")
46-
UserTools.user_login(page, "Hub Manager State Registered")
46+
UserTools.user_login(page, "Hub Manager State Registered at BCS01")
4747
# Create plan - England
4848
BasePage(page).go_to_call_and_recall_page()
4949
CallAndRecall(page).go_to_planning_and_monitoring_page()
@@ -77,7 +77,7 @@ def test_compartment_1(page: Page) -> None:
7777
- Processes S10 (FIT) batches
7878
"""
7979
logging.info("Compartment 1 - Generate Invitations")
80-
UserTools.user_login(page, "Hub Manager State Registered")
80+
UserTools.user_login(page, "Hub Manager State Registered at BCS01")
8181

8282
# Generate Invitations
8383
BasePage(page).click_main_menu_link()

tests/smokescreen/test_compartment_2.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_compartment_2(page: Page, smokescreen_properties: dict) -> None:
4747
- Logging FIT Devices as Spoilt
4848
- Processing the generated S3 batch
4949
"""
50-
UserTools.user_login(page, "Hub Manager State Registered")
50+
UserTools.user_login(page, "Hub Manager State Registered at BCS01")
5151

5252
BasePage(page).go_to_fit_test_kits_page()
5353
FITTestKits(page).go_to_log_devices_page()
@@ -60,7 +60,6 @@ def test_compartment_2(page: Page, smokescreen_properties: dict) -> None:
6060
sample_date = datetime.now().strftime("%#d %b %Y")
6161
logging.info("Setting sample date to today's date")
6262
LogDevices(page).fill_sample_date_field(sample_date)
63-
LogDevices(page).log_devices_title.get_by_text("Scan Device").wait_for()
6463
try:
6564
LogDevices(page).verify_successfully_logged_device_text()
6665
logging.info(f"{fit_device_id} Successfully logged")

tests/smokescreen/test_compartment_3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def test_compartment_3(page: Page, smokescreen_properties: dict) -> None:
4646
It then checks that the status of the subject is as expected using the subject screening summary page
4747
Then it process two batches performing checks on the subjects to ensure they always have the correct event status
4848
"""
49-
UserTools.user_login(page, "Hub Manager State Registered")
49+
UserTools.user_login(page, "Hub Manager State Registered at BCS01")
5050

5151
# Find data , separate it into normal and abnormal, Add results to the test records in the KIT_QUEUE table (i.e. mimic receiving results from the middleware)
5252
# and get device IDs and their flags

tests/test_bcss_19181_users_permit_list.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def before_test(page: Page):
1313
This fixture confirms that users can log in successfully in to BCSS whilst the approved users list is empty
1414
"""
1515
# Log in to BCSS as bcss401 user, then log out
16-
UserTools.user_login(page, "Hub Manager State Registered")
16+
UserTools.user_login(page, "Hub Manager State Registered at BCS01")
1717
bcss_home.BasePage(page).bowel_cancer_screening_system_header_is_displayed()
1818
bcss_home.BasePage(page).click_log_out_link()
1919
logout.Logout(page).verify_log_out_page()
@@ -32,7 +32,7 @@ def test_only_users_on_approved_can_login_to_bcss(page: Page) -> None:
3232
# Add bcss401 user to approved users list table
3333
OracleDB().populate_ui_approved_users_table("BCSS401")
3434
# BCSS401 user successfully logs in to BCSS whilst on the approved list
35-
UserTools.user_login(page, "Hub Manager State Registered")
35+
UserTools.user_login(page, "Hub Manager State Registered at BCS01")
3636
bcss_home.BasePage(page).bowel_cancer_screening_system_header_is_displayed()
3737
# BCSS401 user logs out
3838
bcss_home.BasePage(page).click_log_out_link()

tests/test_bowel_scope_page.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def before_each(page: Page):
1212
Before every test is executed, this fixture logs in to BCSS as a test user and navigates to the bowel scope page
1313
"""
1414
# Log in to BCSS
15-
UserTools.user_login(page, "Hub Manager State Registered")
15+
UserTools.user_login(page, "Hub Manager State Registered at BCS01")
1616

1717
# Go to bowel scope page
1818
BasePage(page).go_to_bowel_scope_page()

tests/test_call_and_recall_page.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def before_each(page: Page):
3838
Before every test is executed, this fixture logs in to BCSS as a test user and navigates to the call and recall page
3939
"""
4040
# Log in to BCSS
41-
UserTools.user_login(page, "Hub Manager State Registered")
41+
UserTools.user_login(page, "Hub Manager State Registered at BCS01")
4242

4343
# Go to call and recall page
4444
BasePage(page).go_to_call_and_recall_page()

tests/test_communications_production_page.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def before_each(page: Page):
1616
production page
1717
"""
1818
# Log in to BCSS
19-
UserTools.user_login(page, "Hub Manager State Registered")
19+
UserTools.user_login(page, "Hub Manager State Registered at BCS01")
2020

2121
# Go to communications production page
2222
BasePage(page).go_to_communications_production_page()

tests/test_contacts_list_page.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def before_each(page: Page):
1515
Before every test is executed, this fixture logs in to BCSS as a test user and navigates to the contacts list page
1616
"""
1717
# Log in to BCSS
18-
UserTools.user_login(page, "Hub Manager State Registered")
18+
UserTools.user_login(page, "Hub Manager State Registered at BCS01")
1919

2020
# Go to contacts list page
2121
BasePage(page).go_to_contacts_list_page()

tests/test_download_page.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def before_each(page: Page):
1818
Before every test is executed, this fixture logs in to BCSS as a test user and navigates to the download page
1919
"""
2020
# Log in to BCSS
21-
UserTools.user_login(page, "Hub Manager State Registered")
21+
UserTools.user_login(page, "Hub Manager State Registered at BCS01")
2222

2323
# Go to download page
2424
BasePage(page).go_to_download_page()

tests/test_fit_test_kits_page.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def before_each(page: Page):
2424
fit test kits page
2525
"""
2626
# Log in to BCSS
27-
UserTools.user_login(page, "Hub Manager State Registered")
27+
UserTools.user_login(page, "Hub Manager State Registered at BCS01")
2828

2929
# Go to fit test kits page
3030
BasePage(page).go_to_fit_test_kits_page()

0 commit comments

Comments
 (0)