|
28 | 28 | ) |
29 | 29 |
|
30 | 30 |
|
| 31 | +@pytest.mark.regression |
| 32 | +@pytest.mark.note_tests |
31 | 33 | def test_subject_does_not_have_a_subject_note( |
32 | 34 | page: Page, general_properties: dict |
33 | 35 | ) -> None: |
@@ -71,6 +73,8 @@ def test_subject_does_not_have_a_subject_note( |
71 | 73 | ) |
72 | 74 |
|
73 | 75 |
|
| 76 | +@pytest.mark.regression |
| 77 | +@pytest.mark.note_tests |
74 | 78 | def test_add_a_subject_note_for_a_subject_without_a_note( |
75 | 79 | page: Page, general_properties: dict |
76 | 80 | ) -> None: |
@@ -155,6 +159,8 @@ def test_add_a_subject_note_for_a_subject_without_a_note( |
155 | 159 | ) |
156 | 160 |
|
157 | 161 |
|
| 162 | +@pytest.mark.regression |
| 163 | +@pytest.mark.note_tests |
158 | 164 | def test_identify_subject_with_subject_note( |
159 | 165 | page: Page, general_properties: dict |
160 | 166 | ) -> None: |
@@ -189,6 +195,8 @@ def test_identify_subject_with_subject_note( |
189 | 195 | ) |
190 | 196 |
|
191 | 197 |
|
| 198 | +@pytest.mark.regression |
| 199 | +@pytest.mark.note_tests |
192 | 200 | def test_view_active_subject_note(page: Page, general_properties: dict) -> None: |
193 | 201 | """ |
194 | 202 | Test to verify if an active subject note is visible for a subject. |
@@ -254,6 +262,8 @@ def test_view_active_subject_note(page: Page, general_properties: dict) -> None: |
254 | 262 | ), f"Note does not match. UI: '{ui_data['note']}', DB: '{db_data['note']}'" |
255 | 263 |
|
256 | 264 |
|
| 265 | +@pytest.mark.regression |
| 266 | +@pytest.mark.note_tests |
257 | 267 | def test_update_existing_subject_note(page: Page, general_properties: dict) -> None: |
258 | 268 | """ |
259 | 269 | Test to verify if an existing subject note can be updated successfully. |
@@ -286,7 +296,7 @@ def test_update_existing_subject_note(page: Page, general_properties: dict) -> N |
286 | 296 | SubjectScreeningSummaryPage(page).click_subjects_events_notes() |
287 | 297 | SubjectEventsNotes(page).select_note_type(NotesOptions.SUBJECT_NOTE) |
288 | 298 | BasePage(page).safe_accept_dialog_select_option( |
289 | | - SubjectEventsNotes(page).episode_note_status, NotesStatusOptions.INVALID |
| 299 | + SubjectEventsNotes(page).note_status, NotesStatusOptions.INVALID |
290 | 300 | ) |
291 | 301 | SubjectEventsNotes(page).fill_note_title("updated subject title") |
292 | 302 | SubjectEventsNotes(page).fill_notes("updated subject note") |
@@ -332,6 +342,8 @@ def test_update_existing_subject_note(page: Page, general_properties: dict) -> N |
332 | 342 | ) |
333 | 343 |
|
334 | 344 |
|
| 345 | +@pytest.mark.regression |
| 346 | +@pytest.mark.note_tests |
335 | 347 | def test_remove_existing_subject_note(page: Page, general_properties: dict) -> None: |
336 | 348 | """ |
337 | 349 | Test to verify if an existing Subject note can be removed for a subject with one Subject note. |
@@ -388,6 +400,8 @@ def test_remove_existing_subject_note(page: Page, general_properties: dict) -> N |
388 | 400 | ) |
389 | 401 |
|
390 | 402 |
|
| 403 | +@pytest.mark.regression |
| 404 | +@pytest.mark.note_tests |
391 | 405 | def test_remove_existing_subject_note_for_subject_with_multiple_notes( |
392 | 406 | page: Page, general_properties: dict |
393 | 407 | ) -> None: |
|
0 commit comments