Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 94eb7079 authored by Mihai BOZ's avatar Mihai BOZ
Browse files

modify locator for expired on element to fix test.

parent bdd6549d
No related branches found
No related tags found
Loading
Pipeline #110716 passed with warnings
......@@ -26,7 +26,7 @@ public class UserDataCommonComponent extends DomiSMPPage {
private WebElement fullNameInput;
@FindBy(id = "passwordUpdatedOn_id")
private WebElement lastSetLbl;
@FindBy(id = "passwordExpireOnMessage_id")
@FindBy(id = "passwordExpireOn_id")
private WebElement passwordExpiresOnLbl;
public UserDataCommonComponent(WebDriver driver) {
......
......@@ -45,7 +45,6 @@ public class LoginPage extends DomiSMPPage {
}
} catch (Exception e) {
LOG.debug("Password expiration popup is not present");
throw new RuntimeException("Password expiration popup is not present", e);
}
......
......@@ -149,7 +149,6 @@ public class ProfilePgTests extends SeleniumTest {
String oldLastSet = profilePage.profileData.getLastSetValue();
String oldPasswordExpiresOn = profilePage.profileData.getPasswordExpiresOnValue();
//profilePage.profileData.setChangePasswordBtn.click();
String newPass = "Edeltest!23456789Edelt" + Generator.randomAlphaNumericValue(4);
SetChangePasswordDialog setChangePasswordDialog = profilePage.profileData.clickOnChangePassword();
setChangePasswordDialog.fillChangePassword(data.getNewPassword(), newPass);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment