diff --git a/e2e/solveur.e2e-spec.ts b/e2e/solveur.e2e-spec.ts index e6956e3a680d3d033e009fdd383828d2dfb0d246..8c8383565b3557cf112c5c7f257e4712249e71b7 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);