Skip to content

Commit

Permalink
Fix ITs
Browse files Browse the repository at this point in the history
  • Loading branch information
henryju committed Jun 21, 2016
1 parent deb1f3d commit a2cbc2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions its/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<properties>
<argLine>-server</argLine>
<jenkins.runtimeVersion>1.580.3</jenkins.runtimeVersion>
<jenkins.runtimeVersion>1.651.3</jenkins.runtimeVersion>
</properties>

<repositories>
Expand All @@ -44,7 +44,7 @@
<dependency>
<groupId>org.jenkins-ci.main</groupId>
<artifactId>cli</artifactId>
<version>1.596.1</version>
<version>1.651.3</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.firefox.FirefoxProfile;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.Select;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.slf4j.Logger;
Expand Down Expand Up @@ -352,8 +351,6 @@ public WebElement scrollTo(WebElement e) {

public JenkinsOrchestrator configureSQScannerInstallation(String version, int index) {
driver.get(server.getUrl() + "/configure");
WebDriverWait wait = new WebDriverWait(driver, 5);
wait.until(ExpectedConditions.textToBePresentInElementLocated(By.id("footer"), "Page generated"));

SonarScannerInstaller installer = new SonarScannerInstaller(config.fileSystem());
File runnerScript = installer.install(Version.create(version), config.fileSystem().workspace(), true);
Expand All @@ -378,8 +375,6 @@ private String getSQScannerInstallName(String version) {

public JenkinsOrchestrator configureMsBuildSQScanner_installation(String version, int index) {
driver.get(server.getUrl() + "/configure");
WebDriverWait wait = new WebDriverWait(driver, 5);
wait.until(ExpectedConditions.textToBePresentInElementLocated(By.id("footer"), "Page generated"));

if (index > 0) {
findElement(buttonByText("SonarQube Scanner for MSBuild installations...")).click();
Expand Down

0 comments on commit a2cbc2c

Please sign in to comment.