diff --git a/e2e/examples-empty-fields.e2e-spec.ts b/e2e/examples-empty-fields.e2e-spec.ts index 85bec267a761953772d6333f29c10e3ee8225e84..447864c27413855d8f530c09b2c68423599e41a9 100644 --- a/e2e/examples-empty-fields.e2e-spec.ts +++ b/e2e/examples-empty-fields.e2e-spec.ts @@ -61,7 +61,7 @@ describe("ngHyd - Check that examples fields are not empty with 'empty fields on // open initial dialog const initDlgButton = await $(".param-computed-more"); - await initDlgButton.click(); + await initDlgButton.click(); // TODO #622 : "element click intercepted" Ã cause du layout (l'input recouvre le bouton "...") await browser.pause(200); // check input value is not null @@ -91,6 +91,7 @@ describe("ngHyd - Check that examples work with 'empty fields on calculator crea it("when calculation is run on a generated fish ladder calculator", async () => { await newSession(navBar, sideNav); + await navBar.clickNewCalculatorButton(); // open 1st example await navBar.openNthExampleSession(0); diff --git a/e2e/navbar.po.ts b/e2e/navbar.po.ts index 449b3639a6f570ee0f0b3b08702a2319935f864e..45f8a7f31f102a63e1d54fa84f66076eedf1b4d8 100644 --- a/e2e/navbar.po.ts +++ b/e2e/navbar.po.ts @@ -92,6 +92,7 @@ export class Navbar { async clickNewCalculatorButton() { const ncb = this.getNewCalculatorButton(); await ncb.click(); + await browser.pause(200); } async clickMenuButton() {