summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2020-10-20 11:02:53 +0200
committerChristophe Closset <christophe.closset@intl.att.com>2020-10-20 12:02:56 +0000
commit290420e92809093050a493f34be3cc214459162f (patch)
treec51c46f3e3c490aa7b14996706660ee95f2e59dc
parent15639470bfe7d30a3941117153b19771c8ca2b36 (diff)
Increase timeout for Selenium tests
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
-rw-r--r--integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/AbstractPageObject.java2
-rw-r--r--integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/utilities/ResourceUIUtils.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/AbstractPageObject.java b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/AbstractPageObject.java
index 2f13d3bbed..06c32801d6 100644
--- a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/AbstractPageObject.java
+++ b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/AbstractPageObject.java
@@ -37,7 +37,7 @@ public abstract class AbstractPageObject implements PageObject {
public AbstractPageObject(final WebDriver webDriver) {
this.webDriver = webDriver;
- timeoutInSeconds = 10;
+ timeoutInSeconds = 20;
}
/**
diff --git a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/utilities/ResourceUIUtils.java b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/utilities/ResourceUIUtils.java
index 863b522e75..4a45e877db 100644
--- a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/utilities/ResourceUIUtils.java
+++ b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/utilities/ResourceUIUtils.java
@@ -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')]")));