commit | 290420e92809093050a493f34be3cc214459162f | [log] [tgz] |
---|---|---|
author | sebdet <sebastien.determe@intl.att.com> | Tue Oct 20 11:02:53 2020 +0200 |
committer | Christophe Closset <christophe.closset@intl.att.com> | Tue Oct 20 12:02:56 2020 +0000 |
tree | c51c46f3e3c490aa7b14996706660ee95f2e59dc | |
parent | 15639470bfe7d30a3941117153b19771c8ca2b36 [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
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 2f13d3b..06c3280 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 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 863b522..4a45e87 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 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')]")));