From b34cfe3df0ad8d63c293e75833df3ea43d1a7627 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Grand?= <francois.grand@inrae.fr>
Date: Tue, 30 May 2023 09:58:23 +0200
Subject: [PATCH] fix(e2e): failing test, probably due to insufficent timing

refs #621
---
 e2e/pab-cloisons-empty-fields.e2e-spec.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/e2e/pab-cloisons-empty-fields.e2e-spec.ts b/e2e/pab-cloisons-empty-fields.e2e-spec.ts
index d1443fb78..548b10d2e 100644
--- a/e2e/pab-cloisons-empty-fields.e2e-spec.ts
+++ b/e2e/pab-cloisons-empty-fields.e2e-spec.ts
@@ -60,12 +60,12 @@ describe("ngHyd - check the cross walls calculator has empty fields - ", () => {
         // calculate
         const calcButton = await calcPage.getCalculateButton();
         await calcButton.click();
-        await browser.pause(200);
+        await browser.pause(1000);
 
         // click "generate PAB" button
         const genButton = await calcPage.getGeneratePabButton();
         await genButton.click();
-        await browser.pause(2000);
+        await browser.pause(3000);
 
         await calcPage.checkEmptyOrFilledFields(["generatePabNbBassins"], [true]);
     });
-- 
GitLab