getUtil().getURLToLoginAsAdminAndGotoPage(this.customProfilePage.getURL());
getUtil().recacheSecretToken();
PreferencesUserProfilePage preferencesPage = this.customProfilePage.switchToPreferences();
ChangePasswordPage changePasswordPage = preferencesPage.changePassword();
changePasswordPage.changePassword(PASSWORD_1, PASSWORD_2);
changePasswordPage.submit();
Alert alert = getDriver().switchTo().alert();
Assert.assertEquals(PASSWORD_MISMATCH, alert.getText());
alert.accept();
}
}