Skip to content

Commit 4bb1577

Browse files
Removed trailing spaces
1 parent 42bb133 commit 4bb1577

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

docs/utility-guides/ScreeningSubjectPageSearcher.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The Screening Subject Search utility allows for
1010
- [Utility Guide: Screening Subject Page Searcher](#utility-guide-screening-subject-page-searcher)
1111
- [Table of Contents](#table-of-contents)
1212
- [Functions Overview](#functions-overview)
13-
- [The page object parameter:](#the-page-object-parameter)
13+
- [The page object parameter](#the-page-object-parameter)
1414
- [Verify subject event status by NHS no](#verify-subject-event-status-by-nhs-no)
1515
- [Arguments](#arguments)
1616
- [How This Function Works](#how-this-function-works)
@@ -62,8 +62,9 @@ For this utility we have the following functions:
6262
- `search_subject_by_search_area`
6363
- `check_clear_filters_button_works`
6464

65-
### The page object parameter:
66-
- is required for all the listed functions above. It is listed as an arguement just once to avoid repetition
65+
### The page object parameter
66+
- Is required for all the listed functions above.
67+
- It is listed as an argument just once to avoid repetition.
6768

6869
### Verify subject event status by NHS no
6970

utils/screening_subject_page_searcher.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def search_subject_by_nhs_number(page: Page, nhs_number: str) -> None:
5555
def search_subject_by_surname(page: Page, surname: str) -> None:
5656
"""
5757
This searches for a subject by their surname and checks the page has redirected accordingly
58-
58+
5959
Args:
6060
page (Page): This is the playwright page object
6161
surname (str): The screening subject's surname
@@ -69,7 +69,7 @@ def search_subject_by_surname(page: Page, surname: str) -> None:
6969
def search_subject_by_forename(page: Page, forename: str) -> None:
7070
"""
7171
This searches for a subject by their forename and checks the page has redirected accordingly
72-
72+
7373
Args:
7474
page (Page): This is the playwright page object
7575
forename (str): The screening subject's forename
@@ -83,7 +83,7 @@ def search_subject_by_forename(page: Page, forename: str) -> None:
8383
def search_subject_by_dob(page: Page, dob: str) -> None:
8484
"""
8585
This searches for a subject by their date of birth and checks the page has redirected accordingly
86-
86+
8787
Args:
8888
page (Page): This is the playwright page object
8989
dob (str): The screening subject's date of birth
@@ -97,7 +97,7 @@ def search_subject_by_dob(page: Page, dob: str) -> None:
9797
def search_subject_by_postcode(page: Page, postcode: str) -> None:
9898
"""
9999
This searches for a subject by their postcode and checks the page has redirected accordingly
100-
100+
101101
Args:
102102
page (Page): This is the playwright page object
103103
postcode (str): The screening subject's postcode
@@ -111,7 +111,7 @@ def search_subject_by_postcode(page: Page, postcode: str) -> None:
111111
def search_subject_by_episode_closed_date(page: Page, episode_closed_date: str) -> None:
112112
"""
113113
This searches for a subject by their episode closed date and checks the page has redirected accordingly
114-
114+
115115
Args:
116116
page (Page): This is the playwright page object
117117
episode_closed_date (str): The screening subject's episode closed date
@@ -125,7 +125,7 @@ def search_subject_by_episode_closed_date(page: Page, episode_closed_date: str)
125125
def search_subject_by_status(page: Page, status: str) -> None:
126126
"""
127127
This searches for a subject by their screening status and checks the page has redirected accordingly
128-
128+
129129
Args:
130130
page (Page): This is the playwright page object
131131
status (str): The screening subject's screening status
@@ -139,7 +139,7 @@ def search_subject_by_status(page: Page, status: str) -> None:
139139
def search_subject_by_latest_event_status(page: Page, status: str) -> None:
140140
"""
141141
This searches for a subject by their latest event status and checks the page has redirected accordingly
142-
142+
143143
Args:
144144
page (Page): This is the playwright page object
145145
status (str): The screening subject's latest event status
@@ -155,7 +155,7 @@ def search_subject_by_search_area(
155155
) -> None:
156156
"""
157157
This searches for a subject by the search area, populating necessary fields were needed, and checks that the page has redirected accordingly
158-
158+
159159
Args:
160160
page (Page): This is the playwright page object
161161
status (str): The screening subject's screening status

0 commit comments

Comments
 (0)