File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed
pages/screening_subject_search Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change 44from typing import Dict
55from utils .calendar_picker import CalendarPicker
66
7- class SpineSearchPage :
7+ class SpineSearchPage ( BasePage ) :
88 """
99 Page object for the Spine Search screen, enabling demographic searches
1010 and data retrieval from the Spine system.
1111 """
1212 def __init__ (self , page : Page ):
13+ super ().__init__ (page )
1314 self .page = page
1415
1516 # Define locators
@@ -61,18 +62,6 @@ def perform_search(self) -> None:
6162 """
6263 self .click (self .search_button )
6364
64- def click (self , locator : Locator ) -> None :
65- """
66- Clicks on the specified locator.
67-
68- Args:
69- locator (Locator): The Playwright locator to click.
70- """
71- try :
72- locator .click ()
73- except Exception as e :
74- print (f"Error clicking on locator: { e } " )
75-
7665 def get_spine_alert_message (self ) -> str :
7766 """
7867 Retrieves the text content of a visible spine alert message from the page.
You can’t perform that action at this time.
0 commit comments