diff options
author | vasraz <vasyl.razinkov@est.tech> | 2021-07-23 12:30:04 +0100 |
---|---|---|
committer | Vasyl Razinkov <vasyl.razinkov@est.tech> | 2021-07-24 16:54:31 +0000 |
commit | 389eb1656860a8cc2cd0f2cc78c8ed813810b07e (patch) | |
tree | 21e6139a3bea53f2b5fbbd3d1036fc35cffd5bc6 /integration-tests | |
parent | 70119040c69c5645bf8e9a59f271f1ffea0e2d26 (diff) |
Fix intermittent 'Tooltip integration test failure'
Change-Id: Ib1a494a7f9f36e4744f79e12c7a7eea5ec6715fa
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3651
Diffstat (limited to 'integration-tests')
-rw-r--r-- | integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/component/workspace/CompositionCanvasComponent.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/component/workspace/CompositionCanvasComponent.java b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/component/workspace/CompositionCanvasComponent.java index 1c5793f3bd..e29df1583a 100644 --- a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/component/workspace/CompositionCanvasComponent.java +++ b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/component/workspace/CompositionCanvasComponent.java @@ -135,7 +135,7 @@ public class CompositionCanvasComponent extends AbstractPageObject { int offsetFromElementCenter = 10; actions.moveToElement(canvasWebElement, positionFromCenter.getX() - offsetFromElementCenter, positionFromCenter.getY() + offsetFromElementCenter) - .pause(Duration.ofSeconds(1)) + .pause(Duration.ofMillis(500)) .click() .perform(); ExtentTestActions.takeScreenshot(Status.INFO, "canvas-node-selected", String.format("'%s' was selected", elementName)); @@ -259,11 +259,11 @@ public class CompositionCanvasComponent extends AbstractPageObject { new Actions(webDriver) .moveToElement(canvasWebElement, greenPlusPositionFromCenter.getX(), greenPlusPositionFromCenter.getY()) .moveByOffset(3, 3).moveByOffset(-3, -3) - .pause(Duration.ofSeconds(2)) + .pause(Duration.ofMillis(500)) .clickAndHold() - .pause(Duration.ofSeconds(1)) + .pause(Duration.ofMillis(500)) .moveToElement(canvasWebElement, toElementPositionFromCenter.getX(), toElementPositionFromCenter.getY()) - .pause(Duration.ofSeconds(1)) + .pause(Duration.ofMillis(500)) .release() .perform(); return new RelationshipWizardComponent(webDriver); |