test(editor): Add e2e tests for personal settings page (#5451)

 Added tests for personal user settings
This commit is contained in:
Milorad FIlipović
2023-02-10 13:12:06 +01:00
committed by GitHub
parent 40879f67cb
commit 8494c97821
5 changed files with 122 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
import { BasePage } from './../base';
export class ChangePasswordModal extends BasePage {
getters = {
modalContainer: () => cy.getByTestId('changePassword-modal').last(),
currentPasswordInput: () => cy.getByTestId('currentPassword').find('input').first(),
newPasswordInputContainer: () => cy.getByTestId('password'),
newPasswordInput: () => cy.getByTestId('password').find('input').first(),
repeatPasswordInput: () => cy.getByTestId('password2').find('input').first(),
changePasswordButton: () => cy.getByTestId('change-password-button'),
};
}