n8n/cypress/pages/modals/mfa-setup-modal.ts
Ricardo Espinoza 2b7ba6fdf1
feat(core): Add MFA (#4767)
https://linear.app/n8n/issue/ADO-947/sync-branch-with-master-and-fix-fe-e2e-tets

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-08-23 22:59:16 -04:00

12 lines
441 B
TypeScript

import { BasePage } from './../base';
export class MfaSetupModal extends BasePage {
getters = {
modalContainer: () => cy.getByTestId('changePassword-modal').last(),
tokenInput: () => cy.getByTestId('mfa-token-input'),
copySecretToClipboardButton: () => cy.getByTestId('mfa-secret-button'),
downloadRecoveryCodesButton: () => cy.getByTestId('mfa-recovery-codes-button'),
saveButton: () => cy.getByTestId('mfa-save-button'),
};
}