Skip to content
Snippets Groups Projects
Commit 5428e16a authored by srosse's avatar srosse
Browse files

OO-2636: selenium test for mobile roll call, split the course test in the test suites

parent 279925e1
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
This diff is collapsed.
......@@ -127,12 +127,10 @@ public class MembersWizardPage {
OOGraphene.waitBusyAndScrollTop(browser);
}
if(participant) {
By participantBy = By.cssSelector("label input[name='repoRights'][type='checkbox'][value='participant']");
WebElement participantEl = browser.findElement(participantBy);
OOGraphene.check(participantEl, new Boolean(participant));
OOGraphene.waitBusyAndScrollTop(browser);
}
By participantBy = By.cssSelector("label input[name='repoRights'][type='checkbox'][value='participant']");
WebElement participantEl = browser.findElement(participantBy);
OOGraphene.check(participantEl, new Boolean(participant));
OOGraphene.waitBusyAndScrollTop(browser);
return this;
}
......
......@@ -59,8 +59,17 @@ public class TeacherRollCallWizardPage {
return this;
}
public TeacherRollCallWizardPage saveAndNext() {
By saveBy = By.cssSelector("div.o_rollcall_wizard button.btn-primary");
browser.findElement(saveBy).click();
OOGraphene.waitBusy(browser);
return this;
}
public TeacherRollCallWizardPage closeRollCall() {
By closeBy = By.cssSelector("div.o_sel_lecture_confirm_close_form");
By closeBy = By.cssSelector("fieldset.o_sel_lecture_confirm_close_form button.btn-primary");
browser.findElement(closeBy).click();
OOGraphene.waitBusy(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