From e6e3e792446d415c75def394818fa155d0368b69 Mon Sep 17 00:00:00 2001 From: Marty Pradere Date: Tue, 25 Aug 2026 16:17:52 -0600 Subject: [PATCH] Disable flaky ONPRC_EHRTest.testSubmitButtonsDisabledDuringValidation The test asserts that 'Force Submit' is disabled while the data entry form validates, but that action carries disableOn 'SEVERE' and so is re-enabled the moment validation completes. Clicking 'More Actions' and waiting for the menu to render costs several seconds, which a fast validation pass beats, so the assertion loses the race and fails on TeamCity. Ignoring it until the assertion is reworked to sample state at validation start rather than chase it through the UI. --- .../src/org/labkey/test/tests/onprc_ehr/ONPRC_EHRTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/onprc_ehr/test/src/org/labkey/test/tests/onprc_ehr/ONPRC_EHRTest.java b/onprc_ehr/test/src/org/labkey/test/tests/onprc_ehr/ONPRC_EHRTest.java index e8c58b0ef..ccf916d34 100644 --- a/onprc_ehr/test/src/org/labkey/test/tests/onprc_ehr/ONPRC_EHRTest.java +++ b/onprc_ehr/test/src/org/labkey/test/tests/onprc_ehr/ONPRC_EHRTest.java @@ -22,6 +22,7 @@ import org.json.JSONObject; import org.junit.Assert; import org.junit.BeforeClass; +import org.junit.Ignore; import org.junit.Test; import org.junit.experimental.categories.Category; import org.labkey.remoteapi.CommandException; @@ -559,6 +560,8 @@ public void testArrivalApi() throws Exception } @Test + // Disabled because the flakiness is blocking ONPRC work; re-enable once it is resolved. + @Ignore("Flaky on TeamCity: 'Force Submit' is only disabled while validation is in flight, so the 'More Actions' menu check races a fast validation pass") public void testSubmitButtonsDisabledDuringValidation() throws Exception { List allIds = createTemporaryValidationAnimals(30);