From ef499093f2cbfada33e8b1310382730feb449e69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Grand?= <francois.grand@inrae.fr>
Date: Thu, 12 Jan 2023 08:30:41 +0100
Subject: [PATCH] test(e2e): backwater curvesi test: raise delays to prevent CI
 failures

refs master
---
 e2e/remous.e2e-spec.ts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/e2e/remous.e2e-spec.ts b/e2e/remous.e2e-spec.ts
index 78e1668ba..d13ccd48b 100644
--- a/e2e/remous.e2e-spec.ts
+++ b/e2e/remous.e2e-spec.ts
@@ -77,15 +77,15 @@ describe("ngHyd − remous", () => {
     it("Check that calculation with dx >= reach length fails", async () => {
         // load backwater curve session file with Dx>=Long
         await navBar.clickMenuButton();
-        await browser.sleep(200);
+        await browser.sleep(500);
         await sidenav.clickLoadSessionButton();
-        await browser.sleep(200);
-        await sidenav.loadSessionFile("./session/session-remous-dx-bief.json");
         await browser.sleep(500);
+        await sidenav.loadSessionFile("./session/session-remous-dx-bief.json");
+        await browser.sleep(1000);
 
         // Calculate, the calculation should fail
         await calcPage.getCalculateButton().click();
-        await browser.sleep(500);
+        await browser.sleep(1000);
 
         // check error message in log
         expect(await calcPage.nbLogEntries()).toBe(1);
-- 
GitLab