1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-11-11 01:28:58 +03:00
n8n/cypress/pages/modals/change-password-modal.ts
Milorad FIlipović 8494c97821
test(editor): Add e2e tests for personal settings page (#5451)
 Added tests for personal user settings
2023-02-10 13:12:06 +01:00

13 lines
559 B
TypeScript

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'),
};
}