Skip to content

Commit

Permalink
Add assertion with known issue in the typical unstable part of the te…
Browse files Browse the repository at this point in the history
…st (#7978)
  • Loading branch information
Maxim Musienko committed Dec 20, 2017
1 parent 758d400 commit 4025610
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,12 @@ public void shouldExecuteAlltests() {
editor.goToCursorPositionVisible(25, 17);
menu.runCommand(RUN_MENU, TEST, TEST_NG_TEST_DROP_DAWN_ITEM);
notifications.waitExpectedMessageOnProgressPanelAndClosed("Test runner executed successfully.");
pluginConsole.waitMethodMarkedAsPassed("shouldSuccessOfAppAnother");
try {
pluginConsole.waitMethodMarkedAsPassed("shouldSuccessOfAppAnother");
} catch (TimeoutException ex) {
// remove try-catch block after issue has been resolved
fail("Known issue https://github.com/eclipse/che/issues/7338", ex);
}
assertTrue(pluginConsole.getAllNamesOfMethodsMarkedDefinedStatus(PASSED).size() == 1);
editor.goToCursorPositionVisible(30, 17);
menu.runCommand(RUN_MENU, TEST, TEST_NG_TEST_DROP_DAWN_ITEM);
Expand Down

0 comments on commit 4025610

Please sign in to comment.