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

Merge remote-tracking branch 'origin/OpenOLAT_15.0'

parents a0887d40 5184d06f
No related branches found
No related tags found
No related merge requests found
......@@ -64,8 +64,13 @@ public class CoursePageFragment {
}
public static CoursePageFragment getCourse(WebDriver browser, URL deploymentUrl, CourseVO course) {
browser.navigate().to(deploymentUrl.toExternalForm() + "url/RepositoryEntry/" + course.getRepoEntryKey());
OOGraphene.waitElement(courseRun, browser);
browser.get(deploymentUrl.toExternalForm() + "url/RepositoryEntry/" + course.getRepoEntryKey());
try {
OOGraphene.waitElementSlowly(courseRun, 10, browser);
} catch (Exception e) {
OOGraphene.takeScreenshot("GetcourseByGet", browser);
throw e;
}
return new CoursePageFragment(browser);
}
......
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