n8n/cypress/pages/modals/mfa-setup-modal.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
441 B
TypeScript
Raw Normal View History

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