Increase timeout for Selenium tests 25/114025/3
authorsebdet <sebastien.determe@intl.att.com>
Tue, 20 Oct 2020 09:02:53 +0000 (11:02 +0200)
committerChristophe Closset <christophe.closset@intl.att.com>
Tue, 20 Oct 2020 12:02:56 +0000 (12:02 +0000)
Increase 2 timeouts that seems to give issue on the LF infra.

Issue-ID: SDC-3324
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ibc7a9275c1fba7af35bfbf0b39101f2d9f540871

integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/AbstractPageObject.java
integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/utilities/ResourceUIUtils.java

index 2f13d3b..06c3280 100644 (file)
@@ -37,7 +37,7 @@ public abstract class AbstractPageObject implements PageObject {
 
     public AbstractPageObject(final WebDriver webDriver) {
         this.webDriver = webDriver;
-        timeoutInSeconds = 10;
+        timeoutInSeconds = 20;
     }
 
     /**
index 863b522..4a45e87 100644 (file)
@@ -83,7 +83,7 @@ public final class ResourceUIUtils {
     }
 
     public static void selectRandomResourceIcon() throws Exception {
-        final int webDriverWaitingTimeout = 4;
+        final int webDriverWaitingTimeout = 10;
         GeneralUIUtils.moveToStep(StepsEnum.ICON);
         WebDriverWait wait = new WebDriverWait(GeneralUIUtils.getDriver(), webDriverWaitingTimeout);
         wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("//*[contains(@data-tests-id, 'iconBox')]")));