Fix error message in test
Signed-off-by: vramik <vramik@redhat.com>
This commit is contained in:
parent
f9f9a313b3
commit
b27a5d05b4
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ public class TermsAndConditionsTest extends AbstractTestRealmKeycloakTest {
|
|||
attributes.get(TermsAndConditions.USER_ATTRIBUTE));
|
||||
}
|
||||
assertThat(DroneUtils.getCurrentDriver().getTitle(), equalTo("Account Management"));
|
||||
Assert.assertTrue(DroneUtils.getCurrentDriver().getPageSource().contains("You need to agree to Terms and Conditions"));
|
||||
Assert.assertTrue(DroneUtils.getCurrentDriver().getPageSource().contains("You need to accept the Terms and Conditions to continue"));
|
||||
Assert.assertFalse(DroneUtils.getCurrentDriver().getPageSource().contains("An unexpected error occurred"));
|
||||
|
||||
WebElement tryAgainButton = DroneUtils.getCurrentDriver().findElement(By.tagName("button"));
|
||||
|
|
Loading…
Reference in a new issue