Skip to content
Snippets Groups Projects
Commit 950579f9 authored by srosse's avatar srosse
Browse files

no-jira: update selenium test for info messages course element

parent 9f328672
No related branches found
No related tags found
No related merge requests found
......@@ -238,10 +238,10 @@ public class InfoMessageCEPage {
By lengthBy = By.id("o_fiopane_tab_infos_config_max_shown_SELBOX");
WebElement lengthSelect = browser.findElement(lengthBy);
new Select(lengthSelect).selectByValue(Integer.toString(length));
By saveBy = By.cssSelector(".o_sel_course_info_form button.btn.btn-primary");
browser.findElement(saveBy).click();
OOGraphene.waitBusy(browser);
By selectedLengthBy = By.xpath("//select[@id='o_fiopane_tab_infos_config_max_shown_SELBOX']/option[@value='" + length + "'][@selected]");
OOGraphene.waitElement(selectedLengthBy, browser);
return this;
}
......
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