Skip to content
Snippets Groups Projects

Resolve "Solveur: le paramètre recherché n'est pas conservé"

2 files
+ 34
10
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 16
0
@@ -170,4 +170,20 @@ describe("Solveur - ", () => {
// check "search parameter" value has not changed
expect(await calcPage.getSelectValueText(sel)).toEqual(selText);
});
it("check solver searched parameter is set to 'bottom slope'", async () => {
// open "canal critical slope" example
const examples = await element.all(by.css("#examples-list .load-example"));
await examples[3].click();
await browser.sleep(500);
// select solver tab
await navbar.clickCalculatorTab(2);
await browser.sleep(500);
// check selected searched parameter text
const sel = calcPage.getSelectById("select_searched_param");
const selText = await calcPage.getSelectValueText(sel);
expect(selText).toEqual("If - Pente du fond (Sec. param.)");
});
});
Loading