@baloise/ds-testing 17.4.1 → 18.0.0-nightly.20250212
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/add-custom-commands.esm.js +1 -1
- package/add-override-commands.esm.js +541 -3
- package/bal-input-stepper.command.esm.js +165 -165
- package/helpers.esm.js +43 -42
- package/index.esm.js +2 -800
- package/package.json +3 -4
- package/selectors.esm.js +1 -1
- package/selectors.esm2.js +179 -0
- package/src/add-custom-commands.d.ts +34 -34
- package/src/add-override-commands.d.ts +9 -9
- package/src/commands/custom/bal-accordion.command.d.ts +1 -1
- package/src/commands/custom/bal-accordion.types.d.ts +15 -15
- package/src/commands/custom/bal-field.command.d.ts +1 -1
- package/src/commands/custom/bal-field.types.d.ts +11 -11
- package/src/commands/custom/bal-hint.command.d.ts +1 -1
- package/src/commands/custom/bal-hint.types.d.ts +15 -15
- package/src/commands/custom/bal-input-stepper.command.d.ts +1 -1
- package/src/commands/custom/bal-input-stepper.types.d.ts +15 -15
- package/src/commands/custom/bal-modal.command.d.ts +1 -1
- package/src/commands/custom/bal-modal.types.d.ts +24 -24
- package/src/commands/custom/bal-pagination.command.d.ts +1 -1
- package/src/commands/custom/bal-pagination.types.d.ts +23 -23
- package/src/commands/custom/bal-popover.command.d.ts +1 -1
- package/src/commands/custom/bal-popover.types.d.ts +27 -27
- package/src/commands/custom/bal-popup.command.d.ts +1 -1
- package/src/commands/custom/bal-popup.types.d.ts +15 -15
- package/src/commands/custom/bal-select.command.d.ts +1 -1
- package/src/commands/custom/bal-select.types.d.ts +19 -19
- package/src/commands/custom/bal-snackbar.command.d.ts +1 -1
- package/src/commands/custom/bal-snackbar.types.d.ts +11 -11
- package/src/commands/custom/bal-steps.command.d.ts +1 -1
- package/src/commands/custom/bal-steps.types.d.ts +27 -27
- package/src/commands/custom/bal-tabs.command.d.ts +1 -1
- package/src/commands/custom/bal-tabs.types.d.ts +31 -31
- package/src/commands/custom/bal-toast.command.d.ts +1 -1
- package/src/commands/custom/bal-toast.types.d.ts +11 -11
- package/src/commands/custom/component.command.d.ts +1 -1
- package/src/commands/custom/component.types.d.ts +47 -47
- package/src/commands/custom/get.command.d.ts +1 -1
- package/src/commands/custom/get.types.d.ts +43 -43
- package/src/commands/custom/platform.command.d.ts +1 -1
- package/src/commands/custom/platform.types.d.ts +11 -11
- package/src/commands/custom/visit.command.d.ts +1 -1
- package/src/commands/custom/visit.types.d.ts +10 -10
- package/src/commands/helpers.d.ts +48 -48
- package/src/commands/overrides/blur.command.d.ts +1 -1
- package/src/commands/overrides/check.command.d.ts +1 -1
- package/src/commands/overrides/clear.command.d.ts +1 -1
- package/src/commands/overrides/click.command.d.ts +1 -1
- package/src/commands/overrides/focus.command.d.ts +1 -1
- package/src/commands/overrides/select.command.d.ts +1 -1
- package/src/commands/overrides/should.command.d.ts +1 -1
- package/src/commands/overrides/type.command.d.ts +1 -1
- package/src/commands/overrides/uncheck.command.d.ts +1 -1
- package/src/index.d.ts +21 -25
- package/src/selectors/index.d.ts +354 -354
- package/src/selectors/selectors.util.d.ts +4 -4
- package/src/selectors.d.ts +1 -1
- package/src/viewports.d.ts +7 -7
- package/index.esm2.js +0 -317
- package/src/legacy/accessors/accordion.accessor.d.ts +0 -29
- package/src/legacy/accessors/button.accessor.d.ts +0 -23
- package/src/legacy/accessors/checkbox.accessor.d.ts +0 -25
- package/src/legacy/accessors/drop-down.accessor.d.ts +0 -31
- package/src/legacy/accessors/error.accessor.d.ts +0 -25
- package/src/legacy/accessors/icon-accessor.d.ts +0 -23
- package/src/legacy/accessors/input.accessor.d.ts +0 -30
- package/src/legacy/accessors/link.accessor.d.ts +0 -39
- package/src/legacy/accessors/list.accessor.d.ts +0 -23
- package/src/legacy/accessors/mixins/andable.d.ts +0 -5
- package/src/legacy/accessors/mixins/attachable.d.ts +0 -6
- package/src/legacy/accessors/mixins/attributable.d.ts +0 -7
- package/src/legacy/accessors/mixins/blurable.d.ts +0 -6
- package/src/legacy/accessors/mixins/checkable.d.ts +0 -7
- package/src/legacy/accessors/mixins/clearable.d.ts +0 -6
- package/src/legacy/accessors/mixins/clickable.d.ts +0 -7
- package/src/legacy/accessors/mixins/containable.d.ts +0 -5
- package/src/legacy/accessors/mixins/disableable.d.ts +0 -5
- package/src/legacy/accessors/mixins/eachable.d.ts +0 -5
- package/src/legacy/accessors/mixins/existable.d.ts +0 -5
- package/src/legacy/accessors/mixins/findable.d.ts +0 -5
- package/src/legacy/accessors/mixins/invokable.d.ts +0 -5
- package/src/legacy/accessors/mixins/lengthable.d.ts +0 -5
- package/src/legacy/accessors/mixins/mixins.d.ts +0 -12
- package/src/legacy/accessors/mixins/nthSelectable.d.ts +0 -7
- package/src/legacy/accessors/mixins/selectable.d.ts +0 -4
- package/src/legacy/accessors/mixins/shouldable.d.ts +0 -5
- package/src/legacy/accessors/mixins/thenable.d.ts +0 -5
- package/src/legacy/accessors/mixins/typeable.d.ts +0 -6
- package/src/legacy/accessors/mixins/urlable.d.ts +0 -6
- package/src/legacy/accessors/mixins/visible.d.ts +0 -5
- package/src/legacy/accessors/mixins/waitable.d.ts +0 -5
- package/src/legacy/accessors/multi-select-button.accessor.d.ts +0 -24
- package/src/legacy/accessors/navigation.accessor.d.ts +0 -22
- package/src/legacy/accessors/radio.accessor.d.ts +0 -23
- package/src/legacy/accessors/select-button.accessor.d.ts +0 -24
- package/src/legacy/accessors/table.accessor.d.ts +0 -27
- package/src/legacy/accessors/tabs.accessor.d.ts +0 -26
- package/src/legacy/accessors/text.accessor.d.ts +0 -23
- package/src/legacy/accessors/tile.accessor.d.ts +0 -27
- package/src/legacy/accessors/toast.accessor.d.ts +0 -24
- package/src/legacy/accessors/tooltip.accessor.d.ts +0 -23
- package/src/legacy/accessors/typeahead.accessor.d.ts +0 -26
- package/src/legacy/index.d.ts +0 -43
- package/type.command.esm.js +0 -541
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const byTestId: (testId: string) => string;
|
|
2
|
-
export declare const dataTestSelector: (testId: string) => string;
|
|
3
|
-
export declare const parseDataTestID: (testId: string) => string;
|
|
4
|
-
export declare const byDataSelectors: (dateTestId: string, dataSelectors: string[], value: string) => string;
|
|
1
|
+
export declare const byTestId: (testId: string) => string;
|
|
2
|
+
export declare const dataTestSelector: (testId: string) => string;
|
|
3
|
+
export declare const parseDataTestID: (testId: string) => string;
|
|
4
|
+
export declare const byDataSelectors: (dateTestId: string, dataSelectors: string[], value: string) => string;
|
package/src/selectors.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { byTestId, dataTestSelector, selectors } from './selectors/index';
|
|
1
|
+
export { byTestId, dataTestSelector, selectors } from './selectors/index';
|
package/src/viewports.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="cypress" />
|
|
2
|
-
import { Platforms } from './commands/helpers';
|
|
3
|
-
|
|
4
|
-
[key in Platforms]: Cypress.Dimensions;
|
|
5
|
-
};
|
|
6
|
-
export declare const balViewport: Viewport;
|
|
7
|
-
export {};
|
|
1
|
+
/// <reference types="cypress" />
|
|
2
|
+
import { Platforms } from './commands/helpers';
|
|
3
|
+
type Viewport = {
|
|
4
|
+
[key in Platforms]: Cypress.Dimensions;
|
|
5
|
+
};
|
|
6
|
+
export declare const balViewport: Viewport;
|
|
7
|
+
export {};
|
package/index.esm2.js
DELETED
|
@@ -1,317 +0,0 @@
|
|
|
1
|
-
var dataTestSelectors = function(testId) {
|
|
2
|
-
return [
|
|
3
|
-
'[data-test-id="' + testId + '"]',
|
|
4
|
-
'[data-testid="' + testId + '"]',
|
|
5
|
-
'[data-test="' + testId + '"]',
|
|
6
|
-
'[data-cy="' + testId + '"]'
|
|
7
|
-
];
|
|
8
|
-
};
|
|
9
|
-
var byTestId = function(testId) {
|
|
10
|
-
return dataTestSelectors(testId).join(", ");
|
|
11
|
-
};
|
|
12
|
-
// @deprecated standard is byTestId
|
|
13
|
-
var dataTestSelector = function(testId) {
|
|
14
|
-
return byTestId(testId);
|
|
15
|
-
};
|
|
16
|
-
var parseDataTestID = function(testId) {
|
|
17
|
-
var _testId_split_shift;
|
|
18
|
-
return ((_testId_split_shift = testId.split(",").shift()) == null ? void 0 : _testId_split_shift.trim().slice(15).slice(0, -2)) || "";
|
|
19
|
-
};
|
|
20
|
-
var byDataSelectors = function(dateTestId, dataSelectors, value) {
|
|
21
|
-
var dataIds = dateTestId.split(",").map(function(d) {
|
|
22
|
-
return d.trim();
|
|
23
|
-
});
|
|
24
|
-
var selectors = [];
|
|
25
|
-
for(var index = 0; index < dataSelectors.length; index++){
|
|
26
|
-
var dataSelector = dataSelectors[index];
|
|
27
|
-
for(var index1 = 0; index1 < dataIds.length; index1++){
|
|
28
|
-
var dataId = dataIds[index1];
|
|
29
|
-
selectors.push(dataId + "[data-" + dataSelector + '="' + value + '"]');
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
return selectors.join(",");
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Selectors
|
|
37
|
-
*/ var selectors = {
|
|
38
|
-
accordion: {
|
|
39
|
-
/**
|
|
40
|
-
* The trigger button, which shows and hides the content / details.
|
|
41
|
-
*/ trigger: byTestId("bal-accordion-trigger"),
|
|
42
|
-
/**
|
|
43
|
-
* The content or the hidden part of the accordion.
|
|
44
|
-
*/ details: byTestId("bal-accordion-details"),
|
|
45
|
-
/**
|
|
46
|
-
* The header or visible part of the accordion
|
|
47
|
-
*/ summary: byTestId("bal-accordion-summary")
|
|
48
|
-
},
|
|
49
|
-
badge: {
|
|
50
|
-
/**
|
|
51
|
-
* Badge label.
|
|
52
|
-
*/ label: byTestId("bal-badge-label")
|
|
53
|
-
},
|
|
54
|
-
button: {
|
|
55
|
-
/**
|
|
56
|
-
* Native button element.
|
|
57
|
-
*/ native: byTestId("bal-button"),
|
|
58
|
-
/**
|
|
59
|
-
* Button label.
|
|
60
|
-
*/ label: byTestId("bal-button-label")
|
|
61
|
-
},
|
|
62
|
-
carousel: {
|
|
63
|
-
/**
|
|
64
|
-
* Pagination left control.
|
|
65
|
-
*/ paginationPrevious: byTestId("bal-pagination-controls-left"),
|
|
66
|
-
/**
|
|
67
|
-
* Pagination right control.
|
|
68
|
-
*/ paginationNext: byTestId("bal-pagination-controls-right"),
|
|
69
|
-
/**
|
|
70
|
-
* Carousel right control.
|
|
71
|
-
*/ carouselControlPrevious: byTestId("bal-carousel-control-left"),
|
|
72
|
-
/**
|
|
73
|
-
* Carousel left control.
|
|
74
|
-
*/ carouselControlNext: byTestId("bal-carousel-control-right")
|
|
75
|
-
},
|
|
76
|
-
close: {
|
|
77
|
-
/**
|
|
78
|
-
* The trigger button.
|
|
79
|
-
*/ button: byTestId("bal-close")
|
|
80
|
-
},
|
|
81
|
-
data: {
|
|
82
|
-
/**
|
|
83
|
-
* Editable button.
|
|
84
|
-
*/ editable: byTestId("bal-data-value-button")
|
|
85
|
-
},
|
|
86
|
-
footer: {
|
|
87
|
-
/**
|
|
88
|
-
* Language select element.
|
|
89
|
-
*/ language: byTestId('bal-footer-language"')
|
|
90
|
-
},
|
|
91
|
-
heading: {
|
|
92
|
-
/**
|
|
93
|
-
* Native h1 element.
|
|
94
|
-
*/ native: byTestId("bal-heading")
|
|
95
|
-
},
|
|
96
|
-
notification: {
|
|
97
|
-
/**
|
|
98
|
-
* Notification content element.
|
|
99
|
-
*/ content: byTestId("bal-notification-content")
|
|
100
|
-
},
|
|
101
|
-
pagination: {
|
|
102
|
-
/**
|
|
103
|
-
* Pagination left control.
|
|
104
|
-
*/ previous: byTestId("bal-pagination-controls-left"),
|
|
105
|
-
/**
|
|
106
|
-
* Pagination right control.
|
|
107
|
-
*/ next: byTestId("bal-pagination-controls-right"),
|
|
108
|
-
/**
|
|
109
|
-
* Pagination ul list.
|
|
110
|
-
*/ list: byTestId("bal-pagination-list"),
|
|
111
|
-
/**
|
|
112
|
-
* The number of the page.
|
|
113
|
-
*/ pageNumber: byTestId("bal-pagination-page-number"),
|
|
114
|
-
/**
|
|
115
|
-
* bal-button of the number of the page..
|
|
116
|
-
*/ pages: ".bal-pagination__nav__pagination-list > li > bal-button",
|
|
117
|
-
/**
|
|
118
|
-
* The native button of the number of the page.
|
|
119
|
-
*/ button: ".bal-pagination__nav__pagination-list > li > bal-button > button"
|
|
120
|
-
},
|
|
121
|
-
tag: {
|
|
122
|
-
/**
|
|
123
|
-
* Tag label..
|
|
124
|
-
*/ label: byTestId("bal-tag-label"),
|
|
125
|
-
/**
|
|
126
|
-
* Close button.
|
|
127
|
-
*/ close: byTestId("bal-tag-close")
|
|
128
|
-
},
|
|
129
|
-
text: {
|
|
130
|
-
/**
|
|
131
|
-
* Native p element.
|
|
132
|
-
*/ native: byTestId("bal-text")
|
|
133
|
-
},
|
|
134
|
-
checkbox: {
|
|
135
|
-
/**
|
|
136
|
-
* Native input element.
|
|
137
|
-
*/ input: byTestId("bal-checkbox-input"),
|
|
138
|
-
/**
|
|
139
|
-
* Label element.
|
|
140
|
-
*/ label: byTestId("bal-checkbox-label"),
|
|
141
|
-
/**
|
|
142
|
-
* Label span element.
|
|
143
|
-
*/ text: byTestId("bal-checkbox-text")
|
|
144
|
-
},
|
|
145
|
-
field: {
|
|
146
|
-
/**
|
|
147
|
-
* Hint element.
|
|
148
|
-
*/ hint: byTestId("bal-field-hint")
|
|
149
|
-
},
|
|
150
|
-
fileUpload: {
|
|
151
|
-
/**
|
|
152
|
-
* Native input element.
|
|
153
|
-
*/ input: byTestId("bal-file-upload-input"),
|
|
154
|
-
/**
|
|
155
|
-
* Native span element.
|
|
156
|
-
*/ label: byTestId("bal-file-upload-label")
|
|
157
|
-
},
|
|
158
|
-
slider: {
|
|
159
|
-
/**
|
|
160
|
-
* Native input element.
|
|
161
|
-
*/ native: byTestId("bal-input-slider")
|
|
162
|
-
},
|
|
163
|
-
inputStepper: {
|
|
164
|
-
/**
|
|
165
|
-
* Decrease button.
|
|
166
|
-
*/ decrease: byTestId("bal-input-stepper-decrease"),
|
|
167
|
-
/**
|
|
168
|
-
* Increase button.
|
|
169
|
-
*/ increase: byTestId("bal-input-stepper-increase"),
|
|
170
|
-
/**
|
|
171
|
-
* Native input element.
|
|
172
|
-
*/ native: byTestId("bal-input-stepper"),
|
|
173
|
-
/**
|
|
174
|
-
* Text element.
|
|
175
|
-
*/ text: byTestId("bal-input-stepper-text")
|
|
176
|
-
},
|
|
177
|
-
input: {
|
|
178
|
-
/**
|
|
179
|
-
* Native input element.
|
|
180
|
-
*/ native: byTestId("bal-input")
|
|
181
|
-
},
|
|
182
|
-
dateInput: {
|
|
183
|
-
/**
|
|
184
|
-
* Native input element.
|
|
185
|
-
*/ native: byTestId("bal-date-input")
|
|
186
|
-
},
|
|
187
|
-
numberInput: {
|
|
188
|
-
/**
|
|
189
|
-
* Native input element.
|
|
190
|
-
*/ native: byTestId("bal-number-input")
|
|
191
|
-
},
|
|
192
|
-
radio: {
|
|
193
|
-
/**
|
|
194
|
-
* Native input element.
|
|
195
|
-
*/ input: byTestId("bal-radio-input"),
|
|
196
|
-
/**
|
|
197
|
-
* Native label element.
|
|
198
|
-
*/ label: byTestId("bal-radio-label"),
|
|
199
|
-
/**
|
|
200
|
-
* Native span element.
|
|
201
|
-
*/ text: byTestId("bal-radio-text")
|
|
202
|
-
},
|
|
203
|
-
select: {
|
|
204
|
-
/**
|
|
205
|
-
* Native input element.
|
|
206
|
-
*/ input: "input.data-test-select-input",
|
|
207
|
-
/**
|
|
208
|
-
* Select option.
|
|
209
|
-
*/ options: "button.bal-select__option",
|
|
210
|
-
/**
|
|
211
|
-
* Multi select tag .
|
|
212
|
-
*/ chips: byTestId("bal-select-chip")
|
|
213
|
-
},
|
|
214
|
-
dropdown: {
|
|
215
|
-
/**
|
|
216
|
-
* Native input element.
|
|
217
|
-
*/ input: "[data-native]",
|
|
218
|
-
/**
|
|
219
|
-
* Select option.
|
|
220
|
-
*/ options: "bal-option",
|
|
221
|
-
/**
|
|
222
|
-
* Trigger to open and close the popup.
|
|
223
|
-
*/ trigger: byTestId("bal-dropdown-trigger"),
|
|
224
|
-
/**
|
|
225
|
-
* Multi select tag .
|
|
226
|
-
*/ chips: byTestId("bal-dropdown-chip")
|
|
227
|
-
},
|
|
228
|
-
popover: {
|
|
229
|
-
/**
|
|
230
|
-
* Popover trigger.
|
|
231
|
-
*/ trigger: "bal-popover-trigger",
|
|
232
|
-
/**
|
|
233
|
-
* Popover content element.
|
|
234
|
-
*/ content: byTestId("bal-popover-content")
|
|
235
|
-
},
|
|
236
|
-
popup: {
|
|
237
|
-
/**
|
|
238
|
-
* Popup trigger.
|
|
239
|
-
*/ trigger: "[bal-popup]",
|
|
240
|
-
/**
|
|
241
|
-
* Popup content element.
|
|
242
|
-
*/ content: byTestId("bal-popup-content"),
|
|
243
|
-
/**
|
|
244
|
-
* Popup close button in the head.
|
|
245
|
-
*/ close: byTestId("bal-popup-close"),
|
|
246
|
-
/**
|
|
247
|
-
* Popup label / heading element.
|
|
248
|
-
*/ label: byTestId("bal-popup-label")
|
|
249
|
-
},
|
|
250
|
-
textarea: {
|
|
251
|
-
/**
|
|
252
|
-
* Native input element.
|
|
253
|
-
*/ native: byTestId("bal-textarea-input")
|
|
254
|
-
},
|
|
255
|
-
modal: {
|
|
256
|
-
/**
|
|
257
|
-
* Modal element.
|
|
258
|
-
*/ main: "div.modal"
|
|
259
|
-
},
|
|
260
|
-
steps: {
|
|
261
|
-
/**
|
|
262
|
-
* Step option
|
|
263
|
-
*/ option: byTestId("bal-steps-option"),
|
|
264
|
-
/**
|
|
265
|
-
* Step option label
|
|
266
|
-
*/ optionLabel: byTestId("bal-steps-option-label")
|
|
267
|
-
},
|
|
268
|
-
tabs: {
|
|
269
|
-
/**
|
|
270
|
-
* Tab item.
|
|
271
|
-
*/ item: byTestId("bal-tabs-item"),
|
|
272
|
-
/**
|
|
273
|
-
* Tab item label.
|
|
274
|
-
*/ itemLabel: byTestId("bal-tabs-item-label")
|
|
275
|
-
},
|
|
276
|
-
toast: {
|
|
277
|
-
/**
|
|
278
|
-
* Toast element.
|
|
279
|
-
*/ main: ".bal-notices > .bal-notices__inner > .bal-toast",
|
|
280
|
-
/**
|
|
281
|
-
* Toast label element.
|
|
282
|
-
*/ label: byTestId("bal-toast-label"),
|
|
283
|
-
/**
|
|
284
|
-
* Toast close element.
|
|
285
|
-
*/ close: byTestId("bal-toast-close")
|
|
286
|
-
},
|
|
287
|
-
snackbar: {
|
|
288
|
-
/**
|
|
289
|
-
* Snackbar element.
|
|
290
|
-
*/ main: ".bal-notices > .bal-notices__inner > .bal-snackbar",
|
|
291
|
-
/**
|
|
292
|
-
* Snackbar heading element.
|
|
293
|
-
*/ heading: byTestId("bal-snackbar-heading"),
|
|
294
|
-
/**
|
|
295
|
-
* Snackbar label element.
|
|
296
|
-
*/ label: byTestId("bal-snackbar-label"),
|
|
297
|
-
/**
|
|
298
|
-
* Snackbar close element.
|
|
299
|
-
*/ close: byTestId("bal-snackbar-close"),
|
|
300
|
-
/**
|
|
301
|
-
* Snackbar action element.
|
|
302
|
-
*/ action: byTestId("bal-snackbar-action")
|
|
303
|
-
},
|
|
304
|
-
hint: {
|
|
305
|
-
/**
|
|
306
|
-
* Hint trigger element.
|
|
307
|
-
*/ trigger: byTestId("bal-hint-trigger"),
|
|
308
|
-
/**
|
|
309
|
-
* Hint content element.
|
|
310
|
-
*/ content: byTestId("bal-hint-content"),
|
|
311
|
-
/**
|
|
312
|
-
* Hint close element.
|
|
313
|
-
*/ close: byTestId("bal-hint-close")
|
|
314
|
-
}
|
|
315
|
-
};
|
|
316
|
-
|
|
317
|
-
export { byDataSelectors as a, byTestId as b, dataTestSelector as d, parseDataTestID as p, selectors as s };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/// <reference types="cypress" />
|
|
2
|
-
import { Andable } from './mixins/andable';
|
|
3
|
-
import { Attributable } from './mixins/attributable';
|
|
4
|
-
import { Blurable } from './mixins/blurable';
|
|
5
|
-
import { Clickable } from './mixins/clickable';
|
|
6
|
-
import { Containable } from './mixins/containable';
|
|
7
|
-
import { Eachable } from './mixins/eachable';
|
|
8
|
-
import { Existable } from './mixins/existable';
|
|
9
|
-
import { Findable } from './mixins/findable';
|
|
10
|
-
import { Invokable } from './mixins/invokable';
|
|
11
|
-
import { Lengthable } from './mixins/lengthable';
|
|
12
|
-
import { Accessor, Mixin } from './mixins/mixins';
|
|
13
|
-
import { NthSelectable } from './mixins/nthSelectable';
|
|
14
|
-
import { Shouldable } from './mixins/shouldable';
|
|
15
|
-
import { Thenable } from './mixins/thenable';
|
|
16
|
-
import { Urlable } from './mixins/urlable';
|
|
17
|
-
import { Visible } from './mixins/visible';
|
|
18
|
-
import { Waitable } from './mixins/waitable';
|
|
19
|
-
interface AccordionTileAccessorType extends Andable<AccordionTileAccessorType>, Blurable<AccordionTileAccessorType>, Clickable<AccordionTileAccessorType>, Existable<AccordionTileAccessorType>, Visible<AccordionTileAccessorType>, Containable<AccordionTileAccessorType>, Shouldable<AccordionTileAccessorType>, NthSelectable<AccordionTileAccessorType>, Attributable<AccordionTileAccessorType>, Urlable<AccordionTileAccessorType>, Findable<AccordionTileAccessorType>, Waitable<AccordionTileAccessorType>, Invokable<AccordionTileAccessorType>, Thenable<AccordionTileAccessorType>, Lengthable<AccordionTileAccessorType>, Eachable<AccordionTileAccessorType> {
|
|
20
|
-
assertBodyExists(): AccordionTileAccessorType;
|
|
21
|
-
assertBodyNotExists(): AccordionTileAccessorType;
|
|
22
|
-
clickBody(options?: Partial<Cypress.ClickOptions>): AccordionTileAccessorType;
|
|
23
|
-
}
|
|
24
|
-
export declare const AccordionTileClickableMixin: Mixin;
|
|
25
|
-
export declare const AccordionClickableMixin: Mixin;
|
|
26
|
-
export declare const AccordionContainableMixin: Mixin;
|
|
27
|
-
export declare const AccordionAssertableMixin: Mixin;
|
|
28
|
-
export declare const AccordionAccessor: Accessor<AccordionTileAccessorType>;
|
|
29
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Andable } from './mixins/andable';
|
|
2
|
-
import { Attachable } from './mixins/attachable';
|
|
3
|
-
import { Attributable } from './mixins/attributable';
|
|
4
|
-
import { Blurable } from './mixins/blurable';
|
|
5
|
-
import { Clickable } from './mixins/clickable';
|
|
6
|
-
import { Containable } from './mixins/containable';
|
|
7
|
-
import { Disableable } from './mixins/disableable';
|
|
8
|
-
import { Eachable } from './mixins/eachable';
|
|
9
|
-
import { Existable } from './mixins/existable';
|
|
10
|
-
import { Findable } from './mixins/findable';
|
|
11
|
-
import { Invokable } from './mixins/invokable';
|
|
12
|
-
import { Lengthable } from './mixins/lengthable';
|
|
13
|
-
import { Accessor } from './mixins/mixins';
|
|
14
|
-
import { NthSelectable } from './mixins/nthSelectable';
|
|
15
|
-
import { Shouldable } from './mixins/shouldable';
|
|
16
|
-
import { Thenable } from './mixins/thenable';
|
|
17
|
-
import { Urlable } from './mixins/urlable';
|
|
18
|
-
import { Visible } from './mixins/visible';
|
|
19
|
-
import { Waitable } from './mixins/waitable';
|
|
20
|
-
interface ButtonAccessorType extends Andable<ButtonAccessorType>, Blurable<ButtonAccessorType>, Clickable<ButtonAccessorType>, Existable<ButtonAccessorType>, Shouldable<ButtonAccessorType>, Containable<ButtonAccessorType>, Disableable<ButtonAccessorType>, Visible<ButtonAccessorType>, NthSelectable<ButtonAccessorType>, Attributable<ButtonAccessorType>, Urlable<ButtonAccessorType>, Findable<ButtonAccessorType>, Waitable<ButtonAccessorType>, Invokable<ButtonAccessorType>, Thenable<ButtonAccessorType>, Lengthable<ButtonAccessorType>, Eachable<ButtonAccessorType>, Attachable<ButtonAccessorType> {
|
|
21
|
-
}
|
|
22
|
-
export declare const ButtonAccessor: Accessor<ButtonAccessorType>;
|
|
23
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Andable } from './mixins/andable';
|
|
2
|
-
import { Attributable } from './mixins/attributable';
|
|
3
|
-
import { Blurable } from './mixins/blurable';
|
|
4
|
-
import { Checkable } from './mixins/checkable';
|
|
5
|
-
import { Clickable } from './mixins/clickable';
|
|
6
|
-
import { Containable } from './mixins/containable';
|
|
7
|
-
import { Disableable } from './mixins/disableable';
|
|
8
|
-
import { Eachable } from './mixins/eachable';
|
|
9
|
-
import { Existable } from './mixins/existable';
|
|
10
|
-
import { Findable } from './mixins/findable';
|
|
11
|
-
import { Invokable } from './mixins/invokable';
|
|
12
|
-
import { Lengthable } from './mixins/lengthable';
|
|
13
|
-
import { Accessor, Mixin } from './mixins/mixins';
|
|
14
|
-
import { NthSelectable } from './mixins/nthSelectable';
|
|
15
|
-
import { Shouldable } from './mixins/shouldable';
|
|
16
|
-
import { Thenable } from './mixins/thenable';
|
|
17
|
-
import { Urlable } from './mixins/urlable';
|
|
18
|
-
import { Visible } from './mixins/visible';
|
|
19
|
-
import { Waitable } from './mixins/waitable';
|
|
20
|
-
interface CheckboxAccessorType extends Andable<CheckboxAccessorType>, Blurable<CheckboxAccessorType>, Clickable<CheckboxAccessorType>, Disableable<CheckboxAccessorType>, Checkable<CheckboxAccessorType>, Containable<CheckboxAccessorType>, Existable<CheckboxAccessorType>, Visible<CheckboxAccessorType>, NthSelectable<CheckboxAccessorType>, Shouldable<CheckboxAccessorType>, Attributable<CheckboxAccessorType>, Urlable<CheckboxAccessorType>, Findable<CheckboxAccessorType>, Waitable<CheckboxAccessorType>, Invokable<CheckboxAccessorType>, Thenable<CheckboxAccessorType>, Lengthable<CheckboxAccessorType>, Eachable<CheckboxAccessorType> {
|
|
21
|
-
}
|
|
22
|
-
export declare const CheckboxClickableMixin: Mixin;
|
|
23
|
-
export declare const CheckboxContainableMixin: Mixin;
|
|
24
|
-
export declare const CheckboxAccessor: Accessor<CheckboxAccessorType>;
|
|
25
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Andable } from './mixins/andable';
|
|
2
|
-
import { Attributable } from './mixins/attributable';
|
|
3
|
-
import { Blurable } from './mixins/blurable';
|
|
4
|
-
import { Clickable } from './mixins/clickable';
|
|
5
|
-
import { Containable } from './mixins/containable';
|
|
6
|
-
import { Disableable } from './mixins/disableable';
|
|
7
|
-
import { Eachable } from './mixins/eachable';
|
|
8
|
-
import { Existable } from './mixins/existable';
|
|
9
|
-
import { Findable } from './mixins/findable';
|
|
10
|
-
import { Invokable } from './mixins/invokable';
|
|
11
|
-
import { Lengthable } from './mixins/lengthable';
|
|
12
|
-
import { Accessor, Mixin } from './mixins/mixins';
|
|
13
|
-
import { NthSelectable } from './mixins/nthSelectable';
|
|
14
|
-
import { Selectable } from './mixins/selectable';
|
|
15
|
-
import { Shouldable } from './mixins/shouldable';
|
|
16
|
-
import { Thenable } from './mixins/thenable';
|
|
17
|
-
import { Urlable } from './mixins/urlable';
|
|
18
|
-
import { Visible } from './mixins/visible';
|
|
19
|
-
import { Waitable } from './mixins/waitable';
|
|
20
|
-
interface DropDownAccessorType extends Andable<DropDownAccessorType>, Blurable<DropDownAccessorType>, Clickable<DropDownAccessorType>, Selectable<DropDownAccessorType>, Disableable<DropDownAccessorType>, Containable<DropDownAccessorType>, Shouldable<DropDownAccessorType>, Visible<DropDownAccessorType>, NthSelectable<DropDownAccessorType>, Attributable<DropDownAccessorType>, Urlable<DropDownAccessorType>, Findable<DropDownAccessorType>, Waitable<DropDownAccessorType>, Existable<DropDownAccessorType>, Invokable<DropDownAccessorType>, Thenable<DropDownAccessorType>, Lengthable<DropDownAccessorType>, Eachable<DropDownAccessorType> {
|
|
21
|
-
assertOptions(...options: string[]): DropDownAccessorType;
|
|
22
|
-
}
|
|
23
|
-
export declare const DropDownClickableMixin: Mixin;
|
|
24
|
-
export declare const DropDownSelectableMixin: Mixin;
|
|
25
|
-
export declare function SiblingDropDownSelectableMixin(): Mixin;
|
|
26
|
-
export declare const DropDownAssertableOptionsMixin: Mixin;
|
|
27
|
-
export declare function SiblingDropDownAssertableOptionsMixin(): Mixin;
|
|
28
|
-
export declare const DropDownContainableMixin: Mixin;
|
|
29
|
-
export declare function SiblingDropDownContainableMixin(): Mixin;
|
|
30
|
-
export declare const DropDownAccessor: Accessor<DropDownAccessorType>;
|
|
31
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Andable } from './mixins/andable';
|
|
2
|
-
import { Attributable } from './mixins/attributable';
|
|
3
|
-
import { Clickable } from './mixins/clickable';
|
|
4
|
-
import { Eachable } from './mixins/eachable';
|
|
5
|
-
import { Existable } from './mixins/existable';
|
|
6
|
-
import { Findable } from './mixins/findable';
|
|
7
|
-
import { Invokable } from './mixins/invokable';
|
|
8
|
-
import { Lengthable } from './mixins/lengthable';
|
|
9
|
-
import { Accessor, Mixin } from './mixins/mixins';
|
|
10
|
-
import { NthSelectable } from './mixins/nthSelectable';
|
|
11
|
-
import { Shouldable } from './mixins/shouldable';
|
|
12
|
-
import { Thenable } from './mixins/thenable';
|
|
13
|
-
import { Urlable } from './mixins/urlable';
|
|
14
|
-
import { Visible } from './mixins/visible';
|
|
15
|
-
import { Waitable } from './mixins/waitable';
|
|
16
|
-
interface ErrorAccessorType extends Andable<ErrorAccessorType>, Clickable<ErrorAccessorType>, Existable<ErrorAccessorType>, Shouldable<ErrorAccessorType>, Visible<ErrorAccessorType>, NthSelectable<ErrorAccessorType>, Attributable<ErrorAccessorType>, Urlable<ErrorAccessorType>, Findable<ErrorAccessorType>, Waitable<ErrorAccessorType>, Invokable<ErrorAccessorType>, Thenable<ErrorAccessorType>, Lengthable<ErrorAccessorType>, Eachable<ErrorAccessorType> {
|
|
17
|
-
assertError(error: string): ErrorAccessorType;
|
|
18
|
-
assertNoError(): ErrorAccessorType;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* TODO: adjust to the DS
|
|
22
|
-
*/
|
|
23
|
-
export declare const ErrorAssertableMixin: Mixin;
|
|
24
|
-
export declare const ErrorAccessor: Accessor<ErrorAccessorType>;
|
|
25
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Andable } from './mixins/andable';
|
|
2
|
-
import { Attributable } from './mixins/attributable';
|
|
3
|
-
import { Blurable } from './mixins/blurable';
|
|
4
|
-
import { Clickable } from './mixins/clickable';
|
|
5
|
-
import { Containable } from './mixins/containable';
|
|
6
|
-
import { Eachable } from './mixins/eachable';
|
|
7
|
-
import { Existable } from './mixins/existable';
|
|
8
|
-
import { Findable } from './mixins/findable';
|
|
9
|
-
import { Invokable } from './mixins/invokable';
|
|
10
|
-
import { Lengthable } from './mixins/lengthable';
|
|
11
|
-
import { Accessor, Mixin } from './mixins/mixins';
|
|
12
|
-
import { NthSelectable } from './mixins/nthSelectable';
|
|
13
|
-
import { Shouldable } from './mixins/shouldable';
|
|
14
|
-
import { Thenable } from './mixins/thenable';
|
|
15
|
-
import { Urlable } from './mixins/urlable';
|
|
16
|
-
import { Visible } from './mixins/visible';
|
|
17
|
-
import { Waitable } from './mixins/waitable';
|
|
18
|
-
interface IconAccessorType extends Andable<IconAccessorType>, Blurable<IconAccessorType>, Existable<IconAccessorType>, Containable<IconAccessorType>, Clickable<IconAccessorType>, Shouldable<IconAccessorType>, Visible<IconAccessorType>, NthSelectable<IconAccessorType>, Attributable<IconAccessorType>, Urlable<IconAccessorType>, Findable<IconAccessorType>, Waitable<IconAccessorType>, Invokable<IconAccessorType>, Thenable<IconAccessorType>, Lengthable<IconAccessorType>, Eachable<IconAccessorType> {
|
|
19
|
-
assertIcon(id: string): IconAccessorType;
|
|
20
|
-
}
|
|
21
|
-
export declare const LibIconAssertableMixin: Mixin;
|
|
22
|
-
export declare const IconAccessor: Accessor<IconAccessorType>;
|
|
23
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Andable } from './mixins/andable';
|
|
2
|
-
import { Attachable } from './mixins/attachable';
|
|
3
|
-
import { Attributable } from './mixins/attributable';
|
|
4
|
-
import { Blurable } from './mixins/blurable';
|
|
5
|
-
import { Clearable } from './mixins/clearable';
|
|
6
|
-
import { Clickable } from './mixins/clickable';
|
|
7
|
-
import { Containable } from './mixins/containable';
|
|
8
|
-
import { Disableable } from './mixins/disableable';
|
|
9
|
-
import { Eachable } from './mixins/eachable';
|
|
10
|
-
import { Existable } from './mixins/existable';
|
|
11
|
-
import { Findable } from './mixins/findable';
|
|
12
|
-
import { Invokable } from './mixins/invokable';
|
|
13
|
-
import { Lengthable } from './mixins/lengthable';
|
|
14
|
-
import { Accessor, Mixin } from './mixins/mixins';
|
|
15
|
-
import { NthSelectable } from './mixins/nthSelectable';
|
|
16
|
-
import { Shouldable } from './mixins/shouldable';
|
|
17
|
-
import { Thenable } from './mixins/thenable';
|
|
18
|
-
import { Typeable } from './mixins/typeable';
|
|
19
|
-
import { Urlable } from './mixins/urlable';
|
|
20
|
-
import { Visible } from './mixins/visible';
|
|
21
|
-
import { Waitable } from './mixins/waitable';
|
|
22
|
-
interface InputAccessorType extends Andable<InputAccessorType>, Clickable<InputAccessorType>, Typeable<InputAccessorType>, Blurable<InputAccessorType>, Clearable<InputAccessorType>, Visible<InputAccessorType>, Containable<InputAccessorType>, Existable<InputAccessorType>, Shouldable<InputAccessorType>, Disableable<InputAccessorType>, NthSelectable<InputAccessorType>, Attributable<InputAccessorType>, Urlable<InputAccessorType>, Findable<InputAccessorType>, Waitable<InputAccessorType>, Invokable<InputAccessorType>, Thenable<InputAccessorType>, Lengthable<InputAccessorType>, Eachable<InputAccessorType>, Attachable<InputAccessorType> {
|
|
23
|
-
assertValue(value: any): InputAccessorType;
|
|
24
|
-
contains(content: string | number | RegExp): InputAccessorType;
|
|
25
|
-
assertError(error: string): InputAccessorType;
|
|
26
|
-
assertNoError(): InputAccessorType;
|
|
27
|
-
}
|
|
28
|
-
export declare const InputValueAssertableMixin: Mixin;
|
|
29
|
-
export declare const InputAccessor: Accessor<InputAccessorType>;
|
|
30
|
-
export {};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Andable } from './mixins/andable';
|
|
2
|
-
import { Attachable } from './mixins/attachable';
|
|
3
|
-
import { Attributable } from './mixins/attributable';
|
|
4
|
-
import { Blurable } from './mixins/blurable';
|
|
5
|
-
import { Clickable } from './mixins/clickable';
|
|
6
|
-
import { Containable } from './mixins/containable';
|
|
7
|
-
import { Disableable } from './mixins/disableable';
|
|
8
|
-
import { Eachable } from './mixins/eachable';
|
|
9
|
-
import { Existable } from './mixins/existable';
|
|
10
|
-
import { Findable } from './mixins/findable';
|
|
11
|
-
import { Invokable } from './mixins/invokable';
|
|
12
|
-
import { Lengthable } from './mixins/lengthable';
|
|
13
|
-
import { Accessor, Mixin } from './mixins/mixins';
|
|
14
|
-
import { NthSelectable } from './mixins/nthSelectable';
|
|
15
|
-
import { Shouldable } from './mixins/shouldable';
|
|
16
|
-
import { Thenable } from './mixins/thenable';
|
|
17
|
-
import { Urlable } from './mixins/urlable';
|
|
18
|
-
import { Visible } from './mixins/visible';
|
|
19
|
-
import { Waitable } from './mixins/waitable';
|
|
20
|
-
export declare enum Target {
|
|
21
|
-
newTab = "_blank",
|
|
22
|
-
sameTab = "_self",
|
|
23
|
-
parent = "_parent",
|
|
24
|
-
top = "_top"
|
|
25
|
-
}
|
|
26
|
-
interface LinkAccessorType extends Andable<LinkAccessorType>, Blurable<LinkAccessorType>, Clickable<LinkAccessorType>, Existable<LinkAccessorType>, Shouldable<LinkAccessorType>, Containable<LinkAccessorType>, Disableable<LinkAccessorType>, Visible<LinkAccessorType>, NthSelectable<LinkAccessorType>, Attributable<LinkAccessorType>, Urlable<LinkAccessorType>, Findable<LinkAccessorType>, Waitable<LinkAccessorType>, Invokable<LinkAccessorType>, Thenable<LinkAccessorType>, Lengthable<LinkAccessorType>, Eachable<LinkAccessorType>, Attachable<LinkAccessorType> {
|
|
27
|
-
clickLink(): LinkAccessorType;
|
|
28
|
-
assertLinkOpeningTarget(target: Target): LinkAccessorType;
|
|
29
|
-
assertLinkWithoutTarget(): LinkAccessorType;
|
|
30
|
-
assertHrefContains(href: string): LinkAccessorType;
|
|
31
|
-
assertHrefEquals(href: string): LinkAccessorType;
|
|
32
|
-
}
|
|
33
|
-
export declare const LinkClickableMixin: Mixin;
|
|
34
|
-
export declare const LinkWithTargetAttribute: Mixin;
|
|
35
|
-
export declare const LinkWithoutTargetAttribute: Mixin;
|
|
36
|
-
export declare const LinkHrefContainsAssertableMixin: Mixin;
|
|
37
|
-
export declare const LinkHrefEqualsAssertableMixin: Mixin;
|
|
38
|
-
export declare const LinkAccessor: Accessor<LinkAccessorType>;
|
|
39
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Andable } from './mixins/andable';
|
|
2
|
-
import { Attributable } from './mixins/attributable';
|
|
3
|
-
import { Clickable } from './mixins/clickable';
|
|
4
|
-
import { Containable } from './mixins/containable';
|
|
5
|
-
import { Disableable } from './mixins/disableable';
|
|
6
|
-
import { Existable } from './mixins/existable';
|
|
7
|
-
import { Findable } from './mixins/findable';
|
|
8
|
-
import { Invokable } from './mixins/invokable';
|
|
9
|
-
import { Lengthable } from './mixins/lengthable';
|
|
10
|
-
import { Accessor, Mixin } from './mixins/mixins';
|
|
11
|
-
import { NthSelectable } from './mixins/nthSelectable';
|
|
12
|
-
import { Selectable } from './mixins/selectable';
|
|
13
|
-
import { Shouldable } from './mixins/shouldable';
|
|
14
|
-
import { Thenable } from './mixins/thenable';
|
|
15
|
-
import { Urlable } from './mixins/urlable';
|
|
16
|
-
import { Visible } from './mixins/visible';
|
|
17
|
-
import { Waitable } from './mixins/waitable';
|
|
18
|
-
interface ListAccessorType extends Andable<ListAccessorType>, Selectable<ListAccessorType>, Containable<ListAccessorType>, Existable<ListAccessorType>, Clickable<ListAccessorType>, Disableable<ListAccessorType>, Shouldable<ListAccessorType>, Visible<ListAccessorType>, NthSelectable<ListAccessorType>, Attributable<ListAccessorType>, Urlable<ListAccessorType>, Findable<ListAccessorType>, Waitable<ListAccessorType>, Invokable<ListAccessorType>, Thenable<ListAccessorType>, Lengthable<ListAccessorType>, Lengthable<ListAccessorType> {
|
|
19
|
-
}
|
|
20
|
-
export declare const ListSelectableMixin: Mixin;
|
|
21
|
-
export declare const ListAssertableMixin: Mixin;
|
|
22
|
-
export declare const ListAccessor: Accessor<ListAccessorType>;
|
|
23
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Mixin } from './mixins';
|
|
2
|
-
export interface Attributable<T> {
|
|
3
|
-
assertAttributeEquals(attribute: string, value: string): T;
|
|
4
|
-
assertAttributeInclude(attribute: string, value: string): T;
|
|
5
|
-
assertDoesNotHaveAttribute(attribute: string): T;
|
|
6
|
-
}
|
|
7
|
-
export declare const AttributableMixin: Mixin;
|