Commit 4d863c96 authored by Grand Francois's avatar Grand Francois
Browse files

fix(e2e): failing tests

refs #622
No related merge requests found
Pipeline #47736 failed with stages
in 1 minute
Showing with 3 additions and 1 deletion
+3 -1
...@@ -61,7 +61,7 @@ describe("ngHyd - Check that examples fields are not empty with 'empty fields on ...@@ -61,7 +61,7 @@ describe("ngHyd - Check that examples fields are not empty with 'empty fields on
// open initial dialog // open initial dialog
const initDlgButton = await $(".param-computed-more"); 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); await browser.pause(200);
// check input value is not null // check input value is not null
...@@ -91,6 +91,7 @@ describe("ngHyd - Check that examples work with 'empty fields on calculator crea ...@@ -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 () => { it("when calculation is run on a generated fish ladder calculator", async () => {
await newSession(navBar, sideNav); await newSession(navBar, sideNav);
await navBar.clickNewCalculatorButton();
// open 1st example // open 1st example
await navBar.openNthExampleSession(0); await navBar.openNthExampleSession(0);
......
...@@ -92,6 +92,7 @@ export class Navbar { ...@@ -92,6 +92,7 @@ export class Navbar {
async clickNewCalculatorButton() { async clickNewCalculatorButton() {
const ncb = this.getNewCalculatorButton(); const ncb = this.getNewCalculatorButton();
await ncb.click(); await ncb.click();
await browser.pause(200);
} }
async clickMenuButton() { async clickMenuButton() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment