Skip to content

Commit

Permalink
Stabilize ProjectStateAfterRefreshTest and EditorValidationTest selen…
Browse files Browse the repository at this point in the history
…ium tests (#7195)
  • Loading branch information
Ohrimenko1988 committed Nov 8, 2017
1 parent acbf69e commit efee154
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public void autoCompleteClassInTheSamePackage() {
editor.setCursorToLine(28);
editor.typeTextIntoEditor(Keys.END.toString());
editor.typeTextIntoEditor("\n");
editor.waitAllMarkersDisappear(ERROR_MARKER);
editor.typeTextIntoEditor(TEXT_FOR_WARNING);
editor.waitMarkerInPosition(WARNING_MARKER, 29);
editor.waitAnnotationCodeAssistIsClosed();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ public void checkRestoreStateOfProjectIfPomXmlFileOpened() throws Exception {
projectExplorer.waitItem(PROJECT_NAME + "/src/main/webapp/WEB-INF/jsp");
projectExplorer.openItemByPath(PROJECT_NAME + "/pom.xml");
editor.waitActiveEditor();
projectExplorer.waitProjectExplorer();
seleniumWebDriver.navigate().refresh();
projectExplorer.waitProjectExplorer();
projectExplorer.waitItem(PROJECT_NAME);
editor.waitTabIsPresent("qa-spring-sample");
projectExplorer.waitItem(PROJECT_NAME + "/pom.xml");
Expand Down

0 comments on commit efee154

Please sign in to comment.