KEYCLOAK-728
This commit is contained in:
1 parent
eaaaf91963
commit
4eb60a169b
7 files changed
+32
-24
No files matched your search
@@ -348,7 +348,7 @@ public class AccountTest {
|
||||
|
||||
totpPage.configure(totp.generate(totpPage.getTotpSecret()));
|
||||
|
||||
Assert.assertEquals("Google authenticator configured.", profilePage.getSuccess());
|
||||
Assert.assertEquals("Mobile authenticator configured.", profilePage.getSuccess());
|
||||
|
||||
events.expectAccount(EventType.UPDATE_TOTP).assertEvent();
|
||||
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ public class AccountTotpPage extends AbstractAccountPage {
|
||||
@FindBy(css = "button[type=\"submit\"]")
|
||||
private WebElement submitButton;
|
||||
|
||||
@FindBy(id = "remove-google")
|
||||
@FindBy(id = "remove-mobile")
|
||||
private WebElement removeLink;
|
||||
|
||||
public void configure(String totp) {
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ public class LoginConfigTotpPage extends AbstractPage {
|
||||
}
|
||||
|
||||
public boolean isCurrent() {
|
||||
return driver.getTitle().equals("FreeOTP Authenticator Setup");
|
||||
return driver.getTitle().equals("Mobile Authenticator Setup");
|
||||
}
|
||||
|
||||
public void open() {
|
||||
|
||||
Reference in new issue
Block a user