@Then("^I can see the password error messages$")
public void iCanSeeThePasswordErrorMessages() throws Throwable {
assertThat("Password error is displayed", dashboardPage.getPasswordErrorMessages(),
hasItems(
equalTo("Password must be at least 12 characters long"),
equalTo("Password may not be the same as previous 5 passwords"),
equalTo("Password must not contain user name, first name or last name"),
containsString("Password should contain at least one capitalized letter"),
containsString("Password should contain at least one lower case letter"),
containsString("Password should contain at least one digit")
)
);
}
LoginSteps.java 文件源码
java
阅读 19
收藏 0
点赞 0
评论 0
项目:hippo
作者:
评论列表
文章目录