UNPKG

systelab-components-test

Version:

Widgets to be use in the E2E Tests based in Protractor

23 lines (22 loc) 860 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var widget_1 = require("./widget"); var RadioButton = /** @class */ (function (_super) { tslib_1.__extends(RadioButton, _super); function RadioButton() { return _super !== null && _super.apply(this, arguments) || this; } RadioButton.prototype.isSelected = function () { return tslib_1.__awaiter(this, void 0, void 0, function () { return tslib_1.__generator(this, function (_a) { switch (_a.label) { case 0: return [4 /*yield*/, this.elem.isSelected()]; case 1: return [2 /*return*/, _a.sent()]; } }); }); }; return RadioButton; }(widget_1.Widget)); exports.RadioButton = RadioButton;