Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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 d3c99b9
Show file tree
Hide file tree
Showing 2 changed files with 343 additions and 74 deletions.
Expand Up @@ -101,7 +101,7 @@ public String getName() {
* @return name used to distinguish links.
*/
public String getLinkId() {
return getDescriptor().getJsonSafeClassName();
return getDescriptor().getId().replace('.', '-').replace('$', '-');
}

/**
Expand Down Expand Up @@ -197,8 +197,7 @@ public Collection<Combination> getCombinations(
public boolean apply(MatrixRun r) {
Result result = r.getResult();
return (result != null)
&& result.isWorseThan(Result.SUCCESS)
&& result.isBetterOrEqualTo(Result.UNSTABLE);
&& result.isWorseThan(Result.UNSTABLE);
}
}
),
Expand Down

0 comments on commit d3c99b9

Please sign in to comment.