Skip to content

Commit fe0ed29

Browse files
Added logging as per PR comments
1 parent 9078933 commit fe0ed29

File tree

1 file changed

+5
-1
lines changed
  • tests/regression/subject/episodes/datasets/investigation/endoscopy/polypcategories

1 file changed

+5
-1
lines changed

tests/regression/subject/episodes/datasets/investigation/endoscopy/polypcategories/test_lnpcp.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,11 @@ def test_identify_lnpcp_from_histology_s(
799799
polyp_histology=polyp_histology,
800800
)
801801

802-
InvestigationDatasetsPage(page).expect_text_to_be_visible("Abnormal")
802+
try:
803+
InvestigationDatasetsPage(page).expect_text_to_be_visible("Abnormal")
804+
logging.info("Found 'Abnormal' result.")
805+
except Exception as e:
806+
logging.error(f"Expected text not found: {e}")
803807
go_from_investigation_dataset_complete_to_a259_status(page)
804808
SubjectScreeningSummaryPage(page).click_datasets_link()
805809
SubjectDatasetsPage(page).click_investigation_show_datasets()

0 commit comments

Comments
 (0)