Skip to content

Commit 43af454

Browse files
Changing from BcssLoginPage(page).login_as_user("BCSS401") to UserTools.user_login(page, "Hub Manager State Registered")
1 parent 898ccb3 commit 43af454

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_call_and_recall_page.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def before_each(page: Page):
2727
Before every test is executed, this fixture logs in to BCSS as a test user and navigates to the call and recall page
2828
"""
2929
# Log in to BCSS
30-
BcssLoginPage(page).login_as_user("BCSS401")
30+
UserTools.user_login(page, "Hub Manager State Registered")
3131

3232
# Go to call and recall page
3333
MainMenu(page).go_to_call_and_recall_page()

tests/test_organisations_page.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def before_each(page: Page):
2828
organisations page
2929
"""
3030
# Log in to BCSS
31-
BcssLoginPage(page).login_as_user("BCSS401")
31+
UserTools.user_login(page, "Hub Manager State Registered")
3232

3333
# Go to organisations page
3434
MainMenu(page).go_to_organisations_page()

0 commit comments

Comments
 (0)