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

no-jira: wait modals in group task selenium tests

parent fe6b2703
No related branches found
No related tags found
No related merge requests found
......@@ -91,6 +91,7 @@ public class GroupTaskPage {
By uploadButtonBy = By.cssSelector("#" + stepId + " .o_sel_course_gta_submit_file");
browser.findElement(uploadButtonBy).click();
OOGraphene.waitBusy(browser);
OOGraphene.waitModalDialog(browser);
By inputBy = By.cssSelector(".o_fileinput input[type='file']");
OOGraphene.uploadFile(inputBy, file, browser);
......@@ -106,6 +107,7 @@ public class GroupTaskPage {
By uploadButtonBy = By.cssSelector("#o_step_submit_content .o_sel_course_gta_create_doc");
browser.findElement(uploadButtonBy).click();
OOGraphene.waitBusy(browser);
OOGraphene.waitModalDialog(browser);
By filenameBy = By.cssSelector(".o_sel_course_gta_doc_filename input[type='text']");
browser.findElement(filenameBy).sendKeys(filename);
......
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