58
58
import org .openqa .selenium .WebElement ;
59
59
import org .openqa .selenium .firefox .FirefoxDriver ;
60
60
import org .openqa .selenium .firefox .FirefoxProfile ;
61
- import org .openqa .selenium .support .ui .ExpectedConditions ;
62
61
import org .openqa .selenium .support .ui .Select ;
63
62
import org .openqa .selenium .support .ui .WebDriverWait ;
64
63
import org .slf4j .Logger ;
@@ -352,8 +351,6 @@ public WebElement scrollTo(WebElement e) {
352
351
353
352
public JenkinsOrchestrator configureSQScannerInstallation (String version , int index ) {
354
353
driver .get (server .getUrl () + "/configure" );
355
- WebDriverWait wait = new WebDriverWait (driver , 5 );
356
- wait .until (ExpectedConditions .textToBePresentInElementLocated (By .id ("footer" ), "Page generated" ));
357
354
358
355
SonarScannerInstaller installer = new SonarScannerInstaller (config .fileSystem ());
359
356
File runnerScript = installer .install (Version .create (version ), config .fileSystem ().workspace (), true );
@@ -378,8 +375,6 @@ private String getSQScannerInstallName(String version) {
378
375
379
376
public JenkinsOrchestrator configureMsBuildSQScanner_installation (String version , int index ) {
380
377
driver .get (server .getUrl () + "/configure" );
381
- WebDriverWait wait = new WebDriverWait (driver , 5 );
382
- wait .until (ExpectedConditions .textToBePresentInElementLocated (By .id ("footer" ), "Page generated" ));
383
378
384
379
if (index > 0 ) {
385
380
findElement (buttonByText ("SonarQube Scanner for MSBuild installations..." )).click ();
0 commit comments