Skip to content

Disable flaky ONPRC_EHRTest.testSubmitButtonsDisabledDuringValidation - #1866

Merged
labkey-martyp merged 1 commit into
release26.3-SNAPSHOTfrom
26.3_fb_disable_flaky_validation_test
Aug 26, 2026
Merged

Disable flaky ONPRC_EHRTest.testSubmitButtonsDisabledDuringValidation#1866
labkey-martyp merged 1 commit into
release26.3-SNAPSHOTfrom
26.3_fb_disable_flaky_validation_test

Conversation

@labkey-martyp

Copy link
Copy Markdown
Contributor

Rationale

ONPRC_EHRTest.testSubmitButtonsDisabledDuringValidation fails intermittently on the 26.3 ONPRC EHR suites and is blocking ONPRC work, so it is being disabled until the assertion can be reworked. The assertion is racy by construction: Force Submit carries disableOn: 'SEVERE', so it is disabled only while validation is in flight and is re-enabled the instant validation completes. Clicking More Actions and waiting for the Ext menu to render costs a few seconds, which a fast validation pass beats, and the 10-second wait for the disabled menu item then can never succeed. Every failure is the same one — ONPRC_EHRTest.java:2036 on Force Submit — while the sibling checks pass regardless because Submit And Reload and Submit Final stay disabled after validation whenever the form has WARN/ERROR rows.

Related Pull Requests

None.

Changes

  • @Ignore on testSubmitButtonsDisabledDuringValidation, with the race recorded in the annotation message and a comment noting that it is blocking ONPRC work and should be re-enabled once the flakiness is resolved.

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.
@labkey-martyp
labkey-martyp merged commit 67ae91b into release26.3-SNAPSHOT Aug 26, 2026
8 of 9 checks passed
@labkey-martyp
labkey-martyp deleted the 26.3_fb_disable_flaky_validation_test branch August 26, 2026 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants