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

no-jira: debug failed loading of course by url

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