This repository was archived by the owner on Mar 27, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/test/java/com/mathworks/ci Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -391,6 +391,7 @@ public void verifyCoberturaWarning() throws Exception {
391391 HtmlPage page = jenkins .createWebClient ().goTo ("job/test0/configure" );
392392 HtmlCheckBoxInput coberturaChkBx = page .getElementByName ("taCoberturaChkBx" );
393393 coberturaChkBx .setChecked (true );
394+ Thread .sleep (2000 );
394395 WebAssert .assertTextPresent (page , TestMessage .getValue ("Builder.matlab.cobertura.support.warning" ));
395396 }
396397
@@ -406,6 +407,7 @@ public void verifyCoberturaError() throws Exception {
406407 HtmlPage page = jenkins .createWebClient ().goTo ("job/test0/configure" );
407408 HtmlCheckBoxInput coberturaChkBx = page .getElementByName ("taCoberturaChkBx" );
408409 coberturaChkBx .setChecked (true );
410+ Thread .sleep (2000 );
409411 String pageText = page .asText ();
410412 String filteredPageText = pageText .replaceFirst (TestMessage .getValue ("Builder.invalid.matlab.root.error" ), "" );
411413 Assert .assertTrue (filteredPageText .contains (TestMessage .getValue ("Builder.invalid.matlab.root.error" )));
You can’t perform that action at this time.
0 commit comments