@progress/kendo-e2e 3.4.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/actionsheet.d.ts +7 -0
- package/dist/components/actionsheet.js +28 -0
- package/dist/components/actionsheet.js.map +1 -0
- package/dist/components/appbar.d.ts +6 -0
- package/dist/components/appbar.js +13 -0
- package/dist/components/appbar.js.map +1 -0
- package/dist/components/arcgauge.d.ts +7 -0
- package/dist/components/arcgauge.js +37 -0
- package/dist/components/arcgauge.js.map +1 -0
- package/dist/components/autocomplete.d.ts +6 -3
- package/dist/components/autocomplete.js +6 -5
- package/dist/components/autocomplete.js.map +1 -1
- package/dist/components/bottomnavigation.d.ts +8 -0
- package/dist/components/bottomnavigation.js +30 -0
- package/dist/components/bottomnavigation.js.map +1 -0
- package/dist/components/breadcrumb.d.ts +11 -0
- package/dist/components/breadcrumb.js +46 -0
- package/dist/components/breadcrumb.js.map +1 -0
- package/dist/components/calendar.d.ts +20 -0
- package/dist/components/calendar.js +89 -0
- package/dist/components/calendar.js.map +1 -0
- package/dist/components/captcha.d.ts +14 -0
- package/dist/components/captcha.js +65 -0
- package/dist/components/captcha.js.map +1 -0
- package/dist/components/chat.d.ts +12 -0
- package/dist/components/chat.js +58 -0
- package/dist/components/chat.js.map +1 -0
- package/dist/components/checkbox.d.ts +10 -0
- package/dist/components/checkbox.js +39 -0
- package/dist/components/checkbox.js.map +1 -0
- package/dist/components/colorpicker.d.ts +17 -0
- package/dist/components/colorpicker.js +94 -0
- package/dist/components/colorpicker.js.map +1 -0
- package/dist/components/columnmenu.d.ts +12 -0
- package/dist/components/columnmenu.js +62 -0
- package/dist/components/columnmenu.js.map +1 -0
- package/dist/components/combobox.d.ts +7 -3
- package/dist/components/combobox.js +37 -1
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/const.d.ts +17 -8
- package/dist/components/const.js +21 -12
- package/dist/components/const.js.map +1 -1
- package/dist/components/datepicker.d.ts +14 -0
- package/dist/components/datepicker.js +62 -0
- package/dist/components/datepicker.js.map +1 -0
- package/dist/components/daterangepicker.d.ts +18 -0
- package/dist/components/daterangepicker.js +78 -0
- package/dist/components/daterangepicker.js.map +1 -0
- package/dist/components/datetimepicker.d.ts +15 -0
- package/dist/components/datetimepicker.js +67 -0
- package/dist/components/datetimepicker.js.map +1 -0
- package/dist/components/dialog.d.ts +10 -0
- package/dist/components/dialog.js +41 -0
- package/dist/components/dialog.js.map +1 -0
- package/dist/components/dockmanager.d.ts +12 -0
- package/dist/components/dockmanager.js +58 -0
- package/dist/components/dockmanager.js.map +1 -0
- package/dist/components/drawer.d.ts +10 -0
- package/dist/components/drawer.js +39 -0
- package/dist/components/drawer.js.map +1 -0
- package/dist/components/dropdown.d.ts +18 -9
- package/dist/components/dropdown.js +63 -29
- package/dist/components/dropdown.js.map +1 -1
- package/dist/components/dropdownbutton.d.ts +9 -0
- package/dist/components/dropdownbutton.js +40 -0
- package/dist/components/dropdownbutton.js.map +1 -0
- package/dist/components/dropdownlist.d.ts +9 -0
- package/dist/components/dropdownlist.js +44 -0
- package/dist/components/dropdownlist.js.map +1 -0
- package/dist/components/dropdowntree.d.ts +11 -0
- package/dist/components/dropdowntree.js +53 -0
- package/dist/components/dropdowntree.js.map +1 -0
- package/dist/components/editor.d.ts +11 -0
- package/dist/components/editor.js +70 -0
- package/dist/components/editor.js.map +1 -0
- package/dist/components/expansionpanel.d.ts +12 -0
- package/dist/components/expansionpanel.js +60 -0
- package/dist/components/expansionpanel.js.map +1 -0
- package/dist/components/filemanager.d.ts +8 -0
- package/dist/components/filemanager.js +27 -0
- package/dist/components/filemanager.js.map +1 -0
- package/dist/components/filter.d.ts +33 -0
- package/dist/components/filter.js +147 -0
- package/dist/components/filter.js.map +1 -0
- package/dist/components/filtermenu.d.ts +34 -0
- package/dist/components/filtermenu.js +99 -0
- package/dist/components/filtermenu.js.map +1 -0
- package/dist/components/flatcolorpicker.d.ts +12 -0
- package/dist/components/flatcolorpicker.js +47 -0
- package/dist/components/flatcolorpicker.js.map +1 -0
- package/dist/components/floatingactionbutton.d.ts +10 -0
- package/dist/components/floatingactionbutton.js +42 -0
- package/dist/components/floatingactionbutton.js.map +1 -0
- package/dist/components/form.d.ts +16 -0
- package/dist/components/form.js +61 -0
- package/dist/components/form.js.map +1 -0
- package/dist/components/gantt.d.ts +20 -0
- package/dist/components/gantt.js +98 -0
- package/dist/components/gantt.js.map +1 -0
- package/dist/components/gauge.d.ts +8 -0
- package/dist/components/gauge.js +31 -0
- package/dist/components/gauge.js.map +1 -0
- package/dist/components/grid.d.ts +15 -19
- package/dist/components/grid.js +32 -62
- package/dist/components/grid.js.map +1 -1
- package/dist/components/imagedditor.d.ts +30 -0
- package/dist/components/imagedditor.js +134 -0
- package/dist/components/imagedditor.js.map +1 -0
- package/dist/components/index.d.ts +68 -0
- package/dist/components/index.js +68 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/input.d.ts +14 -0
- package/dist/components/input.js +48 -0
- package/dist/components/input.js.map +1 -0
- package/dist/components/listbox.d.ts +14 -0
- package/dist/components/listbox.js +59 -0
- package/dist/components/listbox.js.map +1 -0
- package/dist/components/listview.d.ts +23 -0
- package/dist/components/listview.js +100 -0
- package/dist/components/listview.js.map +1 -0
- package/dist/components/maskedtextbox.d.ts +10 -0
- package/dist/components/maskedtextbox.js +41 -0
- package/dist/components/maskedtextbox.js.map +1 -0
- package/dist/components/mediaplayer.d.ts +22 -0
- package/dist/components/mediaplayer.js +128 -0
- package/dist/components/mediaplayer.js.map +1 -0
- package/dist/components/menu.d.ts +24 -0
- package/dist/components/menu.js +108 -0
- package/dist/components/menu.js.map +1 -0
- package/dist/components/multicolumncombobox.d.ts +8 -0
- package/dist/components/multicolumncombobox.js +36 -0
- package/dist/components/multicolumncombobox.js.map +1 -0
- package/dist/components/multiselect.d.ts +12 -0
- package/dist/components/multiselect.js +55 -0
- package/dist/components/multiselect.js.map +1 -0
- package/dist/components/numerictextbox.d.ts +12 -0
- package/dist/components/numerictextbox.js +57 -0
- package/dist/components/numerictextbox.js.map +1 -0
- package/dist/components/pager.d.ts +19 -4
- package/dist/components/pager.js +69 -11
- package/dist/components/pager.js.map +1 -1
- package/dist/components/panelbar.d.ts +16 -0
- package/dist/components/panelbar.js +72 -0
- package/dist/components/panelbar.js.map +1 -0
- package/dist/components/pdfviewer.d.ts +16 -0
- package/dist/components/pdfviewer.js +68 -0
- package/dist/components/pdfviewer.js.map +1 -0
- package/dist/components/pivotgrid-legacy.d.ts +91 -0
- package/dist/components/pivotgrid-legacy.js +447 -0
- package/dist/components/pivotgrid-legacy.js.map +1 -0
- package/dist/components/pivotgrid.d.ts +79 -0
- package/dist/components/pivotgrid.js +405 -0
- package/dist/components/pivotgrid.js.map +1 -0
- package/dist/components/popup.d.ts +1 -1
- package/dist/components/progressbar.d.ts +8 -0
- package/dist/components/progressbar.js +28 -0
- package/dist/components/progressbar.js.map +1 -0
- package/dist/components/radiobutton.d.ts +10 -0
- package/dist/components/radiobutton.js +39 -0
- package/dist/components/radiobutton.js.map +1 -0
- package/dist/components/rating.d.ts +11 -0
- package/dist/components/rating.js +43 -0
- package/dist/components/rating.js.map +1 -0
- package/dist/components/scheduler.d.ts +35 -0
- package/dist/components/scheduler.js +142 -0
- package/dist/components/scheduler.js.map +1 -0
- package/dist/components/scrollview.d.ts +15 -0
- package/dist/components/scrollview.js +63 -0
- package/dist/components/scrollview.js.map +1 -0
- package/dist/components/signature.d.ts +15 -0
- package/dist/components/signature.js +47 -0
- package/dist/components/signature.js.map +1 -0
- package/dist/components/slider.d.ts +13 -0
- package/dist/components/slider.js +53 -0
- package/dist/components/slider.js.map +1 -0
- package/dist/components/splitbutton.d.ts +17 -0
- package/dist/components/splitbutton.js +80 -0
- package/dist/components/splitbutton.js.map +1 -0
- package/dist/components/splitter.d.ts +14 -0
- package/dist/components/splitter.js +64 -0
- package/dist/components/splitter.js.map +1 -0
- package/dist/components/spreadsheet.d.ts +19 -0
- package/dist/components/spreadsheet.js +48 -0
- package/dist/components/spreadsheet.js.map +1 -0
- package/dist/components/stepper.d.ts +11 -0
- package/dist/components/stepper.js +45 -0
- package/dist/components/stepper.js.map +1 -0
- package/dist/components/switch.d.ts +10 -0
- package/dist/components/switch.js +40 -0
- package/dist/components/switch.js.map +1 -0
- package/dist/components/table.d.ts +57 -0
- package/dist/components/table.js +237 -0
- package/dist/components/table.js.map +1 -0
- package/dist/components/tabstrip.d.ts +18 -0
- package/dist/components/tabstrip.js +73 -0
- package/dist/components/tabstrip.js.map +1 -0
- package/dist/components/textbox.d.ts +15 -0
- package/dist/components/textbox.js +69 -0
- package/dist/components/textbox.js.map +1 -0
- package/dist/components/tilelayout.d.ts +11 -0
- package/dist/components/tilelayout.js +39 -0
- package/dist/components/tilelayout.js.map +1 -0
- package/dist/components/timedurationpicker.d.ts +27 -0
- package/dist/components/timedurationpicker.js +146 -0
- package/dist/components/timedurationpicker.js.map +1 -0
- package/dist/components/timeline.d.ts +27 -0
- package/dist/components/timeline.js +150 -0
- package/dist/components/timeline.js.map +1 -0
- package/dist/components/timepicker.d.ts +19 -0
- package/dist/components/timepicker.js +97 -0
- package/dist/components/timepicker.js.map +1 -0
- package/dist/components/toolbar.d.ts +11 -0
- package/dist/components/toolbar.js +34 -0
- package/dist/components/toolbar.js.map +1 -0
- package/dist/components/treelist.d.ts +13 -0
- package/dist/components/treelist.js +51 -0
- package/dist/components/treelist.js.map +1 -0
- package/dist/components/treeview.d.ts +16 -0
- package/dist/components/treeview.js +113 -0
- package/dist/components/treeview.js.map +1 -0
- package/dist/components/ui-component.d.ts +3 -1
- package/dist/components/ui-component.js +16 -0
- package/dist/components/ui-component.js.map +1 -1
- package/dist/components/upload.d.ts +20 -0
- package/dist/components/upload.js +99 -0
- package/dist/components/upload.js.map +1 -0
- package/dist/components/window.d.ts +12 -0
- package/dist/components/window.js +50 -0
- package/dist/components/window.js.map +1 -0
- package/dist/components/wizard.d.ts +12 -0
- package/dist/components/wizard.js +31 -0
- package/dist/components/wizard.js.map +1 -0
- package/dist/selenium/driver-manager.js +1 -0
- package/dist/selenium/driver-manager.js.map +1 -1
- package/dist/selenium/web-app.d.ts +2 -0
- package/dist/selenium/web-app.js +28 -1
- package/dist/selenium/web-app.js.map +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.SchedulerEventWindow = exports.Scheduler = void 0;
|
|
13
|
+
const ui_component_1 = require("./ui-component");
|
|
14
|
+
const window_1 = require("./window");
|
|
15
|
+
const datepicker_1 = require("./datepicker");
|
|
16
|
+
const const_1 = require("./const");
|
|
17
|
+
const selenium_1 = require("../selenium");
|
|
18
|
+
class Scheduler extends ui_component_1.UIComponent {
|
|
19
|
+
constructor(browser, locator = const_1.SELECTORS.SCHEDULER, parentElement) {
|
|
20
|
+
super(browser, locator, parentElement);
|
|
21
|
+
this.parentElement = parentElement;
|
|
22
|
+
}
|
|
23
|
+
toolbar() {
|
|
24
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25
|
+
return yield this.findChild('.k-scheduler-toolbar');
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
calendarIcon() {
|
|
29
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30
|
+
return yield this.findChild(Scheduler.CALENDAR_ICON);
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
todayButton() {
|
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
+
return yield this.findChild(".k-nav-today");
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
getPrevButton() {
|
|
39
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
40
|
+
return yield this.findChild(".k-nav-prev");
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
getNextButton() {
|
|
44
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
45
|
+
return yield this.findChild(".k-nav-next");
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
currentNavText() {
|
|
49
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
50
|
+
const navButton = ".k-scheduler-toolbar button.k-nav-current > span.k-button-text";
|
|
51
|
+
return yield (yield this.findChild(navButton)).getText();
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
switchToView(view) {
|
|
55
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
56
|
+
const newView = yield this.findChild(`button.k-view-${view}`);
|
|
57
|
+
yield newView.click();
|
|
58
|
+
yield this.browser.wait(selenium_1.EC.hasClass(newView, 'k-selected'), { message: `Failed to select ${view} view.` });
|
|
59
|
+
yield this.waitUntilLoaded();
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
getEvent(index) {
|
|
63
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
64
|
+
return yield this.findChild(`.k-scheduler-content > div.k-event:nth-of-type(${index})`);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
getAgendaViewEvent(index) {
|
|
68
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
69
|
+
const task = '.k-scheduler-content .k-task';
|
|
70
|
+
return (yield this.findChildren(task))[index];
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
getEventWindow() {
|
|
74
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
75
|
+
const window = new SchedulerEventWindow(this.browser, '.k-window');
|
|
76
|
+
yield this.browser.waitForAnimation('.k-window');
|
|
77
|
+
return window;
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
Scheduler.SELECTOR = const_1.SELECTORS.SCHEDULER;
|
|
82
|
+
Scheduler.CALENDAR_ICON = ".k-scheduler-toolbar button.k-nav-current .k-svg-i-calendar";
|
|
83
|
+
exports.Scheduler = Scheduler;
|
|
84
|
+
class SchedulerEventWindow extends window_1.Window {
|
|
85
|
+
constructor(browser, locator = SchedulerEventWindow.SELECTOR, parentElement) {
|
|
86
|
+
super(browser, locator, parentElement);
|
|
87
|
+
this.parentElement = parentElement;
|
|
88
|
+
}
|
|
89
|
+
getEventTitleField() {
|
|
90
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
91
|
+
return yield this.findChild('.k-window-content input[name="title"]');
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
getEventStartPicker() {
|
|
95
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
96
|
+
return new datepicker_1.DatePicker(this.browser, '.k-window-content input[name="start"]', SchedulerEventWindow.SELECTOR);
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
getEventEndPicker() {
|
|
100
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
101
|
+
return new datepicker_1.DatePicker(this.browser, '.k-window-content input[name="end"]', SchedulerEventWindow.SELECTOR);
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
descriptionField() {
|
|
105
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
106
|
+
return yield this.findChild('.k-window-content textarea[name="description"]');
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
saveButton() {
|
|
110
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
111
|
+
return yield this.findChild('.k-edit-buttons .k-scheduler-update');
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
cancelButton() {
|
|
115
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
116
|
+
return yield this.findChild('.k-edit-buttons .k-scheduler-cancel');
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
deleteButton() {
|
|
120
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
121
|
+
return yield this.findChild('.k-edit-buttons .k-scheduler-delete');
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
isAllDayCheckbox() {
|
|
125
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
126
|
+
return yield this.findChild('.k-window-content input[name="isAllDay"]');
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
timeZoneButton() {
|
|
130
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
131
|
+
return yield this.findChild('div[data-container-for="timezone"] a');
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
repeatButton(text) {
|
|
135
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
136
|
+
return yield this.findChild(`div[name="recurrenceRule"] [aria-label="Repeat${text}"]`);
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
SchedulerEventWindow.SELECTOR = const_1.SELECTORS.WINDOW;
|
|
141
|
+
exports.SchedulerEventWindow = SchedulerEventWindow;
|
|
142
|
+
//# sourceMappingURL=scheduler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scheduler.js","sourceRoot":"","sources":["../../src/components/scheduler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA6C;AAC7C,qCAAkC;AAClC,6CAA0C;AAC1C,mCAAoC;AACpC,0CAA0D;AAE1D,MAAa,SAAU,SAAQ,0BAAW;IAItC,YAAY,OAAgB,EAAE,OAAO,GAAG,iBAAS,CAAC,SAAS,EAAY,aAAwC;QAC3G,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,aAAa,CAAC,CAAC;QAD4B,kBAAa,GAAb,aAAa,CAA2B;IAE/G,C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AC,CAAC;QACvE,CAAC;KAAA;IAEK,YAAY;;YACd,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,qCAAqC,CAAC,CAAC;QACvE,CAAC;KAAA;IAEK,gBAAgB;;YAClB,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,0CAA0C,CAAC,CAAC;QAC5E,CAAC;KAAA;IAEK,cAAc;;YAChB,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,sCAAsC,CAAC,CAAC;QACxE,CAAC;KAAA;IAEK,YAAY,CAAC,IAAY;;YAC3B,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,iDAAiD,IAAI,IAAI,CAAC,CAAC;QAC3F,CAAC;KAAA;;AA5Ca,6BAAQ,GAAG,iBAAS,CAAC,MAAM,CAAC;AADjC,oDAAoB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Browser, By, WebElement } from "../selenium";
|
|
2
|
+
import { UIComponent } from "./ui-component";
|
|
3
|
+
export declare class ScrollView extends UIComponent {
|
|
4
|
+
protected parentElement?: WebElement | By | string;
|
|
5
|
+
static SELECTOR: string;
|
|
6
|
+
constructor(browser: Browser, locator?: string, parentElement?: WebElement | By | string);
|
|
7
|
+
getItemByIndex(index: number): Promise<WebElement>;
|
|
8
|
+
getItemCSS(index: number): Promise<string>;
|
|
9
|
+
isAriaHidden(index: number): Promise<boolean>;
|
|
10
|
+
isItemVisible(index: number): Promise<boolean>;
|
|
11
|
+
getNextButton(): Promise<WebElement>;
|
|
12
|
+
getPrevButton(): Promise<WebElement>;
|
|
13
|
+
nextButtonClick(): Promise<void>;
|
|
14
|
+
prevButtonClick(): Promise<void>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ScrollView = void 0;
|
|
13
|
+
const const_1 = require("./const");
|
|
14
|
+
const ui_component_1 = require("./ui-component");
|
|
15
|
+
class ScrollView extends ui_component_1.UIComponent {
|
|
16
|
+
constructor(browser, locator = ScrollView.SELECTOR, parentElement) {
|
|
17
|
+
super(browser, locator, parentElement);
|
|
18
|
+
this.parentElement = parentElement;
|
|
19
|
+
}
|
|
20
|
+
getItemByIndex(index) {
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
return (yield this.findChildren('.k-scrollview-wrap div'))[index];
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
getItemCSS(index) {
|
|
26
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27
|
+
return yield (yield this.getItemByIndex(index)).getAttribute('class');
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
isAriaHidden(index) {
|
|
31
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
32
|
+
return (yield (yield this.getItemByIndex(index)).getAttribute('aria-hidden')).includes("true");
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
isItemVisible(index) {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
return (yield this.getItemCSS(index)).includes('k-focus');
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
getNextButton() {
|
|
41
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
42
|
+
return yield this.findChild('.k-scrollview-next');
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
getPrevButton() {
|
|
46
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
47
|
+
return yield this.findChild('.k-scrollview-prev');
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
nextButtonClick() {
|
|
51
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
52
|
+
return yield (yield this.getNextButton()).click();
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
prevButtonClick() {
|
|
56
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
+
return yield (yield this.getPrevButton()).click();
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
ScrollView.SELECTOR = const_1.SELECTORS.SCROLLVIEW;
|
|
62
|
+
exports.ScrollView = ScrollView;
|
|
63
|
+
//# sourceMappingURL=scrollview.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scrollview.js","sourceRoot":"","sources":["../../src/components/scrollview.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,mCAAoC;AACpC,iDAA6C;AAE7C,MAAa,UAAW,SAAQ,0BAAW;IAGvC,YAAY,OAAgB,EAAE,OAAO,GAAG,UAAU,CAAC,QAAQ,EAAY,aAAwC;QAC3G,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,aAAa,CAAC,CAAC;QAD4B,kBAAa,GAAb,aAAa,CAA2B;IAE/G,CAAC;IAEK,cAAc,CAAC,KAAa;;YAC9B,OAAO,CAAC,MAAM,IAAI,CAAC,YAAY,CAAC,wBAAwB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;QACtE,CAAC;KAAA;IAEK,UAAU,CAAC,KAAa;;YAC1B,OAAO,MAAM,CAAC,MAAM,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC1E,CAAC;KAAA;IAEK,YAAY,CAAC,KAAa;;YAC5B,OAAO,CAAC,MAAM,CAAC,MAAM,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QACnG,CAAC;KAAA;IAEK,aAAa,CAAC,KAAa;;YAC7B,OAAO,CAAC,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;QAC9D,CAAC;KAAA;IAEK,aAAa;;YACf,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,oBAAoB,CAAC,CAAC;QACtD,CAAC;KAAA;IAEK,aAAa;;YACf,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,oBAAoB,CAAC,CAAC;QACtD,CAAC;KAAA;IAEK,eAAe;;YACjB,OAAO,MAAM,CAAC,MAAM,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC;QACtD,CAAC;KAAA;IAEK,eAAe;;YACjB,OAAO,MAAM,CAAC,MAAM,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC;QACtD,CAAC;KAAA;;AApCa,mBAAQ,GAAG,iBAAS,CAAC,UAAU,CAAC;AADrC,gCAAU"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Browser, By, WebElement } from "../selenium";
|
|
2
|
+
import { UIComponent } from "./ui-component";
|
|
3
|
+
export declare class Signature extends UIComponent {
|
|
4
|
+
protected parentElement?: WebElement | By | string;
|
|
5
|
+
static SELECTOR: string;
|
|
6
|
+
static MAXIMIZE: string;
|
|
7
|
+
static MAXIMIZED: string;
|
|
8
|
+
static MINIMIZE: string;
|
|
9
|
+
static CLEAR: string;
|
|
10
|
+
constructor(browser: Browser, locator?: string, parentElement?: WebElement | By | string);
|
|
11
|
+
maximizeButton(): Promise<WebElement>;
|
|
12
|
+
clearButton(): Promise<WebElement>;
|
|
13
|
+
maximizedSignature(): Promise<WebElement>;
|
|
14
|
+
minimizeButton(): Promise<WebElement>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Signature = void 0;
|
|
13
|
+
const const_1 = require("./const");
|
|
14
|
+
const ui_component_1 = require("./ui-component");
|
|
15
|
+
class Signature extends ui_component_1.UIComponent {
|
|
16
|
+
constructor(browser, locator = Signature.SELECTOR, parentElement) {
|
|
17
|
+
super(browser, locator, parentElement);
|
|
18
|
+
this.parentElement = parentElement;
|
|
19
|
+
}
|
|
20
|
+
maximizeButton() {
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
return yield this.findChild(Signature.MAXIMIZE);
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
clearButton() {
|
|
26
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27
|
+
return yield this.findChild(Signature.CLEAR);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
maximizedSignature() {
|
|
31
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
32
|
+
return yield this.browser.find(Signature.MAXIMIZED);
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
minimizeButton() {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
return yield this.browser.find(Signature.MINIMIZE);
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
Signature.SELECTOR = const_1.SELECTORS.SIGNATURE;
|
|
42
|
+
Signature.MAXIMIZE = '.k-signature-maximize';
|
|
43
|
+
Signature.MAXIMIZED = '.k-dialog .k-signature-maximized';
|
|
44
|
+
Signature.MINIMIZE = '.k-dialog .k-signature-maximized .k-signature-minimize';
|
|
45
|
+
Signature.CLEAR = '.k-signature-clear';
|
|
46
|
+
exports.Signature = Signature;
|
|
47
|
+
//# sourceMappingURL=signature.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signature.js","sourceRoot":"","sources":["../../src/components/signature.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,mCAAoC;AACpC,iDAA6C;AAE7C,MAAa,SAAU,SAAQ,0BAAW;IAOtC,YAAY,OAAgB,EAAE,OAAO,GAAG,SAAS,CAAC,QAAQ,EAAY,aAAwC;QAC1G,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,aAAa,CAAC,CAAC;QAD2B,kBAAa,GAAb,aAAa,CAA2B;IAE9G,CAAC;IAEY,cAAc;;YACvB,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QACpD,CAAC;KAAA;IAEY,WAAW;;YACpB,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QACjD,CAAC;KAAA;IAEY,kBAAkB;;YAC3B,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;QACxD,CAAC;KAAA;IAEY,cAAc;;YACvB,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QACvD,CAAC;KAAA;;AAxBa,kBAAQ,GAAG,iBAAS,CAAC,SAAS,CAAC;AAC/B,kBAAQ,GAAG,uBAAuB,CAAC;AACnC,mBAAS,GAAG,kCAAkC,CAAC;AAC/C,kBAAQ,GAAG,wDAAwD,CAAC;AACpE,eAAK,GAAG,oBAAoB,CAAC;AALlC,8BAAS"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Browser, By, WebElement } from "../selenium";
|
|
2
|
+
import { UIComponent } from "./ui-component";
|
|
3
|
+
export declare class Slider extends UIComponent {
|
|
4
|
+
protected parentElement?: WebElement | By | string;
|
|
5
|
+
static SELECTOR: string;
|
|
6
|
+
constructor(browser: Browser, locator?: string, parentElement?: WebElement | By | string);
|
|
7
|
+
increase(): Promise<void>;
|
|
8
|
+
decrease(): Promise<void>;
|
|
9
|
+
getTooltipValue(): Promise<string>;
|
|
10
|
+
getSliderHandle(): Promise<WebElement>;
|
|
11
|
+
getMinRangeSliderHandle(): Promise<WebElement>;
|
|
12
|
+
getMaxRangeSliderHandle(): Promise<WebElement>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Slider = void 0;
|
|
13
|
+
const const_1 = require("./const");
|
|
14
|
+
const ui_component_1 = require("./ui-component");
|
|
15
|
+
class Slider extends ui_component_1.UIComponent {
|
|
16
|
+
constructor(browser, locator = Slider.SELECTOR, parentElement) {
|
|
17
|
+
super(browser, locator, parentElement);
|
|
18
|
+
this.parentElement = parentElement;
|
|
19
|
+
}
|
|
20
|
+
increase() {
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
yield (yield this.findChild('.k-button-increase')).click();
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
decrease() {
|
|
26
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27
|
+
yield (yield this.findChild('.k-button-decrease')).click();
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
getTooltipValue() {
|
|
31
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
32
|
+
return yield this.browser.getText(".k-slider-tooltip");
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
getSliderHandle() {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
return yield this.findChild('.k-draghandle');
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
getMinRangeSliderHandle() {
|
|
41
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
42
|
+
return yield this.findChild('.k-draghandle:nth-of-type(1)');
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
getMaxRangeSliderHandle() {
|
|
46
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
47
|
+
return yield this.findChild('.k-draghandle:nth-of-type(2)');
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
Slider.SELECTOR = const_1.SELECTORS.SLIDER;
|
|
52
|
+
exports.Slider = Slider;
|
|
53
|
+
//# sourceMappingURL=slider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slider.js","sourceRoot":"","sources":["../../src/components/slider.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,mCAAoC;AACpC,iDAA6C;AAE7C,MAAa,MAAO,SAAQ,0BAAW;IAGnC,YAAY,OAAgB,EAAE,OAAO,GAAG,MAAM,CAAC,QAAQ,EAAY,aAAwC;QACvG,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,aAAa,CAAC,CAAC;QADwB,kBAAa,GAAb,aAAa,CAA2B;IAE3G,CAAC;IAEK,QAAQ;;YACV,MAAM,CAAC,MAAM,IAAI,CAAC,SAAS,CAAC,oBAAoB,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC;QAC/D,CAAC;KAAA;IAEK,QAAQ;;YACV,MAAM,CAAC,MAAM,IAAI,CAAC,SAAS,CAAC,oBAAoB,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC;QAC/D,CAAC;KAAA;IAEK,eAAe;;YACjB,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;QAC3D,CAAC;KAAA;IAEK,eAAe;;YACjB,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;QACjD,CAAC;KAAA;IAEK,uBAAuB;;YACzB,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,8BAA8B,CAAC,CAAC;QAChE,CAAC;KAAA;IAEK,uBAAuB;;YACzB,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,8BAA8B,CAAC,CAAC;QAChE,CAAC;KAAA;;AA5Ba,eAAQ,GAAG,iBAAS,CAAC,MAAM,CAAC;AADjC,wBAAM"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Browser, By, WebElement } from "../selenium";
|
|
2
|
+
import { UIComponent } from "./ui-component";
|
|
3
|
+
export declare class SplitButton extends UIComponent {
|
|
4
|
+
protected parentElement?: WebElement | By | string;
|
|
5
|
+
static SELECTOR: string;
|
|
6
|
+
constructor(browser: Browser, locator?: string, parentElement?: WebElement | By | string);
|
|
7
|
+
getMainButton(): Promise<WebElement>;
|
|
8
|
+
getArrowButton(): Promise<WebElement>;
|
|
9
|
+
popupLocator(): Promise<By>;
|
|
10
|
+
popup(): Promise<WebElement>;
|
|
11
|
+
expand(): Promise<void>;
|
|
12
|
+
waitToExpand(): Promise<void>;
|
|
13
|
+
waitToCollapse(): Promise<void>;
|
|
14
|
+
getItems(): Promise<WebElement[]>;
|
|
15
|
+
getItemByIndex(index: number): Promise<WebElement>;
|
|
16
|
+
getItemByText(text: string): Promise<WebElement>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.SplitButton = void 0;
|
|
13
|
+
const selenium_1 = require("../selenium");
|
|
14
|
+
const const_1 = require("./const");
|
|
15
|
+
const ui_component_1 = require("./ui-component");
|
|
16
|
+
class SplitButton extends ui_component_1.UIComponent {
|
|
17
|
+
constructor(browser, locator = SplitButton.SELECTOR, parentElement) {
|
|
18
|
+
super(browser, locator, parentElement);
|
|
19
|
+
this.parentElement = parentElement;
|
|
20
|
+
}
|
|
21
|
+
getMainButton() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
return yield this.findChild("button:not([class*=k-split-button-arrow])");
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
getArrowButton() {
|
|
27
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
28
|
+
return yield this.findChild(".k-split-button-arrow");
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
popupLocator() {
|
|
32
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33
|
+
const main = yield this.getMainButton();
|
|
34
|
+
const id = yield main.getAttribute("aria-controls");
|
|
35
|
+
return selenium_1.By.xpath(`//div[contains(@class, "k-animation-container-shown")]//ul[@id="${id}"]`);
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
popup() {
|
|
39
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
40
|
+
const locator = yield this.popupLocator();
|
|
41
|
+
return yield this.browser.find(locator);
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
expand() {
|
|
45
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
46
|
+
yield (yield this.getArrowButton()).click();
|
|
47
|
+
yield this.waitToExpand();
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
waitToExpand() {
|
|
51
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
52
|
+
yield this.browser.wait(selenium_1.EC.isVisible(yield this.popupLocator()), { timeout: 5000, message: "Failed to expand popup." });
|
|
53
|
+
yield this.browser.waitForAnimation(yield this.popupLocator());
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
waitToCollapse() {
|
|
57
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
58
|
+
yield this.browser.wait(selenium_1.EC.notVisible(yield this.popupLocator()), { timeout: 5000, message: "Failed to collapse popup." });
|
|
59
|
+
yield this.browser.sleep(200); // Wait for animation timeout
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
getItems() {
|
|
63
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
64
|
+
return yield this.browser.findChildren(yield this.popup(), "li");
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
getItemByIndex(index) {
|
|
68
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
69
|
+
return (yield this.getItems())[index];
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
getItemByText(text) {
|
|
73
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
+
return yield this.browser.findChild(yield this.popup(), selenium_1.By.xpath(`.//li[.="${text}"]`));
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
SplitButton.SELECTOR = const_1.SELECTORS.SPLIT_BUTTON;
|
|
79
|
+
exports.SplitButton = SplitButton;
|
|
80
|
+
//# sourceMappingURL=splitbutton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"splitbutton.js","sourceRoot":"","sources":["../../src/components/splitbutton.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA0D;AAC1D,mCAAoC;AACpC,iDAA6C;AAE7C,MAAa,WAAY,SAAQ,0BAAW;IAGxC,YAAY,OAAgB,EAAE,OAAO,GAAG,WAAW,CAAC,QAAQ,EAAY,aAAwC;QAC5G,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,aAAa,CAAC,CAAC;QAD6B,kBAAa,GAAb,aAAa,CAA2B;IAEhH,CAAC;IAEK,aAAa;;YACf,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,2CAA2C,CAAC,CAAC;QAC7E,CAAC;KAAA;IAEK,cAAc;;YAChB,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,CAAC;QACzD,CAAC;KAAA;IAEK,YAAY;;YACd,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,aAAa,EAAE,CAAC;YACxC,MAAM,EAAE,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC;YACpD,OAAO,aAAE,CAAC,KAAK,CAAC,mEAAmE,EAAE,IAAI,CAAC,CAAC;QAC/F,CAAC;KAAA;IAEK,KAAK;;YACP,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,YAAY,EAAE,CAAC;YAC1C,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5C,CAAC;KAAA;IAEK,MAAM;;YACR,MAAM,CA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AAC;AADvC,kCAAW"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Browser, By, WebElement } from "../selenium";
|
|
2
|
+
import { UIComponent } from "./ui-component";
|
|
3
|
+
export declare class Splitter extends UIComponent {
|
|
4
|
+
protected parentElement?: WebElement | By | string;
|
|
5
|
+
static SELECTOR: string;
|
|
6
|
+
constructor(browser: Browser, locator?: string, parentElement?: WebElement | By | string);
|
|
7
|
+
getPane(index: number): Promise<WebElement>;
|
|
8
|
+
getSplitbar(index: number): Promise<WebElement>;
|
|
9
|
+
getGhostSplitbar(): Promise<WebElement>;
|
|
10
|
+
collapsePrevious(index: number): Promise<void>;
|
|
11
|
+
collapseNext(index: number): Promise<void>;
|
|
12
|
+
expandPrevious(index: number): Promise<void>;
|
|
13
|
+
expandNext(index: number): Promise<void>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Splitter = void 0;
|
|
13
|
+
const const_1 = require("./const");
|
|
14
|
+
const ui_component_1 = require("./ui-component");
|
|
15
|
+
class Splitter extends ui_component_1.UIComponent {
|
|
16
|
+
constructor(browser, locator = Splitter.SELECTOR, parentElement) {
|
|
17
|
+
super(browser, locator, parentElement);
|
|
18
|
+
this.parentElement = parentElement;
|
|
19
|
+
}
|
|
20
|
+
getPane(index) {
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
yield this.browser.wait(() => __awaiter(this, void 0, void 0, function* () { return (yield this.findChildren('.k-pane')).length > index; }), {
|
|
23
|
+
message: `Failed to find pane with index ${index}.`
|
|
24
|
+
});
|
|
25
|
+
return (yield this.findChildren('.k-pane'))[index];
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
getSplitbar(index) {
|
|
29
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30
|
+
yield this.browser.wait(() => __awaiter(this, void 0, void 0, function* () { return (yield this.findChildren('.k-splitbar')).length > index; }), {
|
|
31
|
+
message: `Failed to find splitbar with index ${index}.`
|
|
32
|
+
});
|
|
33
|
+
return (yield this.findChildren('.k-splitbar'))[index];
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
getGhostSplitbar() {
|
|
37
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
38
|
+
return yield this.findChild('.k-ghost-splitbar');
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
collapsePrevious(index) {
|
|
42
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
43
|
+
yield (yield this.findChildren('span.k-collapse-prev'))[index].click();
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
collapseNext(index) {
|
|
47
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
48
|
+
yield (yield this.findChildren('span.k-collapse-next'))[index].click();
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
expandPrevious(index) {
|
|
52
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
53
|
+
yield (yield this.findChildren('span.k-expand-prev'))[index].click();
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
expandNext(index) {
|
|
57
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
58
|
+
yield (yield this.findChildren('span.k-expand-next'))[index].click();
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
Splitter.SELECTOR = const_1.SELECTORS.SPLITTER;
|
|
63
|
+
exports.Splitter = Splitter;
|
|
64
|
+
//# sourceMappingURL=splitter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"splitter.js","sourceRoot":"","sources":["../../src/components/splitter.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,mCAAoC;AACpC,iDAA6C;AAE7C,MAAa,QAAS,SAAQ,0BAAW;IAGrC,YAAY,OAAgB,EAAE,OAAO,GAAG,QAAQ,CAAC,QAAQ,EAAY,aAAwC;QACzG,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,aAAa,CAAC,CAAC;QAD0B,kBAAa,GAAb,aAAa,CAA2B;IAE7G,CAAC;IAEK,OAAO,CAAC,KAAa;;YACvB,MAAM,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAS,EAAE,gDAAC,OAAA,CAAC,MAAM,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,GAAG,KAAK,CAAA,GAAA,EAAE;gBACrF,OAAO,EAAE,kCAAkC,KAAK,GAAG;aACtD,CAAC,CAAC;YACH,OAAO,CAAC,MAAM,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;QACvD,CAAC;KAAA;IAEK,WAAW,CAAC,KAAa;;YAC3B,MAAM,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAS,EAAE,gDAAC,OAAA,CAAC,MAAM,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,GAAG,KAAK,CAAA,GAAA,EAAE;gBACzF,OAAO,EAAE,sCAAsC,KAAK,GAAG;aAC1D,CAAC,CAAC;YACH,OAAO,CAAC,MAAM,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;QAC3D,CAAC;KAAA;IAEK,gBAAgB;;YAClB,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,CAAC;QACrD,CAAC;KAAA;IAEK,gBAAgB,CAAC,KAAa;;YAChC,MAAM,CAAC,MAAM,IAAI,CAAC,YAAY,CAAC,sBAAsB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,CAAC;QAC3E,CAAC;KAAA;IAEK,YAAY,CAAC,KAAa;;YAC5B,MAAM,CAAC,MAAM,IAAI,CAAC,YAAY,CAAC,sBAAsB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,CAAC;QAC3E,CAAC;KAAA;IAEK,cAAc,CAAC,KAAa;;YAC9B,MAAM,CAAC,MAAM,IAAI,CAAC,YAAY,CAAC,oBAAoB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,CAAC;QACzE,CAAC;KAAA;IAEK,UAAU,CAAC,KAAa;;YAC1B,MAAM,CAAC,MAAM,IAAI,CAAC,YAAY,CAAC,oBAAoB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,CAAC;QACzE,CAAC;KAAA;;AAtCa,iBAAQ,GAAG,iBAAS,CAAC,QAAQ,CAAC;AADnC,4BAAQ"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Browser, By, WebElement } from "../selenium";
|
|
2
|
+
import { UIComponent } from "./ui-component";
|
|
3
|
+
export declare class Spreadsheet extends UIComponent {
|
|
4
|
+
protected parentElement?: WebElement | By | string;
|
|
5
|
+
static SELECTOR: string;
|
|
6
|
+
static UNDO: By;
|
|
7
|
+
static REDO: By;
|
|
8
|
+
static FONT: By;
|
|
9
|
+
static FONT_SIZE: By;
|
|
10
|
+
static INCREASE_SIZE: By;
|
|
11
|
+
static DECREASE_SIZE: By;
|
|
12
|
+
static BOLD: string;
|
|
13
|
+
static ITALIC: By;
|
|
14
|
+
static UNDERLINE: By;
|
|
15
|
+
constructor(browser: Browser, locator?: string, parentElement?: WebElement | By | string);
|
|
16
|
+
cells(): Promise<WebElement[]>;
|
|
17
|
+
cellByIndex(index: number): Promise<WebElement>;
|
|
18
|
+
getToolByTitle(title: string): Promise<WebElement>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Spreadsheet = void 0;
|
|
13
|
+
const selenium_1 = require("../selenium");
|
|
14
|
+
const const_1 = require("./const");
|
|
15
|
+
const ui_component_1 = require("./ui-component");
|
|
16
|
+
class Spreadsheet extends ui_component_1.UIComponent {
|
|
17
|
+
constructor(browser, locator = Spreadsheet.SELECTOR, parentElement) {
|
|
18
|
+
super(browser, locator, parentElement);
|
|
19
|
+
this.parentElement = parentElement;
|
|
20
|
+
}
|
|
21
|
+
cells() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
return yield this.findChildren('.k-spreadsheet-view .k-spreadsheet-cell');
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
cellByIndex(index) {
|
|
27
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
28
|
+
return (yield this.cells())[index];
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
getToolByTitle(title) {
|
|
32
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33
|
+
return yield this.findChild(`.k-toolbar [title="${title}"]`);
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
Spreadsheet.SELECTOR = const_1.SELECTORS.SPREADSHEET;
|
|
38
|
+
Spreadsheet.UNDO = selenium_1.By.css('.k-button[title="Undo"]');
|
|
39
|
+
Spreadsheet.REDO = selenium_1.By.css('.k-button[title="Redo"]');
|
|
40
|
+
Spreadsheet.FONT = selenium_1.By.css('.k-dropdownlist[title="Font"]');
|
|
41
|
+
Spreadsheet.FONT_SIZE = selenium_1.By.css('.k-dropdownlist[title="Font size"]');
|
|
42
|
+
Spreadsheet.INCREASE_SIZE = selenium_1.By.css('.k-button[title="Increase font size"]');
|
|
43
|
+
Spreadsheet.DECREASE_SIZE = selenium_1.By.css('.k-button[title="Decrease font size"]');
|
|
44
|
+
Spreadsheet.BOLD = '.k-button[title="Bold"]';
|
|
45
|
+
Spreadsheet.ITALIC = selenium_1.By.css('.k-button[title="Italic"]');
|
|
46
|
+
Spreadsheet.UNDERLINE = selenium_1.By.css('.k-button[title="Underline"]');
|
|
47
|
+
exports.Spreadsheet = Spreadsheet;
|
|
48
|
+
//# sourceMappingURL=spreadsheet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spreadsheet.js","sourceRoot":"","sources":["../../src/components/spreadsheet.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAAsD;AACtD,mCAAoC;AACpC,iDAA6C;AAE7C,MAAa,WAAY,SAAQ,0BAAW;IAaxC,YAAY,OAAgB,EAAE,OAAO,GAAG,WAAW,CAAC,QAAQ,EAAY,aAAwC;QAC5G,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,aAAa,CAAC,CAAC;QAD6B,kBAAa,GAAb,aAAa,CAA2B;IAEhH,CAAC;IAEK,KAAK;;YACP,OAAO,MAAM,IAAI,CAAC,YAAY,CAAC,yCAAyC,CAAC,CAAC;QAC9E,CAAC;KAA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