Making changes in Maven Profile for Test Case Failure

This commit is contained in:
Sandeep Kumar 2016-11-11 09:03:53 +05:30
parent 41da06a7bc
commit de16f26011
2 changed files with 3 additions and 1 deletions

View File

@ -25,6 +25,7 @@
<include>**/*UnitTest.java</include>
</includes>
<systemPropertyVariables></systemPropertyVariables>
<testFailureIgnore>false</testFailureIgnore>
</configuration>
</plugin>
</plugins>
@ -42,6 +43,7 @@
<includes>
<include>**/*LiveTest.java</include>
</includes>
<testFailureIgnore>false</testFailureIgnore>
</configuration>
</plugin>
</plugins>

View File

@ -56,6 +56,6 @@ public class SeleniumExample {
}
public boolean isAuthorInformationAvailable() {
return webDriver.findElement(By.xpath("//*[contains(text(), 'Eugen an engineer')]")).isDisplayed();
return webDriver.findElement(By.xpath("//*[contains(text(), 'an engineer with a passion for teaching and building stuff on the web')]")).isDisplayed();
}
}