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

OO-1018: fix selenium tests

parent a2d69dc1
No related branches found
No related tags found
No related merge requests found
......@@ -1448,7 +1448,7 @@ public class FunctionalEPortfolioUtil {
selectTree(browser, binder, page, structure);
/* open wizard by clicking link link */
StringBuffer selectorBuffer = new StringBuffer();
StringBuilder selectorBuffer = new StringBuilder();
selectorBuffer.append("xpath=//a[contains(@class, '")
.append(getAddLinkCss())
.append("')]");
......@@ -1464,7 +1464,7 @@ public class FunctionalEPortfolioUtil {
functionalUtil.idle(browser);
/* click appropriate artefact type */
selectorBuffer = new StringBuffer();
selectorBuffer = new StringBuilder();
selectorBuffer.append("xpath=//a[contains(@class, '")
.append(alias.getAddLinkCss())
......@@ -1496,20 +1496,9 @@ public class FunctionalEPortfolioUtil {
}
break;
}
functionalUtil.idle(browser);
/* close dialog */
selectorBuffer = new StringBuffer();
selectorBuffer.append("xpath=//div[contains(@class, 'b_window_header')]//a[contains(@class, '")
.append(functionalUtil.getWindowCloseLinkCss())
.append("')]");
browser.click(selectorBuffer.toString());
functionalUtil.waitForPageToLoad(browser);
return(true);
return true;
}
public FunctionalUtil getFunctionalUtil() {
......
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