Skip to content

Commit

Permalink
fixes broken functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
anikarni committed Mar 24, 2015
1 parent 3d8c919 commit 17ded8b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public class RocketboardPage {
@FindBy(css="div#myModal > div")
WebElement outsideModal;

@FindBy(css = "header > div > span > tag > i")
@FindBy(css = "header > div > span > label > i")
List<WebElement> repoFilters;

@FindBy(linkText="Advanced options")
Expand Down Expand Up @@ -162,7 +162,7 @@ public void createIssue(String titleTxt, String descTxt, String repoName, String

public void clickRepo(String repoKey) throws Exception {
waitingLoading();
WebElement element = driver.findElement(By.cssSelector("input[repo='"+repoKey+"'] + tag > i"));
WebElement element = driver.findElement(By.cssSelector("input[repo='"+repoKey+"'] + label > i"));
if (element != null)
checkRepositoryPosition(element);
else
Expand Down

0 comments on commit 17ded8b

Please sign in to comment.