Skip to content
Permalink
Browse files

[JENKINS-36894] Fix tests broken for JENKINS-36894

Now they use HTML classes to find HTML elements.
  • Loading branch information
ikedam committed Aug 2, 2016
1 parent 4cca271 commit d3c99b94d1d5991d70aac3f8a969dc42ebde75e3
@@ -101,7 +101,7 @@ public String getName() {
* @return name used to distinguish links.
*/
public String getLinkId() {
return getDescriptor().getJsonSafeClassName();
return getDescriptor().getId().replace('.', '-').replace('$', '-');
}

/**
@@ -197,8 +197,7 @@ public Failed() {
public boolean apply(MatrixRun r) {
Result result = r.getResult();
return (result != null)
&& result.isWorseThan(Result.SUCCESS)
&& result.isBetterOrEqualTo(Result.UNSTABLE);
&& result.isWorseThan(Result.UNSTABLE);
}
}
),

0 comments on commit d3c99b9

Please sign in to comment.
You can’t perform that action at this time.