Skip to content
Snippets Groups Projects
Commit b5e2fef2 authored by François Grand's avatar François Grand
Browse files

fix(e2e): fix broken "all calculator examples" test

refs #516
parent e99d3bf6
No related branches found
No related tags found
2 merge requests!133Release version 4.15.0,!126Resolve "Cloisons > Générer une PAB: vider les champs"
Pipeline #139489 passed
......@@ -49,12 +49,14 @@ describe("ngHyd − example sessions −", async () => {
}
const examples = await element.all(by.css("#examples-list .load-example"));
await browser.sleep(200);
if (examples.length > i) {
// click example #i
await examples[i].click();
await browser.sleep(50);
await browser.sleep(200);
const nbModules = await navbar.getCalculatorEntriesCount();
await browser.sleep(200);
for (let j = 0; j < nbModules; j++) {
// select module
await navbar.openNthCalculator(j);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment