Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WINDUP-822: Overview page should list projects with collapsable div #763

Merged
merged 1 commit into from Nov 12, 2015

Conversation

mbriskar
Copy link
Contributor

No description provided.

@mbriskar
Copy link
Contributor Author

screenshot from 2015-11-10 12-53-47

@windupgithubbot1
Copy link

Refer to this link for build results (access rights to CI server needed):
http://wonka.mw.lab.eng.bos.redhat.com/jenkins//job/windup-core-PR-dependents-check/580/

@windupgithubbot1
Copy link

Refer to this link for build results (access rights to CI server needed):
http://wonka.mw.lab.eng.bos.redhat.com/jenkins//job/windup-pr-builder/1208/

* @return
*/
private String getElementXPath(WebDriver driver, WebElement element) {
return "/html/" + (String)((JavascriptExecutor)driver).executeScript("gPt=function(c){if(c.id!==''){return'id(\"'+c.id+'\")'}if(c===document.body){return c.tagName}var a=0;var e=c.parentNode.childNodes;for(var b=0;b<e.length;b++){var d=e[b];if(d===c){return gPt(c.parentNode)+'/'+c.tagName+'['+(a+1)+']'}if(d.nodeType===1&&d.tagName===c.tagName){a++}}};return gPt(arguments[0]).toLowerCase();", element);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lol, figuring that out had to be painful.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

most of it is copied from stackoverflow answer :)

jsight added a commit that referenced this pull request Nov 12, 2015
WINDUP-822: Overview page should list projects with collapsable div
@jsight jsight merged commit 174e6ef into windup:master Nov 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants