Skip to content

Commit

Permalink
Add checking the visibility of the web-element in the 'ProjectSourceP…
Browse files Browse the repository at this point in the history
…age.java'
  • Loading branch information
artaleks9 committed Feb 2, 2018
1 parent e2dccd5 commit 5a42697
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ public interface Template {
WebElement authorizeBtn;

public void clickOnAddOrImportProjectButton() {
addOrImportProjectButton.click();
new WebDriverWait(seleniumWebDriver, LOAD_PAGE_TIMEOUT_SEC)
.until(visibilityOf(addOrImportProjectButton))
.click();
}

// wait that the Project Source Selector visible
Expand Down

0 comments on commit 5a42697

Please sign in to comment.