Skip to content

Commit

Permalink
Modified selenium tests to accept the new screen
Browse files Browse the repository at this point in the history
  • Loading branch information
adrielparedes committed Feb 15, 2018
1 parent a7cfef8 commit 226aeee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class ProjectLibraryPerspective extends AbstractPerspective {
PROJECT_ACTIONS_BUTTON = By.id("dropdown-space-actions"),
IMPORT_PROJECT_BUTTON = By.linkText("Import Project"),
TRY_SAMPLES_BUTTON = By.linkText("Try Samples"),
BUILD_AND_DEPLOY_BUTTON = ByJQuery.selector("button:contains('Build & Deploy')");
DEPLOY_BUTTON = ByJQuery.selector("button:contains('Deploy')");

@Override
public void waitForLoaded() {
Expand Down Expand Up @@ -73,7 +73,7 @@ public void clickProjectCard(String projectName) {
}

public void buildAndDeployProject() {
click(BUILD_AND_DEPLOY_BUTTON);
click(DEPLOY_BUTTON);
possiblyOverrideGavConflict();
}

Expand Down

0 comments on commit 226aeee

Please sign in to comment.