Skip to content

Commit 3e99678

Browse files
As per PR # 112 review comments, code change is implemented.
1 parent 7a2e19d commit 3e99678

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pages/screening_subject_search/subject_spine_retrieval_search_page.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ def enter_search_criteria(
3838
Fills in the demographic search fields with the provided values.
3939
4040
Args:
41-
dob (str): Date of birth in string format (e.g., "06 May 1940").
42-
surname (str): Subject's surname.
43-
forename (str): Subject's forename.
44-
gender (str): Gender value ("Male" or "Female").
45-
postcode (str): Subject's postcode.
41+
dob (str): Date of birth in string format (e.g., "06 May 1940").
42+
surname (str): Subject's surname.
43+
forename (str): Subject's forename.
44+
gender (str): Gender value ("Male" or "Female").
45+
postcode (str): Subject's postcode.
4646
"""
4747

4848
# Convert dob string to datetime object
@@ -66,7 +66,7 @@ def click(self, locator: Locator) -> None:
6666
Clicks on the specified locator.
6767
6868
Args:
69-
locator (Locator): The Playwright locator to click.
69+
locator (Locator): The Playwright locator to click.
7070
"""
7171
try:
7272
locator.click()
@@ -83,7 +83,7 @@ def get_spine_alert_message(self) -> str:
8383
error occurs, an empty string is returned and the error is logged to the console.
8484
8585
Returns:
86-
str: The stripped text of the alert message if visible, otherwise an empty string.
86+
str: The stripped text of the alert message if visible, otherwise an empty string.
8787
"""
8888
alert_locator = self.page.locator(".spine-alert")
8989
try:

0 commit comments

Comments
 (0)