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

OO-4454: fix XPath to catalog category link for Firefox

parent 9ae4408f
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,7 @@ public class MyCoursesPage {
}
public MyCoursesPage selectCatalogEntry(String shortTitle) {
By titleBy = By.xpath("//div[contains(@class,'o_sublevel')][div[contains(@class,'o_meta')]/h4[@class='o_title'][contains(.,'" + shortTitle + "')]]/div/a");
By titleBy = By.xpath("//div[contains(@class,'o_sublevel')]/div[contains(@class,'o_meta')]/h4/a[span[contains(.,'" + shortTitle + "')]]");
OOGraphene.waitElement(titleBy, browser);
List<WebElement> titleLinks = browser.findElements(titleBy);
Assert.assertEquals(1, titleLinks.size());
......
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