use of ru.sbtqa.tag.pagefactory.web.checks.WebPageChecks in project page-factory-2 by sbtqa.
the class ContactPage method errNotContains.
@ActionTitle("check that error message not contains")
public void errNotContains(String message) {
WebPageChecks checks = new WebPageChecks();
Assert.assertFalse(checks.checkEquality(errorMsg, message, MatchStrategy.CONTAINS));
}
use of ru.sbtqa.tag.pagefactory.web.checks.WebPageChecks in project page-factory-2 by sbtqa.
the class ContactPage method errContains.
@ActionTitle("check that error message contains")
public void errContains(String message) {
WebPageChecks checks = new WebPageChecks();
Assert.assertTrue(checks.checkEquality(errorMsg, message, MatchStrategy.CONTAINS));
}
Aggregations