From 53d1bda91851cdd1a2d92f1c339bf29136c7d29d Mon Sep 17 00:00:00 2001 From: apanizo Date: Wed, 20 Jun 2018 14:11:07 +0200 Subject: [PATCH] Increasing time for deploying a safe in tests --- src/routes/safe/store/test/builder/deployedSafe.builder.js | 2 +- src/test/builder/safe.dom.builder.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/safe/store/test/builder/deployedSafe.builder.js b/src/routes/safe/store/test/builder/deployedSafe.builder.js index e57a3395..2429747f 100644 --- a/src/routes/safe/store/test/builder/deployedSafe.builder.js +++ b/src/routes/safe/store/test/builder/deployedSafe.builder.js @@ -68,7 +68,7 @@ const deploySafe = async (safe: React$Component<{}>, dailyLimit: string, thresho // giving some time to the component for updating its state with safe // before destroying its context - await sleep(9000) + await sleep(12000) // THEN const deployed = TestUtils.findRenderedDOMComponentWithClass(safe, DEPLOYED_COMPONENT_ID) diff --git a/src/test/builder/safe.dom.builder.js b/src/test/builder/safe.dom.builder.js index 8d92dfc7..361c94b8 100644 --- a/src/test/builder/safe.dom.builder.js +++ b/src/test/builder/safe.dom.builder.js @@ -71,7 +71,7 @@ const deploySafe = async (safe: React$Component<{}>, dailyLimit: string, thresho // giving some time to the component for updating its state with safe // before destroying its context - await sleep(9000) + await sleep(12000) // THEN const deployed = TestUtils.findRenderedDOMComponentWithClass(safe, DEPLOYED_COMPONENT_ID)