"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var BackupCodesPage = /** @class */ (function () {
    function BackupCodesPage(wrapper) {
        this.wrapper = wrapper;
    }
    BackupCodesPage.prototype.clickGenerate = function () {
        var button = this.wrapper.find('.backup-btn');
        button.simulate('click');
    };
    BackupCodesPage.prototype.isGenerateButtonActive = function () {
        this.wrapper.update();
        var button = this.wrapper.find('.backup-btn');
        return !button.prop('disabled');
    };
    BackupCodesPage.prototype.getBackupCodes = function () {
        this.wrapper.update();
        var backupCodes = this.wrapper.find('.backup-codes-item');
        return backupCodes;
    };
    return BackupCodesPage;
}());
exports.BackupCodesPage = BackupCodesPage;
//# sourceMappingURL=BackupCodesPage.js.map