From 6b533b601ff6a56388b8c9e4c14bb8f250770d7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Grand?= <francois.grand@inrae.fr> Date: Wed, 1 Mar 2023 14:33:05 +0100 Subject: [PATCH] fix(e2e): solver: wrong 'empty field' option value refs #601 --- e2e/solveur.e2e-spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/solveur.e2e-spec.ts b/e2e/solveur.e2e-spec.ts index e6956e3a6..8c8383565 100644 --- a/e2e/solveur.e2e-spec.ts +++ b/e2e/solveur.e2e-spec.ts @@ -377,8 +377,8 @@ describe("Solveur - nghyd#601 without empty fields option", () => { }); it(" with empty fields option, check selecting a target module does not fill inputs", async () => { - // disable evil option "empty fields on module creation" - await prefPage.setEmptyFields(false); + // enable evil option "empty fields on module creation" + await prefPage.setEmptyFields(true); await browser.sleep(200); await navBar.clickNewCalculatorButton(); @@ -399,7 +399,7 @@ describe("Solveur - nghyd#601 without empty fields option", () => { // select other target module const ntc = calcPage.getSelectById("select_target_nub"); - await calcPage.changeSelectValue(ntc, 1); + await changeSelectValue(ntc, 1); // check target value input is empty await calcPage.checkEmptyInput("Ytarget", true); -- GitLab