@@ -154,6 +154,7 @@ def test_add_a_subject_note_for_a_subject_without_a_note(
154154 f"Title and note matched the provided values. Title: '{ note_title } ', Note: '{ note_text } '."
155155 )
156156
157+
157158def test_identify_subject_with_subject_note (
158159 page : Page , general_properties : dict
159160) -> None :
@@ -331,9 +332,7 @@ def test_update_existing_subject_note(page: Page, general_properties: dict) -> N
331332 )
332333
333334
334- def test_remove_existing_subject_note (
335- page : Page , general_properties : dict
336- ) -> None :
335+ def test_remove_existing_subject_note (page : Page , general_properties : dict ) -> None :
337336 """
338337 Test to verify if an existing Subject note can be removed for a subject with one Subject note.
339338 """
@@ -367,9 +366,7 @@ def test_remove_existing_subject_note(
367366 )
368367 SubjectScreeningSummaryPage (page ).click_subjects_events_notes ()
369368 SubjectEventsNotes (page ).select_note_type (NotesOptions .SUBJECT_NOTE )
370- logging .info (
371- "Selecting the 'Obsolete' option for the existing Subject Note."
372- )
369+ logging .info ("Selecting the 'Obsolete' option for the existing Subject Note." )
373370 BasePage (page ).safe_accept_dialog_select_option (
374371 SubjectEventsNotes (page ).note_status , NotesStatusOptions .OBSOLETE
375372 )
@@ -384,9 +381,7 @@ def test_remove_existing_subject_note(
384381 )
385382 # Verify that the DataFrame is not empty
386383 if not notes_df .empty :
387- pytest .fail (
388- f"Subject has Subject Notes. Expected none, but found: { notes_df } "
389- )
384+ pytest .fail (f"Subject has Subject Notes. Expected none, but found: { notes_df } " )
390385
391386 logging .info (
392387 "Verification successful: Subject does not have any active Subject Notes."
@@ -397,11 +392,11 @@ def test_remove_existing_subject_note_for_subject_with_multiple_notes(
397392 page : Page , general_properties : dict
398393) -> None :
399394 """
400- Test to verify if an existing subject note can be removed for a subject with multiple Additional Care notes.
395+ Test to verify if an existing subject note can be removed for a subject with multiple Subject notes.
401396 """
402397 # User login
403398 logging .info (
404- "Starting test: Remove a subject note for a subject who already has multiple additional care note."
399+ "Starting test: Remove a subject note for a subject who already has multiple Subject note."
405400 )
406401 logging .info ("Logging in as 'Team Leader at BCS01'." )
407402 UserTools .user_login (page , "Team Leader at BCS01" )
@@ -410,7 +405,7 @@ def test_remove_existing_subject_note_for_subject_with_multiple_notes(
410405 logging .info ("Navigating to the Screening Subject Search Page." )
411406 BasePage (page ).go_to_screening_subject_search_page ()
412407
413- # Get a subject with multiple additional care notes
408+ # Get a subject with multiple subject notes
414409 subjects_df = get_subjects_with_multiple_notes (
415410 general_properties ["subject_note_type_value" ]
416411 )
@@ -427,7 +422,7 @@ def test_remove_existing_subject_note_for_subject_with_multiple_notes(
427422 SubjectScreeningSummaryPage (page ).click_subjects_events_notes ()
428423
429424 SubjectEventsNotes (page ).select_note_type (NotesOptions .SUBJECT_NOTE )
430- # Select the first Additional Care Note from the table for removal
425+ # Select the first Subject Note from the table for removal
431426 logging .info ("Selecting the first Subject Note from the table for removal." )
432427 ui_data = SubjectEventsNotes (page ).get_title_and_note_from_row (2 )
433428 logging .info (
0 commit comments