From a309160f3deed13c77ac0f9bead818d4cacc60cf Mon Sep 17 00:00:00 2001 From: Marty Pradere Date: Thu, 26 Feb 2026 19:40:43 -0800 Subject: [PATCH] Update SNPRC_EHRTest.java --- .../src/org/labkey/test/tests/snprc_ehr/SNPRC_EHRTest.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/snprc_ehr/test/src/org/labkey/test/tests/snprc_ehr/SNPRC_EHRTest.java b/snprc_ehr/test/src/org/labkey/test/tests/snprc_ehr/SNPRC_EHRTest.java index a721330e..5b106e7c 100644 --- a/snprc_ehr/test/src/org/labkey/test/tests/snprc_ehr/SNPRC_EHRTest.java +++ b/snprc_ehr/test/src/org/labkey/test/tests/snprc_ehr/SNPRC_EHRTest.java @@ -447,7 +447,10 @@ public void testFileRepository() waitForElement(Ext4Helper.Locators.ext4Button("Create Folders")); click(Ext4Helper.Locators.ext4Button("Create Folders")); - waitForText("Anesthesia Reports", "Cardiology Docs", "Dental Records", "Images", "Lab Reports", "Misc Docs", "Pathology Reports", "Procurement Docs", "Radiology Reports", "Surgery Sheets"); + waitForTextToDisappear("No directory found for this animal. To upload files, you must create the folders first."); + waitForTextToDisappear("Loading..."); + waitForText(WAIT_FOR_PAGE * 2, "Anesthesia Reports"); + assertTextPresent("Anesthesia Reports", "Cardiology Docs", "Dental Records", "Images", "Lab Reports", "Misc Docs", "Pathology Reports", "Procurement Docs", "Radiology Reports", "Surgery Sheets"); }