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

OO-4197: fix selenium test

parent 4a5766a0
No related branches found
No related tags found
No related merge requests found
......@@ -151,7 +151,7 @@ public class EfficiencyStatementPage {
if(courseTitle.length() > 25) {
courseTitle = courseTitle.substring(0, 25);
}
By collectBy = By.xpath("//div[contains(@class,'o_sel_certificates_table')]//table//tr[td[contains(text(),'" + courseTitle + "')]]/td/a[contains(@href,'cmd.MEDIA')]");
By collectBy = By.xpath("//div[contains(@class,'o_sel_certificates_table')]//table//tr[td[contains(text(),'" + courseTitle + "')]]/td/a[contains(@href,'cmd.MEDIA')][i[contains(@class,'o_icon_eportfolio_add')]]");
OOGraphene.waitElement(collectBy, browser);
OOGraphene.scrollTo(collectBy, browser);
browser.findElement(collectBy).click();
......
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