Skip to content

Commit 9351e9a

Browse files
As per PR # 110 comments, code change is implemented.
1 parent 5ebad88 commit 9351e9a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pages/screening_subject_search/record_diagnosis_date_page.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ def click_save_button(self) -> None:
3030

3131
def get_alert_message(self) -> str:
3232
"""
33-
Retrieves the visible alert message from the page, if any.
33+
Retrieve the visible alert message from the page, if any.
34+
3435
Returns:
35-
str: The inner text of the alert element if it's visible;
36-
otherwise, an empty string.
36+
str: The inner text of the alert element if it's visible;
37+
otherwise, an empty string.
3738
"""
3839
self.alert_message = self.page.get_by_role("alert")
3940
if self.alert_message.is_visible():

0 commit comments

Comments
 (0)