File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
tests/regression/organisation_regression_tests_user Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ def go_to_bureau_page(self) -> None:
5353
5454
5555class OrganisationSwitchPage :
56+ """Organisation Switch Page locators and methods for interacting with the page."""
57+
5658 def __init__ (self , page : Page ):
5759 self .page = page
5860 self .radio_selector = "input[name='organisation']"
Original file line number Diff line number Diff line change 44from playwright .sync_api import Page
55from pages .organisations .organisations_page import OrganisationSwitchPage
66
7+
78@pytest .mark .regression
89@pytest .mark .organisation_switch
910def test_user_can_switch_between_organisations (page : Page ) -> None :
1011 """
11- Scenario:
12- User switches from Org 1 → Continue → Home → 'Select Organisation' → Org 2 → Continue → Home → Return.
13- Verifies switch success using aria role-based 'Continue' button logic.
12+ Feature: Change Organisation
13+ Scenario: Check that an English user with multiple organisations
14+ is able to switch between them
15+ Given I log in to BCSS "England" as user role "MultiOrgUser"
16+ When I change organisation
17+ Then I will be logged in as the alternative organisation.
1418 """
1519 # Log in as a user with multiple organisations
1620 UserTools .user_login (page , "Specialist Screening Practitioner at BCS009" )
You can’t perform that action at this time.
0 commit comments