From 290420e92809093050a493f34be3cc214459162f Mon Sep 17 00:00:00 2001 From: sebdet Date: Tue, 20 Oct 2020 11:02:53 +0200 Subject: 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 --- .../java/org/onap/sdc/frontend/ci/tests/pages/AbstractPageObject.java | 2 +- .../java/org/onap/sdc/frontend/ci/tests/utilities/ResourceUIUtils.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'integration-tests/src/test/java/org') 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')]"))); -- cgit 1.2.3-korg