From 17ded8b201a753c1d502ab07b8edfa5b42364b1b Mon Sep 17 00:00:00 2001 From: Anike Arni Date: Tue, 24 Mar 2015 13:56:00 -0300 Subject: [PATCH] fixes broken functional test [#115] @anikarni --- .../src/test/java/rocketboardPages/RocketboardPage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/spec/functionalTest/rocketboard/src/test/java/rocketboardPages/RocketboardPage.java b/test/spec/functionalTest/rocketboard/src/test/java/rocketboardPages/RocketboardPage.java index 89a8522..0a81c90 100644 --- a/test/spec/functionalTest/rocketboard/src/test/java/rocketboardPages/RocketboardPage.java +++ b/test/spec/functionalTest/rocketboard/src/test/java/rocketboardPages/RocketboardPage.java @@ -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 repoFilters; @FindBy(linkText="Advanced options") @@ -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