From: sebdet Date: Tue, 20 Oct 2020 09:02:53 +0000 (+0200) Subject: Increase timeout for Selenium tests X-Git-Tag: 1.7.2~7 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F25%2F114025%2F3;p=sdc.git 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 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 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')]")));