mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
test(editor): Add e2e tests for personal settings page (#5451)
✅ Added tests for personal user settings
This commit is contained in:
committed by
GitHub
parent
40879f67cb
commit
8494c97821
12
cypress/pages/modals/change-password-modal.ts
Normal file
12
cypress/pages/modals/change-password-modal.ts
Normal 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'),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user