Skip to content

Commit 9bd6392

Browse files
As per PR # 68 comments, Code change is implemented.
1 parent d55b7f2 commit 9bd6392

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pages/organisations/organisations_page.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ def go_to_bureau_page(self) -> None:
5454
class OrganisationSwitchPage:
5555
"""Page Object Model for interacting with the Organisation Switch page."""
5656

57-
SELECT_ORG_LINK_TEXT = "Select Org"
58-
5957
def __init__(self, page: Page):
6058
"""
6159
Initializes the OrganisationSwitchPage with locators for key elements.
@@ -67,7 +65,7 @@ def __init__(self, page: Page):
6765
self.radio_buttons = self.page.locator("input[type='radio']")
6866
self.selected_radio = self.page.locator("input[name='organisation']:checked")
6967
self.continue_button = self.page.get_by_role("button", name="Continue")
70-
self.select_org_link = self.page.get_by_role("link", name=self.SELECT_ORG_LINK_TEXT)
68+
self.select_org_link = self.page.get_by_role("link", name="Select Org")
7169
self.login_info = self.page.locator("td.loginInfo")
7270

7371
def click(self, locator) -> None:

0 commit comments

Comments
 (0)