@vonage/vivid-test-utils 5.2.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/README.md +102 -0
- package/dist/actions.d.ts +31 -0
- package/dist/base.d.ts +38 -0
- package/dist/components.generated-DY7hz_DE.js +3311 -0
- package/dist/components.generated-DiskE4p5.cjs +1 -0
- package/dist/components.generated.d.ts +2581 -0
- package/dist/cypress.cjs +3 -0
- package/dist/cypress.d.ts +7 -0
- package/dist/cypress.js +133 -0
- package/dist/dom.cjs +3 -0
- package/dist/dom.d.ts +4 -0
- package/dist/dom.js +120 -0
- package/dist/drivers/cypress.d.ts +7 -0
- package/dist/drivers/dom.d.ts +5 -0
- package/dist/drivers/driver.d.ts +54 -0
- package/dist/drivers/playwright.d.ts +3 -0
- package/dist/jsdom-polyfill.cjs +1 -0
- package/dist/jsdom-polyfill.d.ts +1 -0
- package/dist/jsdom-polyfill.js +37 -0
- package/dist/playwright.cjs +3 -0
- package/dist/playwright.d.ts +4 -0
- package/dist/playwright.js +87 -0
- package/dist/queries.d.ts +20 -0
- package/dist/refs.d.ts +8 -0
- package/dist/selectors.d.ts +7 -0
- package/dist/utils/cssSelectors.d.ts +2 -0
- package/dist/utils/runSequence.d.ts +1 -0
- package/package.json +56 -0
|
@@ -0,0 +1,3311 @@
|
|
|
1
|
+
class n {
|
|
2
|
+
constructor(r, s) {
|
|
3
|
+
this.ctx = r, this.locator = s;
|
|
4
|
+
}
|
|
5
|
+
unwrap() {
|
|
6
|
+
return this.locator;
|
|
7
|
+
}
|
|
8
|
+
assert(r, s, e, i) {
|
|
9
|
+
return this.ctx.driver.expectEq(
|
|
10
|
+
{
|
|
11
|
+
type: "eval",
|
|
12
|
+
el: this.locator,
|
|
13
|
+
fn: s,
|
|
14
|
+
arg: i
|
|
15
|
+
},
|
|
16
|
+
e,
|
|
17
|
+
`Failed to assert condition: "${r}"`
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
class a {
|
|
22
|
+
constructor(r) {
|
|
23
|
+
this.ctx = r, this.all = this.ctx.driver.wrapSelector(
|
|
24
|
+
() => new le(
|
|
25
|
+
this.ctx,
|
|
26
|
+
this,
|
|
27
|
+
this.ctx.driver.querySelectorAll(
|
|
28
|
+
this.ctx.rootLocator,
|
|
29
|
+
`[data-vvd-component="${this.componentInfo.name}"]`
|
|
30
|
+
)
|
|
31
|
+
)
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
class le {
|
|
36
|
+
constructor(r, s, e) {
|
|
37
|
+
this.ctx = r, this.component = s, this.locator = e, this.type = "collection", this.nth = this.ctx.driver.wrapSelector(
|
|
38
|
+
(i) => this.component.wrap(this.ctx.driver.nth(this.locator, i))
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
class xe {
|
|
43
|
+
constructor(r, s) {
|
|
44
|
+
this.ctx = r, this.locator = s, this.toHaveCount = this.ctx.driver.wrapExpect(
|
|
45
|
+
(e) => this.ctx.driver.expectEq(
|
|
46
|
+
{
|
|
47
|
+
el: this.locator.locator,
|
|
48
|
+
// FIXME: retrieve the locator correctly
|
|
49
|
+
type: "count"
|
|
50
|
+
},
|
|
51
|
+
e,
|
|
52
|
+
`toHaveCount(${e})`
|
|
53
|
+
)
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
const ve = (t) => t.replace(/\\/g, "\\\\").replace(/"/g, '\\"').replace(/'/g, "\\'"), A = (t, r) => r.map(
|
|
58
|
+
([s, e]) => `[data-vvd-component="${t}"][${s}="${ve(
|
|
59
|
+
e
|
|
60
|
+
)}"]`
|
|
61
|
+
).join(",");
|
|
62
|
+
function h(t) {
|
|
63
|
+
return this.wrap(
|
|
64
|
+
this.ctx.driver.querySelector(
|
|
65
|
+
this.ctx.rootLocator,
|
|
66
|
+
A(this.componentInfo.name, [
|
|
67
|
+
["data-testid", t],
|
|
68
|
+
["data-test-id", t],
|
|
69
|
+
["data-cy", t]
|
|
70
|
+
])
|
|
71
|
+
)
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
function v(t) {
|
|
75
|
+
return this.wrap(
|
|
76
|
+
this.ctx.driver.querySelector(
|
|
77
|
+
this.ctx.rootLocator,
|
|
78
|
+
A(this.componentInfo.name, [
|
|
79
|
+
["label", t],
|
|
80
|
+
["aria-label", t],
|
|
81
|
+
["data-vvd-aria-label", t]
|
|
82
|
+
])
|
|
83
|
+
)
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
function ue(t) {
|
|
87
|
+
return this.wrap(
|
|
88
|
+
this.ctx.driver.querySelector(
|
|
89
|
+
this.ctx.rootLocator,
|
|
90
|
+
A(this.componentInfo.name, [["heading", t]])
|
|
91
|
+
)
|
|
92
|
+
);
|
|
93
|
+
}
|
|
94
|
+
function B(t) {
|
|
95
|
+
return this.wrap(
|
|
96
|
+
this.ctx.driver.querySelector(
|
|
97
|
+
this.ctx.rootLocator,
|
|
98
|
+
A(this.componentInfo.name, [["headline", t]])
|
|
99
|
+
)
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
function k(t) {
|
|
103
|
+
return this.wrap(
|
|
104
|
+
this.ctx.driver.querySelector(
|
|
105
|
+
this.ctx.rootLocator,
|
|
106
|
+
A(this.componentInfo.name, [["text", t]])
|
|
107
|
+
)
|
|
108
|
+
);
|
|
109
|
+
}
|
|
110
|
+
const m = (t) => {
|
|
111
|
+
if (!t.length)
|
|
112
|
+
return;
|
|
113
|
+
const r = t[0], s = t.slice(1), e = r();
|
|
114
|
+
return e instanceof Promise ? e.then(() => m(s)) : m(s);
|
|
115
|
+
};
|
|
116
|
+
function I(t) {
|
|
117
|
+
return t.checked;
|
|
118
|
+
}
|
|
119
|
+
function g(t) {
|
|
120
|
+
return t.indeterminate ? "indeterminate" : t.checked ? "checked" : "unchecked";
|
|
121
|
+
}
|
|
122
|
+
function f(t) {
|
|
123
|
+
return t.errorValidationMessage;
|
|
124
|
+
}
|
|
125
|
+
function _(t) {
|
|
126
|
+
return t.headline;
|
|
127
|
+
}
|
|
128
|
+
function E(t) {
|
|
129
|
+
return t.open;
|
|
130
|
+
}
|
|
131
|
+
function w(t) {
|
|
132
|
+
return t.value;
|
|
133
|
+
}
|
|
134
|
+
function z(t) {
|
|
135
|
+
return t.valueAsNumber;
|
|
136
|
+
}
|
|
137
|
+
function we(t) {
|
|
138
|
+
return t.values;
|
|
139
|
+
}
|
|
140
|
+
function be(t) {
|
|
141
|
+
return t.selectedOptions.map((r) => r.label);
|
|
142
|
+
}
|
|
143
|
+
function R(t) {
|
|
144
|
+
return t.expanded;
|
|
145
|
+
}
|
|
146
|
+
function L(t) {
|
|
147
|
+
return t.active;
|
|
148
|
+
}
|
|
149
|
+
function H(t) {
|
|
150
|
+
return t.current;
|
|
151
|
+
}
|
|
152
|
+
function O(t) {
|
|
153
|
+
return t.selected;
|
|
154
|
+
}
|
|
155
|
+
function q(t) {
|
|
156
|
+
return t.disabled;
|
|
157
|
+
}
|
|
158
|
+
function me(t) {
|
|
159
|
+
return [t.start, t.end];
|
|
160
|
+
}
|
|
161
|
+
function fe(t) {
|
|
162
|
+
return [t.startAsNumber, t.endAsNumber];
|
|
163
|
+
}
|
|
164
|
+
function Ee(t) {
|
|
165
|
+
return t.name;
|
|
166
|
+
}
|
|
167
|
+
function ye(t) {
|
|
168
|
+
return t.total;
|
|
169
|
+
}
|
|
170
|
+
function Ie(t) {
|
|
171
|
+
return t.selectedIndex + 1 || null;
|
|
172
|
+
}
|
|
173
|
+
function u(t) {
|
|
174
|
+
const r = t.shadowRoot.querySelector("slot[name=icon]");
|
|
175
|
+
if (r) {
|
|
176
|
+
const e = r.assignedElements()[0];
|
|
177
|
+
if ((e == null ? void 0 : e.dataset.vvdComponent) === "icon")
|
|
178
|
+
return e.name;
|
|
179
|
+
}
|
|
180
|
+
const s = t.shadowRoot.querySelector(
|
|
181
|
+
'slot[name="icon"] [data-vvd-component="icon"], span.icon [data-vvd-component="icon"]'
|
|
182
|
+
);
|
|
183
|
+
return s ? s.name : null;
|
|
184
|
+
}
|
|
185
|
+
function b(t) {
|
|
186
|
+
return this.ctx.driver.userClick(t());
|
|
187
|
+
}
|
|
188
|
+
function V(t, r) {
|
|
189
|
+
return this.ctx.driver.userFill(t(), r);
|
|
190
|
+
}
|
|
191
|
+
function ge(t) {
|
|
192
|
+
return m([
|
|
193
|
+
() => this.ctx.driver.userFill(this.control(), t),
|
|
194
|
+
() => this.ctx.driver.userBlur(this.control())
|
|
195
|
+
// Combobox only updates value on blur
|
|
196
|
+
]);
|
|
197
|
+
}
|
|
198
|
+
function W(t) {
|
|
199
|
+
return this.ctx.driver.userClear(t());
|
|
200
|
+
}
|
|
201
|
+
function Ae() {
|
|
202
|
+
return m([
|
|
203
|
+
() => this.ctx.driver.userClear(this.control()),
|
|
204
|
+
() => this.ctx.driver.userBlur(this.control())
|
|
205
|
+
// Combobox only updates value on blur
|
|
206
|
+
]);
|
|
207
|
+
}
|
|
208
|
+
function J(t) {
|
|
209
|
+
return m([
|
|
210
|
+
() => this.assert(
|
|
211
|
+
"Component is unchecked before it can be checked",
|
|
212
|
+
g,
|
|
213
|
+
"unchecked"
|
|
214
|
+
),
|
|
215
|
+
() => this.ctx.driver.userClick(t()),
|
|
216
|
+
() => this.assert(
|
|
217
|
+
"Component is checked after checking it",
|
|
218
|
+
g,
|
|
219
|
+
"checked"
|
|
220
|
+
)
|
|
221
|
+
]);
|
|
222
|
+
}
|
|
223
|
+
function K(t) {
|
|
224
|
+
return m([
|
|
225
|
+
() => this.assert(
|
|
226
|
+
"Component is checked before it can be unchecked",
|
|
227
|
+
g,
|
|
228
|
+
"checked"
|
|
229
|
+
),
|
|
230
|
+
() => this.ctx.driver.userClick(t()),
|
|
231
|
+
() => this.assert(
|
|
232
|
+
"Component is unchecked after unchecking it",
|
|
233
|
+
g,
|
|
234
|
+
"unchecked"
|
|
235
|
+
)
|
|
236
|
+
]);
|
|
237
|
+
}
|
|
238
|
+
function p(t) {
|
|
239
|
+
return this.ctx.driver.userFocus(t());
|
|
240
|
+
}
|
|
241
|
+
function d(t) {
|
|
242
|
+
return this.ctx.driver.userBlur(t());
|
|
243
|
+
}
|
|
244
|
+
function l(t) {
|
|
245
|
+
return this.ctx.driver.userHover(t());
|
|
246
|
+
}
|
|
247
|
+
function D(t) {
|
|
248
|
+
return Q.call(this, A("option", [["value", t]]));
|
|
249
|
+
}
|
|
250
|
+
function G(t) {
|
|
251
|
+
return Q.call(this, A("option", [["text", t]]));
|
|
252
|
+
}
|
|
253
|
+
function Q(t) {
|
|
254
|
+
return this.ctx.driver.eval(
|
|
255
|
+
this.locator,
|
|
256
|
+
(r) => r.open,
|
|
257
|
+
void 0,
|
|
258
|
+
(r) => m([
|
|
259
|
+
// Open the component if needed
|
|
260
|
+
() => {
|
|
261
|
+
if (!r)
|
|
262
|
+
return this.ctx.driver.userClick(this.locator);
|
|
263
|
+
},
|
|
264
|
+
() => this.ctx.driver.expectEq(
|
|
265
|
+
{
|
|
266
|
+
type: "eval",
|
|
267
|
+
el: this.ctx.driver.querySelector(this.locator, t),
|
|
268
|
+
fn: (s) => !!s.selected
|
|
269
|
+
},
|
|
270
|
+
!1,
|
|
271
|
+
"Option is unselected before it can be selected"
|
|
272
|
+
),
|
|
273
|
+
() => this.ctx.driver.expectEq(
|
|
274
|
+
{
|
|
275
|
+
type: "eval",
|
|
276
|
+
el: this.ctx.driver.querySelector(this.locator, t),
|
|
277
|
+
fn: (s) => !!s.disabled
|
|
278
|
+
},
|
|
279
|
+
!1,
|
|
280
|
+
"Option is not disabled before it can be selected"
|
|
281
|
+
),
|
|
282
|
+
// Click the option to select it
|
|
283
|
+
// Note: simulate click instead of using userClick to work around Cypress bug
|
|
284
|
+
// When clicking on an option, Cypress incorrectly blurs the host, which in case of combobox closes it
|
|
285
|
+
() => this.ctx.driver.eval(
|
|
286
|
+
this.ctx.driver.querySelector(this.locator, t),
|
|
287
|
+
(s) => s.click()
|
|
288
|
+
),
|
|
289
|
+
() => this.ctx.driver.expectEq(
|
|
290
|
+
{
|
|
291
|
+
type: "eval",
|
|
292
|
+
el: this.ctx.driver.querySelector(this.locator, t),
|
|
293
|
+
fn: (s) => !!s.selected
|
|
294
|
+
},
|
|
295
|
+
!0,
|
|
296
|
+
"Option is selected after selecting it"
|
|
297
|
+
)
|
|
298
|
+
])
|
|
299
|
+
);
|
|
300
|
+
}
|
|
301
|
+
function C(t) {
|
|
302
|
+
return t().click();
|
|
303
|
+
}
|
|
304
|
+
const $ = (t) => {
|
|
305
|
+
const [r, s, e] = t.split("-");
|
|
306
|
+
return `${s}/${e}/${r}`;
|
|
307
|
+
};
|
|
308
|
+
function He(t) {
|
|
309
|
+
return m([
|
|
310
|
+
() => this.control().fill($(t)),
|
|
311
|
+
() => this.control().blur()
|
|
312
|
+
]);
|
|
313
|
+
}
|
|
314
|
+
function P() {
|
|
315
|
+
return m([
|
|
316
|
+
() => this.pickerButton().click(),
|
|
317
|
+
() => this.clearButton().click()
|
|
318
|
+
]);
|
|
319
|
+
}
|
|
320
|
+
const X = (t) => {
|
|
321
|
+
const [r, s, e] = t.split(":"), i = +r % 12 || 12, c = +r < 12 ? "AM" : "PM";
|
|
322
|
+
return `${i}:${s}:${e} ${c}`;
|
|
323
|
+
};
|
|
324
|
+
function $e(t) {
|
|
325
|
+
return m([
|
|
326
|
+
() => this.control().fill(X(t)),
|
|
327
|
+
() => this.control().blur()
|
|
328
|
+
]);
|
|
329
|
+
}
|
|
330
|
+
const Pe = ([t, r]) => `${$(t)} – ${$(r)}`;
|
|
331
|
+
function Se(t) {
|
|
332
|
+
return m([
|
|
333
|
+
() => this.control().fill(Pe(t)),
|
|
334
|
+
() => this.control().blur()
|
|
335
|
+
]);
|
|
336
|
+
}
|
|
337
|
+
const qe = (t) => {
|
|
338
|
+
const [r, s] = t.split("T");
|
|
339
|
+
return `${$(r)} ${X(s)}`;
|
|
340
|
+
};
|
|
341
|
+
function Ce(t) {
|
|
342
|
+
return m([
|
|
343
|
+
() => this.control().fill(qe(t)),
|
|
344
|
+
() => this.control().blur()
|
|
345
|
+
]);
|
|
346
|
+
}
|
|
347
|
+
function T(t, r, s) {
|
|
348
|
+
return this.ctx.driver.userDragSlider(this.locator, t(), r(), s);
|
|
349
|
+
}
|
|
350
|
+
function Te(t) {
|
|
351
|
+
return this.ctx.driver.userClick(
|
|
352
|
+
this.ctx.driver.querySelector(
|
|
353
|
+
this.ctx.driver.enterShadow(this.locator),
|
|
354
|
+
`.vwc-pagination-button[label="${t + 1}"]`
|
|
355
|
+
)
|
|
356
|
+
);
|
|
357
|
+
}
|
|
358
|
+
function F(t) {
|
|
359
|
+
return m([
|
|
360
|
+
() => this.assert(
|
|
361
|
+
`Component is ${t ? "collapsed" : "expanded"} before it can be ${t ? "expanded" : "collapsed"}`,
|
|
362
|
+
(r) => !!r.expanded,
|
|
363
|
+
!t
|
|
364
|
+
),
|
|
365
|
+
() => this.ctx.driver.userClick(this.button()),
|
|
366
|
+
() => this.assert(
|
|
367
|
+
`Component is ${t ? "expanded" : "collapsed"} after ${t ? "expanding" : "collapsing"} it`,
|
|
368
|
+
(r) => !!r.expanded,
|
|
369
|
+
t
|
|
370
|
+
)
|
|
371
|
+
]);
|
|
372
|
+
}
|
|
373
|
+
function U(t) {
|
|
374
|
+
return m([
|
|
375
|
+
() => this.assert(
|
|
376
|
+
`Component is ${t ? "closed" : "open"} before it can be ${t ? "expanded" : "collapsed"}`,
|
|
377
|
+
(r) => !!r.open,
|
|
378
|
+
!t
|
|
379
|
+
),
|
|
380
|
+
() => this.ctx.driver.userClick(this.summary()),
|
|
381
|
+
() => this.assert(
|
|
382
|
+
`Component is ${t ? "open" : "closed"} after ${t ? "expanding" : "collapsing"} it`,
|
|
383
|
+
(r) => !!r.open,
|
|
384
|
+
t
|
|
385
|
+
)
|
|
386
|
+
]);
|
|
387
|
+
}
|
|
388
|
+
function M(t) {
|
|
389
|
+
return m([
|
|
390
|
+
() => this.ctx.driver.userClick(this.base()),
|
|
391
|
+
() => this.assert(
|
|
392
|
+
`Component is ${t ? "selected" : "unselected"} after ${t ? "selecting" : "unselecting"} it`,
|
|
393
|
+
(r) => !!r.selected,
|
|
394
|
+
t
|
|
395
|
+
)
|
|
396
|
+
]);
|
|
397
|
+
}
|
|
398
|
+
function Be(t) {
|
|
399
|
+
return this.ctx.driver.querySelector(this.unwrap(), t);
|
|
400
|
+
}
|
|
401
|
+
function x(t) {
|
|
402
|
+
return this.ctx.driver.querySelector(
|
|
403
|
+
this.ctx.driver.enterShadow(this.unwrap()),
|
|
404
|
+
t
|
|
405
|
+
);
|
|
406
|
+
}
|
|
407
|
+
function ke(t, r) {
|
|
408
|
+
return this.ctx.driver.querySelector(
|
|
409
|
+
this.ctx.driver.enterShadow(
|
|
410
|
+
this.ctx.driver.querySelector(
|
|
411
|
+
this.ctx.driver.enterShadow(this.unwrap()),
|
|
412
|
+
t
|
|
413
|
+
)
|
|
414
|
+
),
|
|
415
|
+
r
|
|
416
|
+
);
|
|
417
|
+
}
|
|
418
|
+
function y(t) {
|
|
419
|
+
return new at(
|
|
420
|
+
this.ctx,
|
|
421
|
+
this.ctx.driver.querySelector(
|
|
422
|
+
this.ctx.driver.enterShadow(this.unwrap()),
|
|
423
|
+
t
|
|
424
|
+
)
|
|
425
|
+
);
|
|
426
|
+
}
|
|
427
|
+
function S(t) {
|
|
428
|
+
return new ce(
|
|
429
|
+
this.ctx,
|
|
430
|
+
this.ctx.driver.querySelector(
|
|
431
|
+
this.ctx.driver.enterShadow(this.unwrap()),
|
|
432
|
+
t
|
|
433
|
+
)
|
|
434
|
+
);
|
|
435
|
+
}
|
|
436
|
+
const Y = {
|
|
437
|
+
name: "accordion"
|
|
438
|
+
};
|
|
439
|
+
class Ve extends n {
|
|
440
|
+
constructor() {
|
|
441
|
+
super(...arguments), this.type = "accordion", this.componentInfo = Y, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
class We extends a {
|
|
445
|
+
constructor() {
|
|
446
|
+
super(...arguments), this.componentInfo = Y, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
447
|
+
}
|
|
448
|
+
wrap(r) {
|
|
449
|
+
return new Ve(this.ctx, r);
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
class De {
|
|
453
|
+
constructor(r, s) {
|
|
454
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
455
|
+
{
|
|
456
|
+
type: "eval",
|
|
457
|
+
el: this.wrapper.unwrap(),
|
|
458
|
+
fn: (c, o) => c[o],
|
|
459
|
+
arg: e
|
|
460
|
+
},
|
|
461
|
+
i,
|
|
462
|
+
`toHaveProp("${e}", ${i})`
|
|
463
|
+
));
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
const Z = {
|
|
467
|
+
name: "accordion-item"
|
|
468
|
+
};
|
|
469
|
+
class Ge extends n {
|
|
470
|
+
constructor() {
|
|
471
|
+
super(...arguments), this.type = "accordionItem", this.componentInfo = Z, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.expand = this.ctx.driver.wrapAction(F.bind(this, !0)), this.collapse = this.ctx.driver.wrapAction(F.bind(this, !1)), this.button = x.bind(this, ".heading-button");
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
class Re extends a {
|
|
475
|
+
constructor() {
|
|
476
|
+
super(...arguments), this.componentInfo = Z, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byHeading = this.ctx.driver.wrapSelector(ue.bind(this));
|
|
477
|
+
}
|
|
478
|
+
wrap(r) {
|
|
479
|
+
return new Ge(this.ctx, r);
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
class Le {
|
|
483
|
+
constructor(r, s) {
|
|
484
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
485
|
+
{
|
|
486
|
+
type: "eval",
|
|
487
|
+
el: this.wrapper.unwrap(),
|
|
488
|
+
fn: (c, o) => c[o],
|
|
489
|
+
arg: e
|
|
490
|
+
},
|
|
491
|
+
i,
|
|
492
|
+
`toHaveProp("${e}", ${i})`
|
|
493
|
+
)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
494
|
+
{
|
|
495
|
+
type: "eval",
|
|
496
|
+
el: this.wrapper.unwrap(),
|
|
497
|
+
fn: u
|
|
498
|
+
},
|
|
499
|
+
e,
|
|
500
|
+
"toHaveIcon(${value})"
|
|
501
|
+
)), this.toBeExpanded = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
502
|
+
{
|
|
503
|
+
type: "eval",
|
|
504
|
+
el: this.wrapper.unwrap(),
|
|
505
|
+
fn: R
|
|
506
|
+
},
|
|
507
|
+
!0,
|
|
508
|
+
"toBeExpanded()"
|
|
509
|
+
)), this.toBeCollapsed = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
510
|
+
{
|
|
511
|
+
type: "eval",
|
|
512
|
+
el: this.wrapper.unwrap(),
|
|
513
|
+
fn: R
|
|
514
|
+
},
|
|
515
|
+
!1,
|
|
516
|
+
"toBeCollapsed()"
|
|
517
|
+
));
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
const N = {
|
|
521
|
+
name: "action-group"
|
|
522
|
+
};
|
|
523
|
+
class Oe extends n {
|
|
524
|
+
constructor() {
|
|
525
|
+
super(...arguments), this.type = "actionGroup", this.componentInfo = N, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
class Fe extends a {
|
|
529
|
+
constructor() {
|
|
530
|
+
super(...arguments), this.componentInfo = N, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
531
|
+
}
|
|
532
|
+
wrap(r) {
|
|
533
|
+
return new Oe(this.ctx, r);
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
class Ue {
|
|
537
|
+
constructor(r, s) {
|
|
538
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
539
|
+
{
|
|
540
|
+
type: "eval",
|
|
541
|
+
el: this.wrapper.unwrap(),
|
|
542
|
+
fn: (c, o) => c[o],
|
|
543
|
+
arg: e
|
|
544
|
+
},
|
|
545
|
+
i,
|
|
546
|
+
`toHaveProp("${e}", ${i})`
|
|
547
|
+
));
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
const tt = {
|
|
551
|
+
name: "alert"
|
|
552
|
+
};
|
|
553
|
+
class Me extends n {
|
|
554
|
+
constructor() {
|
|
555
|
+
super(...arguments), this.type = "alert", this.componentInfo = tt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
class je extends a {
|
|
559
|
+
constructor() {
|
|
560
|
+
super(...arguments), this.componentInfo = tt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byHeadline = this.ctx.driver.wrapSelector(B.bind(this));
|
|
561
|
+
}
|
|
562
|
+
wrap(r) {
|
|
563
|
+
return new Me(this.ctx, r);
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
class _e {
|
|
567
|
+
constructor(r, s) {
|
|
568
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
569
|
+
{
|
|
570
|
+
type: "eval",
|
|
571
|
+
el: this.wrapper.unwrap(),
|
|
572
|
+
fn: (c, o) => c[o],
|
|
573
|
+
arg: e
|
|
574
|
+
},
|
|
575
|
+
i,
|
|
576
|
+
`toHaveProp("${e}", ${i})`
|
|
577
|
+
)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
578
|
+
{
|
|
579
|
+
type: "eval",
|
|
580
|
+
el: this.wrapper.unwrap(),
|
|
581
|
+
fn: u
|
|
582
|
+
},
|
|
583
|
+
e,
|
|
584
|
+
"toHaveIcon(${value})"
|
|
585
|
+
)), this.toBeOpen = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
586
|
+
{
|
|
587
|
+
type: "eval",
|
|
588
|
+
el: this.wrapper.unwrap(),
|
|
589
|
+
fn: E
|
|
590
|
+
},
|
|
591
|
+
!0,
|
|
592
|
+
"toBeOpen()"
|
|
593
|
+
)), this.toBeClosed = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
594
|
+
{
|
|
595
|
+
type: "eval",
|
|
596
|
+
el: this.wrapper.unwrap(),
|
|
597
|
+
fn: E
|
|
598
|
+
},
|
|
599
|
+
!1,
|
|
600
|
+
"toBeClosed()"
|
|
601
|
+
));
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
const et = {
|
|
605
|
+
name: "audio-player"
|
|
606
|
+
};
|
|
607
|
+
class ze extends n {
|
|
608
|
+
constructor() {
|
|
609
|
+
super(...arguments), this.type = "audioPlayer", this.componentInfo = et, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
class Je extends a {
|
|
613
|
+
constructor() {
|
|
614
|
+
super(...arguments), this.componentInfo = et, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
615
|
+
}
|
|
616
|
+
wrap(r) {
|
|
617
|
+
return new ze(this.ctx, r);
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
class Ke {
|
|
621
|
+
constructor(r, s) {
|
|
622
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
623
|
+
{
|
|
624
|
+
type: "eval",
|
|
625
|
+
el: this.wrapper.unwrap(),
|
|
626
|
+
fn: (c, o) => c[o],
|
|
627
|
+
arg: e
|
|
628
|
+
},
|
|
629
|
+
i,
|
|
630
|
+
`toHaveProp("${e}", ${i})`
|
|
631
|
+
));
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
const rt = {
|
|
635
|
+
name: "avatar"
|
|
636
|
+
};
|
|
637
|
+
class Qe extends n {
|
|
638
|
+
constructor() {
|
|
639
|
+
super(...arguments), this.type = "avatar", this.componentInfo = rt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
class Xe extends a {
|
|
643
|
+
constructor() {
|
|
644
|
+
super(...arguments), this.componentInfo = rt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
645
|
+
}
|
|
646
|
+
wrap(r) {
|
|
647
|
+
return new Qe(this.ctx, r);
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
class Ye {
|
|
651
|
+
constructor(r, s) {
|
|
652
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
653
|
+
{
|
|
654
|
+
type: "eval",
|
|
655
|
+
el: this.wrapper.unwrap(),
|
|
656
|
+
fn: (c, o) => c[o],
|
|
657
|
+
arg: e
|
|
658
|
+
},
|
|
659
|
+
i,
|
|
660
|
+
`toHaveProp("${e}", ${i})`
|
|
661
|
+
));
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
const it = {
|
|
665
|
+
name: "badge"
|
|
666
|
+
};
|
|
667
|
+
class Ze extends n {
|
|
668
|
+
constructor() {
|
|
669
|
+
super(...arguments), this.type = "badge", this.componentInfo = it, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
class Ne extends a {
|
|
673
|
+
constructor() {
|
|
674
|
+
super(...arguments), this.componentInfo = it, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
675
|
+
}
|
|
676
|
+
wrap(r) {
|
|
677
|
+
return new Ze(this.ctx, r);
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
class tr {
|
|
681
|
+
constructor(r, s) {
|
|
682
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
683
|
+
{
|
|
684
|
+
type: "eval",
|
|
685
|
+
el: this.wrapper.unwrap(),
|
|
686
|
+
fn: (c, o) => c[o],
|
|
687
|
+
arg: e
|
|
688
|
+
},
|
|
689
|
+
i,
|
|
690
|
+
`toHaveProp("${e}", ${i})`
|
|
691
|
+
)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
692
|
+
{
|
|
693
|
+
type: "eval",
|
|
694
|
+
el: this.wrapper.unwrap(),
|
|
695
|
+
fn: u
|
|
696
|
+
},
|
|
697
|
+
e,
|
|
698
|
+
"toHaveIcon(${value})"
|
|
699
|
+
));
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
const st = {
|
|
703
|
+
name: "banner"
|
|
704
|
+
};
|
|
705
|
+
class er extends n {
|
|
706
|
+
constructor() {
|
|
707
|
+
super(...arguments), this.type = "banner", this.componentInfo = st, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.dismiss = this.ctx.driver.wrapAction(C.bind(this, () => this.dismissButton())), this.dismissButton = y.bind(this, ".dismiss-button");
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
class rr extends a {
|
|
711
|
+
constructor() {
|
|
712
|
+
super(...arguments), this.componentInfo = st, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byText = this.ctx.driver.wrapSelector(k.bind(this));
|
|
713
|
+
}
|
|
714
|
+
wrap(r) {
|
|
715
|
+
return new er(this.ctx, r);
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
class ir {
|
|
719
|
+
constructor(r, s) {
|
|
720
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
721
|
+
{
|
|
722
|
+
type: "eval",
|
|
723
|
+
el: this.wrapper.unwrap(),
|
|
724
|
+
fn: (c, o) => c[o],
|
|
725
|
+
arg: e
|
|
726
|
+
},
|
|
727
|
+
i,
|
|
728
|
+
`toHaveProp("${e}", ${i})`
|
|
729
|
+
)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
730
|
+
{
|
|
731
|
+
type: "eval",
|
|
732
|
+
el: this.wrapper.unwrap(),
|
|
733
|
+
fn: u
|
|
734
|
+
},
|
|
735
|
+
e,
|
|
736
|
+
"toHaveIcon(${value})"
|
|
737
|
+
));
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
const ct = {
|
|
741
|
+
name: "breadcrumb"
|
|
742
|
+
};
|
|
743
|
+
class sr extends n {
|
|
744
|
+
constructor() {
|
|
745
|
+
super(...arguments), this.type = "breadcrumb", this.componentInfo = ct, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
class cr extends a {
|
|
749
|
+
constructor() {
|
|
750
|
+
super(...arguments), this.componentInfo = ct, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
751
|
+
}
|
|
752
|
+
wrap(r) {
|
|
753
|
+
return new sr(this.ctx, r);
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
class or {
|
|
757
|
+
constructor(r, s) {
|
|
758
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = (e, i) => {
|
|
759
|
+
throw new Error("Component does not have props.");
|
|
760
|
+
};
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
const ot = {
|
|
764
|
+
name: "breadcrumb-item"
|
|
765
|
+
};
|
|
766
|
+
class nr extends n {
|
|
767
|
+
constructor() {
|
|
768
|
+
super(...arguments), this.type = "breadcrumbItem", this.componentInfo = ot, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
class ar extends a {
|
|
772
|
+
constructor() {
|
|
773
|
+
super(...arguments), this.componentInfo = ot, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
774
|
+
}
|
|
775
|
+
wrap(r) {
|
|
776
|
+
return new nr(this.ctx, r);
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
class hr {
|
|
780
|
+
constructor(r, s) {
|
|
781
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
782
|
+
{
|
|
783
|
+
type: "eval",
|
|
784
|
+
el: this.wrapper.unwrap(),
|
|
785
|
+
fn: (c, o) => c[o],
|
|
786
|
+
arg: e
|
|
787
|
+
},
|
|
788
|
+
i,
|
|
789
|
+
`toHaveProp("${e}", ${i})`
|
|
790
|
+
));
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
const nt = {
|
|
794
|
+
name: "button"
|
|
795
|
+
};
|
|
796
|
+
class at extends n {
|
|
797
|
+
constructor() {
|
|
798
|
+
super(...arguments), this.type = "button", this.componentInfo = nt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.click = this.ctx.driver.wrapAction(b.bind(this, () => this.control())), this.control = x.bind(this, "button.control");
|
|
799
|
+
}
|
|
800
|
+
}
|
|
801
|
+
class pr extends a {
|
|
802
|
+
constructor() {
|
|
803
|
+
super(...arguments), this.componentInfo = nt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
804
|
+
}
|
|
805
|
+
wrap(r) {
|
|
806
|
+
return new at(this.ctx, r);
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
class dr {
|
|
810
|
+
constructor(r, s) {
|
|
811
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
812
|
+
{
|
|
813
|
+
type: "eval",
|
|
814
|
+
el: this.wrapper.unwrap(),
|
|
815
|
+
fn: (c, o) => c[o],
|
|
816
|
+
arg: e
|
|
817
|
+
},
|
|
818
|
+
i,
|
|
819
|
+
`toHaveProp("${e}", ${i})`
|
|
820
|
+
)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
821
|
+
{
|
|
822
|
+
type: "eval",
|
|
823
|
+
el: this.wrapper.unwrap(),
|
|
824
|
+
fn: w
|
|
825
|
+
},
|
|
826
|
+
e,
|
|
827
|
+
"toHaveValue(${value})"
|
|
828
|
+
)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
829
|
+
{
|
|
830
|
+
type: "eval",
|
|
831
|
+
el: this.wrapper.unwrap(),
|
|
832
|
+
fn: u
|
|
833
|
+
},
|
|
834
|
+
e,
|
|
835
|
+
"toHaveIcon(${value})"
|
|
836
|
+
));
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
const ht = {
|
|
840
|
+
name: "calendar"
|
|
841
|
+
};
|
|
842
|
+
class lr extends n {
|
|
843
|
+
constructor() {
|
|
844
|
+
super(...arguments), this.type = "calendar", this.componentInfo = ht, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
class xr extends a {
|
|
848
|
+
constructor() {
|
|
849
|
+
super(...arguments), this.componentInfo = ht, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
850
|
+
}
|
|
851
|
+
wrap(r) {
|
|
852
|
+
return new lr(this.ctx, r);
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
class vr {
|
|
856
|
+
constructor(r, s) {
|
|
857
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
858
|
+
{
|
|
859
|
+
type: "eval",
|
|
860
|
+
el: this.wrapper.unwrap(),
|
|
861
|
+
fn: (c, o) => c[o],
|
|
862
|
+
arg: e
|
|
863
|
+
},
|
|
864
|
+
i,
|
|
865
|
+
`toHaveProp("${e}", ${i})`
|
|
866
|
+
));
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
const pt = {
|
|
870
|
+
name: "calendar-event"
|
|
871
|
+
};
|
|
872
|
+
class ur extends n {
|
|
873
|
+
constructor() {
|
|
874
|
+
super(...arguments), this.type = "calendarEvent", this.componentInfo = pt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
class wr extends a {
|
|
878
|
+
constructor() {
|
|
879
|
+
super(...arguments), this.componentInfo = pt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
880
|
+
}
|
|
881
|
+
wrap(r) {
|
|
882
|
+
return new ur(this.ctx, r);
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
class br {
|
|
886
|
+
constructor(r, s) {
|
|
887
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
888
|
+
{
|
|
889
|
+
type: "eval",
|
|
890
|
+
el: this.wrapper.unwrap(),
|
|
891
|
+
fn: (c, o) => c[o],
|
|
892
|
+
arg: e
|
|
893
|
+
},
|
|
894
|
+
i,
|
|
895
|
+
`toHaveProp("${e}", ${i})`
|
|
896
|
+
));
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
const dt = {
|
|
900
|
+
name: "card"
|
|
901
|
+
};
|
|
902
|
+
class mr extends n {
|
|
903
|
+
constructor() {
|
|
904
|
+
super(...arguments), this.type = "card", this.componentInfo = dt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
class fr extends a {
|
|
908
|
+
constructor() {
|
|
909
|
+
super(...arguments), this.componentInfo = dt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
910
|
+
}
|
|
911
|
+
wrap(r) {
|
|
912
|
+
return new mr(this.ctx, r);
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
class Er {
|
|
916
|
+
constructor(r, s) {
|
|
917
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
918
|
+
{
|
|
919
|
+
type: "eval",
|
|
920
|
+
el: this.wrapper.unwrap(),
|
|
921
|
+
fn: (c, o) => c[o],
|
|
922
|
+
arg: e
|
|
923
|
+
},
|
|
924
|
+
i,
|
|
925
|
+
`toHaveProp("${e}", ${i})`
|
|
926
|
+
)), this.toHaveHeadline = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
927
|
+
{
|
|
928
|
+
type: "eval",
|
|
929
|
+
el: this.wrapper.unwrap(),
|
|
930
|
+
fn: _
|
|
931
|
+
},
|
|
932
|
+
e,
|
|
933
|
+
"toHaveHeadline(${value})"
|
|
934
|
+
));
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
const lt = {
|
|
938
|
+
name: "checkbox"
|
|
939
|
+
};
|
|
940
|
+
class yr extends n {
|
|
941
|
+
constructor() {
|
|
942
|
+
super(...arguments), this.type = "checkbox", this.componentInfo = lt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.check = this.ctx.driver.wrapAction(J.bind(this, () => this.control())), this.uncheck = this.ctx.driver.wrapAction(K.bind(this, () => this.control())), this.control = x.bind(this, "div.control");
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
class Ir extends a {
|
|
946
|
+
constructor() {
|
|
947
|
+
super(...arguments), this.componentInfo = lt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
948
|
+
}
|
|
949
|
+
wrap(r) {
|
|
950
|
+
return new yr(this.ctx, r);
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
class gr {
|
|
954
|
+
constructor(r, s) {
|
|
955
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
956
|
+
{
|
|
957
|
+
type: "eval",
|
|
958
|
+
el: this.wrapper.unwrap(),
|
|
959
|
+
fn: (c, o) => c[o],
|
|
960
|
+
arg: e
|
|
961
|
+
},
|
|
962
|
+
i,
|
|
963
|
+
`toHaveProp("${e}", ${i})`
|
|
964
|
+
)), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
965
|
+
{
|
|
966
|
+
type: "eval",
|
|
967
|
+
el: this.wrapper.unwrap(),
|
|
968
|
+
fn: f
|
|
969
|
+
},
|
|
970
|
+
e,
|
|
971
|
+
"toHaveVisibleError(${value})"
|
|
972
|
+
)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
973
|
+
{
|
|
974
|
+
type: "eval",
|
|
975
|
+
el: this.wrapper.unwrap(),
|
|
976
|
+
fn: w
|
|
977
|
+
},
|
|
978
|
+
e,
|
|
979
|
+
"toHaveValue(${value})"
|
|
980
|
+
)), this.toBeChecked = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
981
|
+
{
|
|
982
|
+
type: "eval",
|
|
983
|
+
el: this.wrapper.unwrap(),
|
|
984
|
+
fn: g
|
|
985
|
+
},
|
|
986
|
+
"checked",
|
|
987
|
+
"toBeChecked()"
|
|
988
|
+
)), this.toBeUnchecked = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
989
|
+
{
|
|
990
|
+
type: "eval",
|
|
991
|
+
el: this.wrapper.unwrap(),
|
|
992
|
+
fn: g
|
|
993
|
+
},
|
|
994
|
+
"unchecked",
|
|
995
|
+
"toBeUnchecked()"
|
|
996
|
+
)), this.toBeIndeterminate = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
997
|
+
{
|
|
998
|
+
type: "eval",
|
|
999
|
+
el: this.wrapper.unwrap(),
|
|
1000
|
+
fn: g
|
|
1001
|
+
},
|
|
1002
|
+
"indeterminate",
|
|
1003
|
+
"toBeIndeterminate()"
|
|
1004
|
+
));
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
const xt = {
|
|
1008
|
+
name: "combobox"
|
|
1009
|
+
};
|
|
1010
|
+
class Ar extends n {
|
|
1011
|
+
constructor() {
|
|
1012
|
+
super(...arguments), this.type = "combobox", this.componentInfo = xt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.fill = this.ctx.driver.wrapAction(ge.bind(this)), this.clear = this.ctx.driver.wrapAction(Ae.bind(this)), this.selectOptionByText = this.ctx.driver.wrapAction(G.bind(this)), this.selectOptionByValue = this.ctx.driver.wrapAction(D.bind(this)), this.control = x.bind(this, "input.control");
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
class Hr extends a {
|
|
1016
|
+
constructor() {
|
|
1017
|
+
super(...arguments), this.componentInfo = xt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
1018
|
+
}
|
|
1019
|
+
wrap(r) {
|
|
1020
|
+
return new Ar(this.ctx, r);
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
class $r {
|
|
1024
|
+
constructor(r, s) {
|
|
1025
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
1026
|
+
{
|
|
1027
|
+
type: "eval",
|
|
1028
|
+
el: this.wrapper.unwrap(),
|
|
1029
|
+
fn: (c, o) => c[o],
|
|
1030
|
+
arg: e
|
|
1031
|
+
},
|
|
1032
|
+
i,
|
|
1033
|
+
`toHaveProp("${e}", ${i})`
|
|
1034
|
+
)), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1035
|
+
{
|
|
1036
|
+
type: "eval",
|
|
1037
|
+
el: this.wrapper.unwrap(),
|
|
1038
|
+
fn: f
|
|
1039
|
+
},
|
|
1040
|
+
e,
|
|
1041
|
+
"toHaveVisibleError(${value})"
|
|
1042
|
+
)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1043
|
+
{
|
|
1044
|
+
type: "eval",
|
|
1045
|
+
el: this.wrapper.unwrap(),
|
|
1046
|
+
fn: u
|
|
1047
|
+
},
|
|
1048
|
+
e,
|
|
1049
|
+
"toHaveIcon(${value})"
|
|
1050
|
+
)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1051
|
+
{
|
|
1052
|
+
type: "eval",
|
|
1053
|
+
el: this.wrapper.unwrap(),
|
|
1054
|
+
fn: w
|
|
1055
|
+
},
|
|
1056
|
+
e,
|
|
1057
|
+
"toHaveValue(${value})"
|
|
1058
|
+
));
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
const vt = {
|
|
1062
|
+
name: "data-grid"
|
|
1063
|
+
};
|
|
1064
|
+
class Pr extends n {
|
|
1065
|
+
constructor() {
|
|
1066
|
+
super(...arguments), this.type = "dataGrid", this.componentInfo = vt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
class Sr extends a {
|
|
1070
|
+
constructor() {
|
|
1071
|
+
super(...arguments), this.componentInfo = vt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
1072
|
+
}
|
|
1073
|
+
wrap(r) {
|
|
1074
|
+
return new Pr(this.ctx, r);
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
class qr {
|
|
1078
|
+
constructor(r, s) {
|
|
1079
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
1080
|
+
{
|
|
1081
|
+
type: "eval",
|
|
1082
|
+
el: this.wrapper.unwrap(),
|
|
1083
|
+
fn: (c, o) => c[o],
|
|
1084
|
+
arg: e
|
|
1085
|
+
},
|
|
1086
|
+
i,
|
|
1087
|
+
`toHaveProp("${e}", ${i})`
|
|
1088
|
+
));
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
const ut = {
|
|
1092
|
+
name: "data-grid-cell"
|
|
1093
|
+
};
|
|
1094
|
+
class Cr extends n {
|
|
1095
|
+
constructor() {
|
|
1096
|
+
super(...arguments), this.type = "dataGridCell", this.componentInfo = ut, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
class Tr extends a {
|
|
1100
|
+
constructor() {
|
|
1101
|
+
super(...arguments), this.componentInfo = ut, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
1102
|
+
}
|
|
1103
|
+
wrap(r) {
|
|
1104
|
+
return new Cr(this.ctx, r);
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
class Br {
|
|
1108
|
+
constructor(r, s) {
|
|
1109
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
1110
|
+
{
|
|
1111
|
+
type: "eval",
|
|
1112
|
+
el: this.wrapper.unwrap(),
|
|
1113
|
+
fn: (c, o) => c[o],
|
|
1114
|
+
arg: e
|
|
1115
|
+
},
|
|
1116
|
+
i,
|
|
1117
|
+
`toHaveProp("${e}", ${i})`
|
|
1118
|
+
));
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
const wt = {
|
|
1122
|
+
name: "data-grid-row"
|
|
1123
|
+
};
|
|
1124
|
+
class kr extends n {
|
|
1125
|
+
constructor() {
|
|
1126
|
+
super(...arguments), this.type = "dataGridRow", this.componentInfo = wt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
class Vr extends a {
|
|
1130
|
+
constructor() {
|
|
1131
|
+
super(...arguments), this.componentInfo = wt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
1132
|
+
}
|
|
1133
|
+
wrap(r) {
|
|
1134
|
+
return new kr(this.ctx, r);
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
class Wr {
|
|
1138
|
+
constructor(r, s) {
|
|
1139
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
1140
|
+
{
|
|
1141
|
+
type: "eval",
|
|
1142
|
+
el: this.wrapper.unwrap(),
|
|
1143
|
+
fn: (c, o) => c[o],
|
|
1144
|
+
arg: e
|
|
1145
|
+
},
|
|
1146
|
+
i,
|
|
1147
|
+
`toHaveProp("${e}", ${i})`
|
|
1148
|
+
));
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
const bt = {
|
|
1152
|
+
name: "date-picker"
|
|
1153
|
+
};
|
|
1154
|
+
class Dr extends n {
|
|
1155
|
+
constructor() {
|
|
1156
|
+
super(...arguments), this.type = "datePicker", this.componentInfo = bt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.clear = this.ctx.driver.wrapAction(P.bind(this)), this.selectDate = this.ctx.driver.wrapAction(He.bind(this)), this.control = S.bind(this, "[data-vvd-component=text-field].control"), this.pickerButton = y.bind(this, "#picker-button"), this.clearButton = y.bind(this, "#clear-button");
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
class Gr extends a {
|
|
1160
|
+
constructor() {
|
|
1161
|
+
super(...arguments), this.componentInfo = bt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
1162
|
+
}
|
|
1163
|
+
wrap(r) {
|
|
1164
|
+
return new Dr(this.ctx, r);
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
class Rr {
|
|
1168
|
+
constructor(r, s) {
|
|
1169
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
1170
|
+
{
|
|
1171
|
+
type: "eval",
|
|
1172
|
+
el: this.wrapper.unwrap(),
|
|
1173
|
+
fn: (c, o) => c[o],
|
|
1174
|
+
arg: e
|
|
1175
|
+
},
|
|
1176
|
+
i,
|
|
1177
|
+
`toHaveProp("${e}", ${i})`
|
|
1178
|
+
)), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1179
|
+
{
|
|
1180
|
+
type: "eval",
|
|
1181
|
+
el: this.wrapper.unwrap(),
|
|
1182
|
+
fn: f
|
|
1183
|
+
},
|
|
1184
|
+
e,
|
|
1185
|
+
"toHaveVisibleError(${value})"
|
|
1186
|
+
)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1187
|
+
{
|
|
1188
|
+
type: "eval",
|
|
1189
|
+
el: this.wrapper.unwrap(),
|
|
1190
|
+
fn: w
|
|
1191
|
+
},
|
|
1192
|
+
e,
|
|
1193
|
+
"toHaveValue(${value})"
|
|
1194
|
+
));
|
|
1195
|
+
}
|
|
1196
|
+
}
|
|
1197
|
+
const mt = {
|
|
1198
|
+
name: "date-range-picker"
|
|
1199
|
+
};
|
|
1200
|
+
class Lr extends n {
|
|
1201
|
+
constructor() {
|
|
1202
|
+
super(...arguments), this.type = "dateRangePicker", this.componentInfo = mt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.clear = this.ctx.driver.wrapAction(P.bind(this)), this.selectDateRange = this.ctx.driver.wrapAction(Se.bind(this)), this.control = S.bind(this, "[data-vvd-component=text-field].control"), this.pickerButton = y.bind(this, "#picker-button"), this.clearButton = y.bind(this, "#clear-button");
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
class Or extends a {
|
|
1206
|
+
constructor() {
|
|
1207
|
+
super(...arguments), this.componentInfo = mt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
1208
|
+
}
|
|
1209
|
+
wrap(r) {
|
|
1210
|
+
return new Lr(this.ctx, r);
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
class Fr {
|
|
1214
|
+
constructor(r, s) {
|
|
1215
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
1216
|
+
{
|
|
1217
|
+
type: "eval",
|
|
1218
|
+
el: this.wrapper.unwrap(),
|
|
1219
|
+
fn: (c, o) => c[o],
|
|
1220
|
+
arg: e
|
|
1221
|
+
},
|
|
1222
|
+
i,
|
|
1223
|
+
`toHaveProp("${e}", ${i})`
|
|
1224
|
+
)), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1225
|
+
{
|
|
1226
|
+
type: "eval",
|
|
1227
|
+
el: this.wrapper.unwrap(),
|
|
1228
|
+
fn: f
|
|
1229
|
+
},
|
|
1230
|
+
e,
|
|
1231
|
+
"toHaveVisibleError(${value})"
|
|
1232
|
+
)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1233
|
+
{
|
|
1234
|
+
type: "eval",
|
|
1235
|
+
el: this.wrapper.unwrap(),
|
|
1236
|
+
fn: w
|
|
1237
|
+
},
|
|
1238
|
+
e,
|
|
1239
|
+
"toHaveValue(${value})"
|
|
1240
|
+
)), this.toHaveRange = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1241
|
+
{
|
|
1242
|
+
type: "eval",
|
|
1243
|
+
el: this.wrapper.unwrap(),
|
|
1244
|
+
fn: me
|
|
1245
|
+
},
|
|
1246
|
+
e,
|
|
1247
|
+
"toHaveRange(${value})"
|
|
1248
|
+
));
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
const ft = {
|
|
1252
|
+
name: "date-time-picker"
|
|
1253
|
+
};
|
|
1254
|
+
class Ur extends n {
|
|
1255
|
+
constructor() {
|
|
1256
|
+
super(...arguments), this.type = "dateTimePicker", this.componentInfo = ft, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.clear = this.ctx.driver.wrapAction(P.bind(this)), this.selectDateTime = this.ctx.driver.wrapAction(Ce.bind(this)), this.control = S.bind(this, "[data-vvd-component=text-field].control"), this.pickerButton = y.bind(this, "#picker-button"), this.clearButton = y.bind(this, "#clear-button");
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
class Mr extends a {
|
|
1260
|
+
constructor() {
|
|
1261
|
+
super(...arguments), this.componentInfo = ft, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
1262
|
+
}
|
|
1263
|
+
wrap(r) {
|
|
1264
|
+
return new Ur(this.ctx, r);
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
class jr {
|
|
1268
|
+
constructor(r, s) {
|
|
1269
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
1270
|
+
{
|
|
1271
|
+
type: "eval",
|
|
1272
|
+
el: this.wrapper.unwrap(),
|
|
1273
|
+
fn: (c, o) => c[o],
|
|
1274
|
+
arg: e
|
|
1275
|
+
},
|
|
1276
|
+
i,
|
|
1277
|
+
`toHaveProp("${e}", ${i})`
|
|
1278
|
+
)), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1279
|
+
{
|
|
1280
|
+
type: "eval",
|
|
1281
|
+
el: this.wrapper.unwrap(),
|
|
1282
|
+
fn: f
|
|
1283
|
+
},
|
|
1284
|
+
e,
|
|
1285
|
+
"toHaveVisibleError(${value})"
|
|
1286
|
+
)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1287
|
+
{
|
|
1288
|
+
type: "eval",
|
|
1289
|
+
el: this.wrapper.unwrap(),
|
|
1290
|
+
fn: w
|
|
1291
|
+
},
|
|
1292
|
+
e,
|
|
1293
|
+
"toHaveValue(${value})"
|
|
1294
|
+
));
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
const Et = {
|
|
1298
|
+
name: "dial-pad"
|
|
1299
|
+
};
|
|
1300
|
+
class _r extends n {
|
|
1301
|
+
constructor() {
|
|
1302
|
+
super(...arguments), this.type = "dialPad", this.componentInfo = Et, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
class zr extends a {
|
|
1306
|
+
constructor() {
|
|
1307
|
+
super(...arguments), this.componentInfo = Et, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
1308
|
+
}
|
|
1309
|
+
wrap(r) {
|
|
1310
|
+
return new _r(this.ctx, r);
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
class Jr {
|
|
1314
|
+
constructor(r, s) {
|
|
1315
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
1316
|
+
{
|
|
1317
|
+
type: "eval",
|
|
1318
|
+
el: this.wrapper.unwrap(),
|
|
1319
|
+
fn: (c, o) => c[o],
|
|
1320
|
+
arg: e
|
|
1321
|
+
},
|
|
1322
|
+
i,
|
|
1323
|
+
`toHaveProp("${e}", ${i})`
|
|
1324
|
+
));
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
const yt = {
|
|
1328
|
+
name: "dialog"
|
|
1329
|
+
};
|
|
1330
|
+
class Kr extends n {
|
|
1331
|
+
constructor() {
|
|
1332
|
+
super(...arguments), this.type = "dialog", this.componentInfo = yt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.dismiss = this.ctx.driver.wrapAction(b.bind(this, () => this.dismissButton())), this.dismissButton = x.bind(this, ".dismiss-button");
|
|
1333
|
+
}
|
|
1334
|
+
}
|
|
1335
|
+
class Qr extends a {
|
|
1336
|
+
constructor() {
|
|
1337
|
+
super(...arguments), this.componentInfo = yt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byHeadline = this.ctx.driver.wrapSelector(B.bind(this));
|
|
1338
|
+
}
|
|
1339
|
+
wrap(r) {
|
|
1340
|
+
return new Kr(this.ctx, r);
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
class Xr {
|
|
1344
|
+
constructor(r, s) {
|
|
1345
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
1346
|
+
{
|
|
1347
|
+
type: "eval",
|
|
1348
|
+
el: this.wrapper.unwrap(),
|
|
1349
|
+
fn: (c, o) => c[o],
|
|
1350
|
+
arg: e
|
|
1351
|
+
},
|
|
1352
|
+
i,
|
|
1353
|
+
`toHaveProp("${e}", ${i})`
|
|
1354
|
+
)), this.toBeOpen = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
1355
|
+
{
|
|
1356
|
+
type: "eval",
|
|
1357
|
+
el: this.wrapper.unwrap(),
|
|
1358
|
+
fn: E
|
|
1359
|
+
},
|
|
1360
|
+
!0,
|
|
1361
|
+
"toBeOpen()"
|
|
1362
|
+
)), this.toBeClosed = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
1363
|
+
{
|
|
1364
|
+
type: "eval",
|
|
1365
|
+
el: this.wrapper.unwrap(),
|
|
1366
|
+
fn: E
|
|
1367
|
+
},
|
|
1368
|
+
!1,
|
|
1369
|
+
"toBeClosed()"
|
|
1370
|
+
)), this.toHaveHeadline = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1371
|
+
{
|
|
1372
|
+
type: "eval",
|
|
1373
|
+
el: this.wrapper.unwrap(),
|
|
1374
|
+
fn: _
|
|
1375
|
+
},
|
|
1376
|
+
e,
|
|
1377
|
+
"toHaveHeadline(${value})"
|
|
1378
|
+
));
|
|
1379
|
+
}
|
|
1380
|
+
}
|
|
1381
|
+
const It = {
|
|
1382
|
+
name: "divider"
|
|
1383
|
+
};
|
|
1384
|
+
class Yr extends n {
|
|
1385
|
+
constructor() {
|
|
1386
|
+
super(...arguments), this.type = "divider", this.componentInfo = It, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
class Zr extends a {
|
|
1390
|
+
constructor() {
|
|
1391
|
+
super(...arguments), this.componentInfo = It, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
1392
|
+
}
|
|
1393
|
+
wrap(r) {
|
|
1394
|
+
return new Yr(this.ctx, r);
|
|
1395
|
+
}
|
|
1396
|
+
}
|
|
1397
|
+
class Nr {
|
|
1398
|
+
constructor(r, s) {
|
|
1399
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
1400
|
+
{
|
|
1401
|
+
type: "eval",
|
|
1402
|
+
el: this.wrapper.unwrap(),
|
|
1403
|
+
fn: (c, o) => c[o],
|
|
1404
|
+
arg: e
|
|
1405
|
+
},
|
|
1406
|
+
i,
|
|
1407
|
+
`toHaveProp("${e}", ${i})`
|
|
1408
|
+
));
|
|
1409
|
+
}
|
|
1410
|
+
}
|
|
1411
|
+
const gt = {
|
|
1412
|
+
name: "empty-state"
|
|
1413
|
+
};
|
|
1414
|
+
class ti extends n {
|
|
1415
|
+
constructor() {
|
|
1416
|
+
super(...arguments), this.type = "emptyState", this.componentInfo = gt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
class ei extends a {
|
|
1420
|
+
constructor() {
|
|
1421
|
+
super(...arguments), this.componentInfo = gt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
1422
|
+
}
|
|
1423
|
+
wrap(r) {
|
|
1424
|
+
return new ti(this.ctx, r);
|
|
1425
|
+
}
|
|
1426
|
+
}
|
|
1427
|
+
class ri {
|
|
1428
|
+
constructor(r, s) {
|
|
1429
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
1430
|
+
{
|
|
1431
|
+
type: "eval",
|
|
1432
|
+
el: this.wrapper.unwrap(),
|
|
1433
|
+
fn: (c, o) => c[o],
|
|
1434
|
+
arg: e
|
|
1435
|
+
},
|
|
1436
|
+
i,
|
|
1437
|
+
`toHaveProp("${e}", ${i})`
|
|
1438
|
+
));
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
const At = {
|
|
1442
|
+
name: "fab"
|
|
1443
|
+
};
|
|
1444
|
+
class ii extends n {
|
|
1445
|
+
constructor() {
|
|
1446
|
+
super(...arguments), this.type = "fab", this.componentInfo = At, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.click = this.ctx.driver.wrapAction(b.bind(this, () => this.control())), this.control = x.bind(this, "button.control");
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
class si extends a {
|
|
1450
|
+
constructor() {
|
|
1451
|
+
super(...arguments), this.componentInfo = At, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
1452
|
+
}
|
|
1453
|
+
wrap(r) {
|
|
1454
|
+
return new ii(this.ctx, r);
|
|
1455
|
+
}
|
|
1456
|
+
}
|
|
1457
|
+
class ci {
|
|
1458
|
+
constructor(r, s) {
|
|
1459
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
1460
|
+
{
|
|
1461
|
+
type: "eval",
|
|
1462
|
+
el: this.wrapper.unwrap(),
|
|
1463
|
+
fn: (c, o) => c[o],
|
|
1464
|
+
arg: e
|
|
1465
|
+
},
|
|
1466
|
+
i,
|
|
1467
|
+
`toHaveProp("${e}", ${i})`
|
|
1468
|
+
)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1469
|
+
{
|
|
1470
|
+
type: "eval",
|
|
1471
|
+
el: this.wrapper.unwrap(),
|
|
1472
|
+
fn: w
|
|
1473
|
+
},
|
|
1474
|
+
e,
|
|
1475
|
+
"toHaveValue(${value})"
|
|
1476
|
+
)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1477
|
+
{
|
|
1478
|
+
type: "eval",
|
|
1479
|
+
el: this.wrapper.unwrap(),
|
|
1480
|
+
fn: u
|
|
1481
|
+
},
|
|
1482
|
+
e,
|
|
1483
|
+
"toHaveIcon(${value})"
|
|
1484
|
+
));
|
|
1485
|
+
}
|
|
1486
|
+
}
|
|
1487
|
+
const Ht = {
|
|
1488
|
+
name: "file-picker"
|
|
1489
|
+
};
|
|
1490
|
+
class oi extends n {
|
|
1491
|
+
constructor() {
|
|
1492
|
+
super(...arguments), this.type = "filePicker", this.componentInfo = Ht, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
1493
|
+
}
|
|
1494
|
+
}
|
|
1495
|
+
class ni extends a {
|
|
1496
|
+
constructor() {
|
|
1497
|
+
super(...arguments), this.componentInfo = Ht, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
1498
|
+
}
|
|
1499
|
+
wrap(r) {
|
|
1500
|
+
return new oi(this.ctx, r);
|
|
1501
|
+
}
|
|
1502
|
+
}
|
|
1503
|
+
class ai {
|
|
1504
|
+
constructor(r, s) {
|
|
1505
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
1506
|
+
{
|
|
1507
|
+
type: "eval",
|
|
1508
|
+
el: this.wrapper.unwrap(),
|
|
1509
|
+
fn: (c, o) => c[o],
|
|
1510
|
+
arg: e
|
|
1511
|
+
},
|
|
1512
|
+
i,
|
|
1513
|
+
`toHaveProp("${e}", ${i})`
|
|
1514
|
+
)), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1515
|
+
{
|
|
1516
|
+
type: "eval",
|
|
1517
|
+
el: this.wrapper.unwrap(),
|
|
1518
|
+
fn: f
|
|
1519
|
+
},
|
|
1520
|
+
e,
|
|
1521
|
+
"toHaveVisibleError(${value})"
|
|
1522
|
+
)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1523
|
+
{
|
|
1524
|
+
type: "eval",
|
|
1525
|
+
el: this.wrapper.unwrap(),
|
|
1526
|
+
fn: w
|
|
1527
|
+
},
|
|
1528
|
+
e,
|
|
1529
|
+
"toHaveValue(${value})"
|
|
1530
|
+
));
|
|
1531
|
+
}
|
|
1532
|
+
}
|
|
1533
|
+
const $t = {
|
|
1534
|
+
name: "header"
|
|
1535
|
+
};
|
|
1536
|
+
class hi extends n {
|
|
1537
|
+
constructor() {
|
|
1538
|
+
super(...arguments), this.type = "header", this.componentInfo = $t, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
class pi extends a {
|
|
1542
|
+
constructor() {
|
|
1543
|
+
super(...arguments), this.componentInfo = $t, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
1544
|
+
}
|
|
1545
|
+
wrap(r) {
|
|
1546
|
+
return new hi(this.ctx, r);
|
|
1547
|
+
}
|
|
1548
|
+
}
|
|
1549
|
+
class di {
|
|
1550
|
+
constructor(r, s) {
|
|
1551
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
1552
|
+
{
|
|
1553
|
+
type: "eval",
|
|
1554
|
+
el: this.wrapper.unwrap(),
|
|
1555
|
+
fn: (c, o) => c[o],
|
|
1556
|
+
arg: e
|
|
1557
|
+
},
|
|
1558
|
+
i,
|
|
1559
|
+
`toHaveProp("${e}", ${i})`
|
|
1560
|
+
));
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1563
|
+
const Pt = {
|
|
1564
|
+
name: "icon"
|
|
1565
|
+
};
|
|
1566
|
+
class li extends n {
|
|
1567
|
+
constructor() {
|
|
1568
|
+
super(...arguments), this.type = "icon", this.componentInfo = Pt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1571
|
+
class xi extends a {
|
|
1572
|
+
constructor() {
|
|
1573
|
+
super(...arguments), this.componentInfo = Pt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
1574
|
+
}
|
|
1575
|
+
wrap(r) {
|
|
1576
|
+
return new li(this.ctx, r);
|
|
1577
|
+
}
|
|
1578
|
+
}
|
|
1579
|
+
class vi {
|
|
1580
|
+
constructor(r, s) {
|
|
1581
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
1582
|
+
{
|
|
1583
|
+
type: "eval",
|
|
1584
|
+
el: this.wrapper.unwrap(),
|
|
1585
|
+
fn: (c, o) => c[o],
|
|
1586
|
+
arg: e
|
|
1587
|
+
},
|
|
1588
|
+
i,
|
|
1589
|
+
`toHaveProp("${e}", ${i})`
|
|
1590
|
+
)), this.toHaveName = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1591
|
+
{
|
|
1592
|
+
type: "eval",
|
|
1593
|
+
el: this.wrapper.unwrap(),
|
|
1594
|
+
fn: Ee
|
|
1595
|
+
},
|
|
1596
|
+
e,
|
|
1597
|
+
"toHaveName(${value})"
|
|
1598
|
+
));
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
const St = {
|
|
1602
|
+
name: "layout"
|
|
1603
|
+
};
|
|
1604
|
+
class ui extends n {
|
|
1605
|
+
constructor() {
|
|
1606
|
+
super(...arguments), this.type = "layout", this.componentInfo = St, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
1607
|
+
}
|
|
1608
|
+
}
|
|
1609
|
+
class wi extends a {
|
|
1610
|
+
constructor() {
|
|
1611
|
+
super(...arguments), this.componentInfo = St, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
1612
|
+
}
|
|
1613
|
+
wrap(r) {
|
|
1614
|
+
return new ui(this.ctx, r);
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
class bi {
|
|
1618
|
+
constructor(r, s) {
|
|
1619
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
1620
|
+
{
|
|
1621
|
+
type: "eval",
|
|
1622
|
+
el: this.wrapper.unwrap(),
|
|
1623
|
+
fn: (c, o) => c[o],
|
|
1624
|
+
arg: e
|
|
1625
|
+
},
|
|
1626
|
+
i,
|
|
1627
|
+
`toHaveProp("${e}", ${i})`
|
|
1628
|
+
));
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
const qt = {
|
|
1632
|
+
name: "menu"
|
|
1633
|
+
};
|
|
1634
|
+
class mi extends n {
|
|
1635
|
+
constructor() {
|
|
1636
|
+
super(...arguments), this.type = "menu", this.componentInfo = qt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
class fi extends a {
|
|
1640
|
+
constructor() {
|
|
1641
|
+
super(...arguments), this.componentInfo = qt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
1642
|
+
}
|
|
1643
|
+
wrap(r) {
|
|
1644
|
+
return new mi(this.ctx, r);
|
|
1645
|
+
}
|
|
1646
|
+
}
|
|
1647
|
+
class Ei {
|
|
1648
|
+
constructor(r, s) {
|
|
1649
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
1650
|
+
{
|
|
1651
|
+
type: "eval",
|
|
1652
|
+
el: this.wrapper.unwrap(),
|
|
1653
|
+
fn: (c, o) => c[o],
|
|
1654
|
+
arg: e
|
|
1655
|
+
},
|
|
1656
|
+
i,
|
|
1657
|
+
`toHaveProp("${e}", ${i})`
|
|
1658
|
+
)), this.toBeOpen = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
1659
|
+
{
|
|
1660
|
+
type: "eval",
|
|
1661
|
+
el: this.wrapper.unwrap(),
|
|
1662
|
+
fn: E
|
|
1663
|
+
},
|
|
1664
|
+
!0,
|
|
1665
|
+
"toBeOpen()"
|
|
1666
|
+
)), this.toBeClosed = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
1667
|
+
{
|
|
1668
|
+
type: "eval",
|
|
1669
|
+
el: this.wrapper.unwrap(),
|
|
1670
|
+
fn: E
|
|
1671
|
+
},
|
|
1672
|
+
!1,
|
|
1673
|
+
"toBeClosed()"
|
|
1674
|
+
));
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
const Ct = {
|
|
1678
|
+
name: "menu-item"
|
|
1679
|
+
};
|
|
1680
|
+
class yi extends n {
|
|
1681
|
+
constructor() {
|
|
1682
|
+
super(...arguments), this.type = "menuItem", this.componentInfo = Ct, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.click = this.ctx.driver.wrapAction(b.bind(this, () => this.base())), this.base = x.bind(this, ".base");
|
|
1683
|
+
}
|
|
1684
|
+
}
|
|
1685
|
+
class Ii extends a {
|
|
1686
|
+
constructor() {
|
|
1687
|
+
super(...arguments), this.componentInfo = Ct, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byText = this.ctx.driver.wrapSelector(k.bind(this));
|
|
1688
|
+
}
|
|
1689
|
+
wrap(r) {
|
|
1690
|
+
return new yi(this.ctx, r);
|
|
1691
|
+
}
|
|
1692
|
+
}
|
|
1693
|
+
class gi {
|
|
1694
|
+
constructor(r, s) {
|
|
1695
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
1696
|
+
{
|
|
1697
|
+
type: "eval",
|
|
1698
|
+
el: this.wrapper.unwrap(),
|
|
1699
|
+
fn: (c, o) => c[o],
|
|
1700
|
+
arg: e
|
|
1701
|
+
},
|
|
1702
|
+
i,
|
|
1703
|
+
`toHaveProp("${e}", ${i})`
|
|
1704
|
+
)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1705
|
+
{
|
|
1706
|
+
type: "eval",
|
|
1707
|
+
el: this.wrapper.unwrap(),
|
|
1708
|
+
fn: u
|
|
1709
|
+
},
|
|
1710
|
+
e,
|
|
1711
|
+
"toHaveIcon(${value})"
|
|
1712
|
+
)), this.toBeChecked = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
1713
|
+
{
|
|
1714
|
+
type: "eval",
|
|
1715
|
+
el: this.wrapper.unwrap(),
|
|
1716
|
+
fn: I
|
|
1717
|
+
},
|
|
1718
|
+
!0,
|
|
1719
|
+
"toBeChecked()"
|
|
1720
|
+
)), this.toBeUnchecked = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
1721
|
+
{
|
|
1722
|
+
type: "eval",
|
|
1723
|
+
el: this.wrapper.unwrap(),
|
|
1724
|
+
fn: I
|
|
1725
|
+
},
|
|
1726
|
+
!1,
|
|
1727
|
+
"toBeUnchecked()"
|
|
1728
|
+
)), this.toHaveDisabled = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1729
|
+
{
|
|
1730
|
+
type: "eval",
|
|
1731
|
+
el: this.wrapper.unwrap(),
|
|
1732
|
+
fn: q
|
|
1733
|
+
},
|
|
1734
|
+
e,
|
|
1735
|
+
"toHaveDisabled(${value})"
|
|
1736
|
+
));
|
|
1737
|
+
}
|
|
1738
|
+
}
|
|
1739
|
+
const Tt = {
|
|
1740
|
+
name: "nav"
|
|
1741
|
+
};
|
|
1742
|
+
class Ai extends n {
|
|
1743
|
+
constructor() {
|
|
1744
|
+
super(...arguments), this.type = "nav", this.componentInfo = Tt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
1745
|
+
}
|
|
1746
|
+
}
|
|
1747
|
+
class Hi extends a {
|
|
1748
|
+
constructor() {
|
|
1749
|
+
super(...arguments), this.componentInfo = Tt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
1750
|
+
}
|
|
1751
|
+
wrap(r) {
|
|
1752
|
+
return new Ai(this.ctx, r);
|
|
1753
|
+
}
|
|
1754
|
+
}
|
|
1755
|
+
class $i {
|
|
1756
|
+
constructor(r, s) {
|
|
1757
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = (e, i) => {
|
|
1758
|
+
throw new Error("Component does not have props.");
|
|
1759
|
+
};
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1762
|
+
const Bt = {
|
|
1763
|
+
name: "nav-disclosure"
|
|
1764
|
+
};
|
|
1765
|
+
class Pi extends n {
|
|
1766
|
+
constructor() {
|
|
1767
|
+
super(...arguments), this.type = "navDisclosure", this.componentInfo = Bt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.expand = this.ctx.driver.wrapAction(U.bind(this, !0)), this.collapse = this.ctx.driver.wrapAction(U.bind(this, !1)), this.summary = x.bind(this, "summary");
|
|
1768
|
+
}
|
|
1769
|
+
}
|
|
1770
|
+
class Si extends a {
|
|
1771
|
+
constructor() {
|
|
1772
|
+
super(...arguments), this.componentInfo = Bt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
1773
|
+
}
|
|
1774
|
+
wrap(r) {
|
|
1775
|
+
return new Pi(this.ctx, r);
|
|
1776
|
+
}
|
|
1777
|
+
}
|
|
1778
|
+
class qi {
|
|
1779
|
+
constructor(r, s) {
|
|
1780
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
1781
|
+
{
|
|
1782
|
+
type: "eval",
|
|
1783
|
+
el: this.wrapper.unwrap(),
|
|
1784
|
+
fn: (c, o) => c[o],
|
|
1785
|
+
arg: e
|
|
1786
|
+
},
|
|
1787
|
+
i,
|
|
1788
|
+
`toHaveProp("${e}", ${i})`
|
|
1789
|
+
)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1790
|
+
{
|
|
1791
|
+
type: "eval",
|
|
1792
|
+
el: this.wrapper.unwrap(),
|
|
1793
|
+
fn: u
|
|
1794
|
+
},
|
|
1795
|
+
e,
|
|
1796
|
+
"toHaveIcon(${value})"
|
|
1797
|
+
)), this.toBeCurrent = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
1798
|
+
{
|
|
1799
|
+
type: "eval",
|
|
1800
|
+
el: this.wrapper.unwrap(),
|
|
1801
|
+
fn: H
|
|
1802
|
+
},
|
|
1803
|
+
!0,
|
|
1804
|
+
"toBeCurrent()"
|
|
1805
|
+
)), this.notToBeCurrent = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
1806
|
+
{
|
|
1807
|
+
type: "eval",
|
|
1808
|
+
el: this.wrapper.unwrap(),
|
|
1809
|
+
fn: H
|
|
1810
|
+
},
|
|
1811
|
+
!1,
|
|
1812
|
+
"notToBeCurrent()"
|
|
1813
|
+
)), this.toBeOpen = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
1814
|
+
{
|
|
1815
|
+
type: "eval",
|
|
1816
|
+
el: this.wrapper.unwrap(),
|
|
1817
|
+
fn: E
|
|
1818
|
+
},
|
|
1819
|
+
!0,
|
|
1820
|
+
"toBeOpen()"
|
|
1821
|
+
)), this.toBeClosed = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
1822
|
+
{
|
|
1823
|
+
type: "eval",
|
|
1824
|
+
el: this.wrapper.unwrap(),
|
|
1825
|
+
fn: E
|
|
1826
|
+
},
|
|
1827
|
+
!1,
|
|
1828
|
+
"toBeClosed()"
|
|
1829
|
+
));
|
|
1830
|
+
}
|
|
1831
|
+
}
|
|
1832
|
+
const kt = {
|
|
1833
|
+
name: "nav-item"
|
|
1834
|
+
};
|
|
1835
|
+
class Ci extends n {
|
|
1836
|
+
constructor() {
|
|
1837
|
+
super(...arguments), this.type = "navItem", this.componentInfo = kt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.click = this.ctx.driver.wrapAction(b.bind(this, () => this.control())), this.control = x.bind(this, ".control");
|
|
1838
|
+
}
|
|
1839
|
+
}
|
|
1840
|
+
class Ti extends a {
|
|
1841
|
+
constructor() {
|
|
1842
|
+
super(...arguments), this.componentInfo = kt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
1843
|
+
}
|
|
1844
|
+
wrap(r) {
|
|
1845
|
+
return new Ci(this.ctx, r);
|
|
1846
|
+
}
|
|
1847
|
+
}
|
|
1848
|
+
class Bi {
|
|
1849
|
+
constructor(r, s) {
|
|
1850
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
1851
|
+
{
|
|
1852
|
+
type: "eval",
|
|
1853
|
+
el: this.wrapper.unwrap(),
|
|
1854
|
+
fn: (c, o) => c[o],
|
|
1855
|
+
arg: e
|
|
1856
|
+
},
|
|
1857
|
+
i,
|
|
1858
|
+
`toHaveProp("${e}", ${i})`
|
|
1859
|
+
)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1860
|
+
{
|
|
1861
|
+
type: "eval",
|
|
1862
|
+
el: this.wrapper.unwrap(),
|
|
1863
|
+
fn: u
|
|
1864
|
+
},
|
|
1865
|
+
e,
|
|
1866
|
+
"toHaveIcon(${value})"
|
|
1867
|
+
)), this.toBeCurrent = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
1868
|
+
{
|
|
1869
|
+
type: "eval",
|
|
1870
|
+
el: this.wrapper.unwrap(),
|
|
1871
|
+
fn: H
|
|
1872
|
+
},
|
|
1873
|
+
!0,
|
|
1874
|
+
"toBeCurrent()"
|
|
1875
|
+
)), this.notToBeCurrent = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
1876
|
+
{
|
|
1877
|
+
type: "eval",
|
|
1878
|
+
el: this.wrapper.unwrap(),
|
|
1879
|
+
fn: H
|
|
1880
|
+
},
|
|
1881
|
+
!1,
|
|
1882
|
+
"notToBeCurrent()"
|
|
1883
|
+
));
|
|
1884
|
+
}
|
|
1885
|
+
}
|
|
1886
|
+
const Vt = {
|
|
1887
|
+
name: "note"
|
|
1888
|
+
};
|
|
1889
|
+
class ki extends n {
|
|
1890
|
+
constructor() {
|
|
1891
|
+
super(...arguments), this.type = "note", this.componentInfo = Vt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
1892
|
+
}
|
|
1893
|
+
}
|
|
1894
|
+
class Vi extends a {
|
|
1895
|
+
constructor() {
|
|
1896
|
+
super(...arguments), this.componentInfo = Vt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
1897
|
+
}
|
|
1898
|
+
wrap(r) {
|
|
1899
|
+
return new ki(this.ctx, r);
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
class Wi {
|
|
1903
|
+
constructor(r, s) {
|
|
1904
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
1905
|
+
{
|
|
1906
|
+
type: "eval",
|
|
1907
|
+
el: this.wrapper.unwrap(),
|
|
1908
|
+
fn: (c, o) => c[o],
|
|
1909
|
+
arg: e
|
|
1910
|
+
},
|
|
1911
|
+
i,
|
|
1912
|
+
`toHaveProp("${e}", ${i})`
|
|
1913
|
+
)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1914
|
+
{
|
|
1915
|
+
type: "eval",
|
|
1916
|
+
el: this.wrapper.unwrap(),
|
|
1917
|
+
fn: u
|
|
1918
|
+
},
|
|
1919
|
+
e,
|
|
1920
|
+
"toHaveIcon(${value})"
|
|
1921
|
+
));
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
const Wt = {
|
|
1925
|
+
name: "number-field"
|
|
1926
|
+
};
|
|
1927
|
+
class Di extends n {
|
|
1928
|
+
constructor() {
|
|
1929
|
+
super(...arguments), this.type = "numberField", this.componentInfo = Wt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.fill = this.ctx.driver.wrapAction(V.bind(this, () => this.control())), this.clear = this.ctx.driver.wrapAction(W.bind(this, () => this.control())), this.clickIncrement = this.ctx.driver.wrapAction(C.bind(this, () => this.incrementButton())), this.clickDecrement = this.ctx.driver.wrapAction(C.bind(this, () => this.decrementButton())), this.control = x.bind(this, "input.control"), this.incrementButton = y.bind(this, "#add"), this.decrementButton = y.bind(this, "#subtract");
|
|
1930
|
+
}
|
|
1931
|
+
}
|
|
1932
|
+
class Gi extends a {
|
|
1933
|
+
constructor() {
|
|
1934
|
+
super(...arguments), this.componentInfo = Wt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
1935
|
+
}
|
|
1936
|
+
wrap(r) {
|
|
1937
|
+
return new Di(this.ctx, r);
|
|
1938
|
+
}
|
|
1939
|
+
}
|
|
1940
|
+
class Ri {
|
|
1941
|
+
constructor(r, s) {
|
|
1942
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
1943
|
+
{
|
|
1944
|
+
type: "eval",
|
|
1945
|
+
el: this.wrapper.unwrap(),
|
|
1946
|
+
fn: (c, o) => c[o],
|
|
1947
|
+
arg: e
|
|
1948
|
+
},
|
|
1949
|
+
i,
|
|
1950
|
+
`toHaveProp("${e}", ${i})`
|
|
1951
|
+
)), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1952
|
+
{
|
|
1953
|
+
type: "eval",
|
|
1954
|
+
el: this.wrapper.unwrap(),
|
|
1955
|
+
fn: f
|
|
1956
|
+
},
|
|
1957
|
+
e,
|
|
1958
|
+
"toHaveVisibleError(${value})"
|
|
1959
|
+
)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1960
|
+
{
|
|
1961
|
+
type: "eval",
|
|
1962
|
+
el: this.wrapper.unwrap(),
|
|
1963
|
+
fn: u
|
|
1964
|
+
},
|
|
1965
|
+
e,
|
|
1966
|
+
"toHaveIcon(${value})"
|
|
1967
|
+
)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1968
|
+
{
|
|
1969
|
+
type: "eval",
|
|
1970
|
+
el: this.wrapper.unwrap(),
|
|
1971
|
+
fn: w
|
|
1972
|
+
},
|
|
1973
|
+
e,
|
|
1974
|
+
"toHaveValue(${value})"
|
|
1975
|
+
)), this.toHaveValueAsNumber = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
1976
|
+
{
|
|
1977
|
+
type: "eval",
|
|
1978
|
+
el: this.wrapper.unwrap(),
|
|
1979
|
+
fn: z
|
|
1980
|
+
},
|
|
1981
|
+
e,
|
|
1982
|
+
"toHaveValueAsNumber(${value})"
|
|
1983
|
+
));
|
|
1984
|
+
}
|
|
1985
|
+
}
|
|
1986
|
+
const Dt = {
|
|
1987
|
+
name: "option"
|
|
1988
|
+
};
|
|
1989
|
+
class Li extends n {
|
|
1990
|
+
constructor() {
|
|
1991
|
+
super(...arguments), this.type = "option", this.componentInfo = Dt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.click = this.ctx.driver.wrapAction(b.bind(this, () => this.locator));
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1994
|
+
class Oi extends a {
|
|
1995
|
+
constructor() {
|
|
1996
|
+
super(...arguments), this.componentInfo = Dt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
1997
|
+
}
|
|
1998
|
+
wrap(r) {
|
|
1999
|
+
return new Li(this.ctx, r);
|
|
2000
|
+
}
|
|
2001
|
+
}
|
|
2002
|
+
class Fi {
|
|
2003
|
+
constructor(r, s) {
|
|
2004
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
2005
|
+
{
|
|
2006
|
+
type: "eval",
|
|
2007
|
+
el: this.wrapper.unwrap(),
|
|
2008
|
+
fn: (c, o) => c[o],
|
|
2009
|
+
arg: e
|
|
2010
|
+
},
|
|
2011
|
+
i,
|
|
2012
|
+
`toHaveProp("${e}", ${i})`
|
|
2013
|
+
)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2014
|
+
{
|
|
2015
|
+
type: "eval",
|
|
2016
|
+
el: this.wrapper.unwrap(),
|
|
2017
|
+
fn: u
|
|
2018
|
+
},
|
|
2019
|
+
e,
|
|
2020
|
+
"toHaveIcon(${value})"
|
|
2021
|
+
));
|
|
2022
|
+
}
|
|
2023
|
+
}
|
|
2024
|
+
const Gt = {
|
|
2025
|
+
name: "pagination"
|
|
2026
|
+
};
|
|
2027
|
+
class Ui extends n {
|
|
2028
|
+
constructor() {
|
|
2029
|
+
super(...arguments), this.type = "pagination", this.componentInfo = Gt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.clickNext = this.ctx.driver.wrapAction(b.bind(this, () => this.nextButton())), this.clickPrev = this.ctx.driver.wrapAction(b.bind(this, () => this.prevButton())), this.clickPageIndex = this.ctx.driver.wrapAction(Te.bind(this)), this.nextButton = x.bind(this, ".next-button"), this.prevButton = x.bind(this, ".prev-button");
|
|
2030
|
+
}
|
|
2031
|
+
}
|
|
2032
|
+
class Mi extends a {
|
|
2033
|
+
constructor() {
|
|
2034
|
+
super(...arguments), this.componentInfo = Gt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
2035
|
+
}
|
|
2036
|
+
wrap(r) {
|
|
2037
|
+
return new Ui(this.ctx, r);
|
|
2038
|
+
}
|
|
2039
|
+
}
|
|
2040
|
+
class ji {
|
|
2041
|
+
constructor(r, s) {
|
|
2042
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
2043
|
+
{
|
|
2044
|
+
type: "eval",
|
|
2045
|
+
el: this.wrapper.unwrap(),
|
|
2046
|
+
fn: (c, o) => c[o],
|
|
2047
|
+
arg: e
|
|
2048
|
+
},
|
|
2049
|
+
i,
|
|
2050
|
+
`toHaveProp("${e}", ${i})`
|
|
2051
|
+
)), this.toHaveTotal = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2052
|
+
{
|
|
2053
|
+
type: "eval",
|
|
2054
|
+
el: this.wrapper.unwrap(),
|
|
2055
|
+
fn: ye
|
|
2056
|
+
},
|
|
2057
|
+
e,
|
|
2058
|
+
"toHaveTotal(${value})"
|
|
2059
|
+
)), this.toHaveSelectedPage = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2060
|
+
{
|
|
2061
|
+
type: "eval",
|
|
2062
|
+
el: this.wrapper.unwrap(),
|
|
2063
|
+
fn: Ie
|
|
2064
|
+
},
|
|
2065
|
+
e,
|
|
2066
|
+
"toHaveSelectedPage(${value})"
|
|
2067
|
+
));
|
|
2068
|
+
}
|
|
2069
|
+
}
|
|
2070
|
+
const Rt = {
|
|
2071
|
+
name: "progress"
|
|
2072
|
+
};
|
|
2073
|
+
class _i extends n {
|
|
2074
|
+
constructor() {
|
|
2075
|
+
super(...arguments), this.type = "progress", this.componentInfo = Rt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
2076
|
+
}
|
|
2077
|
+
}
|
|
2078
|
+
class zi extends a {
|
|
2079
|
+
constructor() {
|
|
2080
|
+
super(...arguments), this.componentInfo = Rt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
2081
|
+
}
|
|
2082
|
+
wrap(r) {
|
|
2083
|
+
return new _i(this.ctx, r);
|
|
2084
|
+
}
|
|
2085
|
+
}
|
|
2086
|
+
class Ji {
|
|
2087
|
+
constructor(r, s) {
|
|
2088
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
2089
|
+
{
|
|
2090
|
+
type: "eval",
|
|
2091
|
+
el: this.wrapper.unwrap(),
|
|
2092
|
+
fn: (c, o) => c[o],
|
|
2093
|
+
arg: e
|
|
2094
|
+
},
|
|
2095
|
+
i,
|
|
2096
|
+
`toHaveProp("${e}", ${i})`
|
|
2097
|
+
));
|
|
2098
|
+
}
|
|
2099
|
+
}
|
|
2100
|
+
const Lt = {
|
|
2101
|
+
name: "progress-ring"
|
|
2102
|
+
};
|
|
2103
|
+
class Ki extends n {
|
|
2104
|
+
constructor() {
|
|
2105
|
+
super(...arguments), this.type = "progressRing", this.componentInfo = Lt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
2106
|
+
}
|
|
2107
|
+
}
|
|
2108
|
+
class Qi extends a {
|
|
2109
|
+
constructor() {
|
|
2110
|
+
super(...arguments), this.componentInfo = Lt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
2111
|
+
}
|
|
2112
|
+
wrap(r) {
|
|
2113
|
+
return new Ki(this.ctx, r);
|
|
2114
|
+
}
|
|
2115
|
+
}
|
|
2116
|
+
class Xi {
|
|
2117
|
+
constructor(r, s) {
|
|
2118
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
2119
|
+
{
|
|
2120
|
+
type: "eval",
|
|
2121
|
+
el: this.wrapper.unwrap(),
|
|
2122
|
+
fn: (c, o) => c[o],
|
|
2123
|
+
arg: e
|
|
2124
|
+
},
|
|
2125
|
+
i,
|
|
2126
|
+
`toHaveProp("${e}", ${i})`
|
|
2127
|
+
));
|
|
2128
|
+
}
|
|
2129
|
+
}
|
|
2130
|
+
const Ot = {
|
|
2131
|
+
name: "radio"
|
|
2132
|
+
};
|
|
2133
|
+
class Yi extends n {
|
|
2134
|
+
constructor() {
|
|
2135
|
+
super(...arguments), this.type = "radio", this.componentInfo = Ot, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.check = this.ctx.driver.wrapAction(b.bind(this, () => this.control())), this.control = x.bind(this, ".control");
|
|
2136
|
+
}
|
|
2137
|
+
}
|
|
2138
|
+
class Zi extends a {
|
|
2139
|
+
constructor() {
|
|
2140
|
+
super(...arguments), this.componentInfo = Ot, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
2141
|
+
}
|
|
2142
|
+
wrap(r) {
|
|
2143
|
+
return new Yi(this.ctx, r);
|
|
2144
|
+
}
|
|
2145
|
+
}
|
|
2146
|
+
class Ni {
|
|
2147
|
+
constructor(r, s) {
|
|
2148
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
2149
|
+
{
|
|
2150
|
+
type: "eval",
|
|
2151
|
+
el: this.wrapper.unwrap(),
|
|
2152
|
+
fn: (c, o) => c[o],
|
|
2153
|
+
arg: e
|
|
2154
|
+
},
|
|
2155
|
+
i,
|
|
2156
|
+
`toHaveProp("${e}", ${i})`
|
|
2157
|
+
)), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2158
|
+
{
|
|
2159
|
+
type: "eval",
|
|
2160
|
+
el: this.wrapper.unwrap(),
|
|
2161
|
+
fn: f
|
|
2162
|
+
},
|
|
2163
|
+
e,
|
|
2164
|
+
"toHaveVisibleError(${value})"
|
|
2165
|
+
)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2166
|
+
{
|
|
2167
|
+
type: "eval",
|
|
2168
|
+
el: this.wrapper.unwrap(),
|
|
2169
|
+
fn: w
|
|
2170
|
+
},
|
|
2171
|
+
e,
|
|
2172
|
+
"toHaveValue(${value})"
|
|
2173
|
+
)), this.toBeChecked = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
2174
|
+
{
|
|
2175
|
+
type: "eval",
|
|
2176
|
+
el: this.wrapper.unwrap(),
|
|
2177
|
+
fn: I
|
|
2178
|
+
},
|
|
2179
|
+
!0,
|
|
2180
|
+
"toBeChecked()"
|
|
2181
|
+
)), this.toBeUnchecked = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
2182
|
+
{
|
|
2183
|
+
type: "eval",
|
|
2184
|
+
el: this.wrapper.unwrap(),
|
|
2185
|
+
fn: I
|
|
2186
|
+
},
|
|
2187
|
+
!1,
|
|
2188
|
+
"toBeUnchecked()"
|
|
2189
|
+
));
|
|
2190
|
+
}
|
|
2191
|
+
}
|
|
2192
|
+
const Ft = {
|
|
2193
|
+
name: "radio-group"
|
|
2194
|
+
};
|
|
2195
|
+
class ts extends n {
|
|
2196
|
+
constructor() {
|
|
2197
|
+
super(...arguments), this.type = "radioGroup", this.componentInfo = Ft, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
2198
|
+
}
|
|
2199
|
+
}
|
|
2200
|
+
class es extends a {
|
|
2201
|
+
constructor() {
|
|
2202
|
+
super(...arguments), this.componentInfo = Ft, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
2203
|
+
}
|
|
2204
|
+
wrap(r) {
|
|
2205
|
+
return new ts(this.ctx, r);
|
|
2206
|
+
}
|
|
2207
|
+
}
|
|
2208
|
+
class rs {
|
|
2209
|
+
constructor(r, s) {
|
|
2210
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
2211
|
+
{
|
|
2212
|
+
type: "eval",
|
|
2213
|
+
el: this.wrapper.unwrap(),
|
|
2214
|
+
fn: (c, o) => c[o],
|
|
2215
|
+
arg: e
|
|
2216
|
+
},
|
|
2217
|
+
i,
|
|
2218
|
+
`toHaveProp("${e}", ${i})`
|
|
2219
|
+
));
|
|
2220
|
+
}
|
|
2221
|
+
}
|
|
2222
|
+
const Ut = {
|
|
2223
|
+
name: "range-slider"
|
|
2224
|
+
};
|
|
2225
|
+
class is extends n {
|
|
2226
|
+
constructor() {
|
|
2227
|
+
super(...arguments), this.type = "rangeSlider", this.componentInfo = Ut, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.slideStartTo = this.ctx.driver.wrapAction(T.bind(this, () => this.track(), () => this.startThumb())), this.slideEndTo = this.ctx.driver.wrapAction(T.bind(this, () => this.track(), () => this.endThumb())), this.track = x.bind(this, ".control"), this.startThumb = x.bind(this, "#start-thumb"), this.endThumb = x.bind(this, "#end-thumb");
|
|
2228
|
+
}
|
|
2229
|
+
}
|
|
2230
|
+
class ss extends a {
|
|
2231
|
+
constructor() {
|
|
2232
|
+
super(...arguments), this.componentInfo = Ut, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
2233
|
+
}
|
|
2234
|
+
wrap(r) {
|
|
2235
|
+
return new is(this.ctx, r);
|
|
2236
|
+
}
|
|
2237
|
+
}
|
|
2238
|
+
class cs {
|
|
2239
|
+
constructor(r, s) {
|
|
2240
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
2241
|
+
{
|
|
2242
|
+
type: "eval",
|
|
2243
|
+
el: this.wrapper.unwrap(),
|
|
2244
|
+
fn: (c, o) => c[o],
|
|
2245
|
+
arg: e
|
|
2246
|
+
},
|
|
2247
|
+
i,
|
|
2248
|
+
`toHaveProp("${e}", ${i})`
|
|
2249
|
+
)), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2250
|
+
{
|
|
2251
|
+
type: "eval",
|
|
2252
|
+
el: this.wrapper.unwrap(),
|
|
2253
|
+
fn: f
|
|
2254
|
+
},
|
|
2255
|
+
e,
|
|
2256
|
+
"toHaveVisibleError(${value})"
|
|
2257
|
+
)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2258
|
+
{
|
|
2259
|
+
type: "eval",
|
|
2260
|
+
el: this.wrapper.unwrap(),
|
|
2261
|
+
fn: w
|
|
2262
|
+
},
|
|
2263
|
+
e,
|
|
2264
|
+
"toHaveValue(${value})"
|
|
2265
|
+
)), this.toHaveRange = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2266
|
+
{
|
|
2267
|
+
type: "eval",
|
|
2268
|
+
el: this.wrapper.unwrap(),
|
|
2269
|
+
fn: fe
|
|
2270
|
+
},
|
|
2271
|
+
e,
|
|
2272
|
+
"toHaveRange(${value})"
|
|
2273
|
+
));
|
|
2274
|
+
}
|
|
2275
|
+
}
|
|
2276
|
+
const Mt = {
|
|
2277
|
+
name: "rich-text-editor"
|
|
2278
|
+
};
|
|
2279
|
+
class os extends n {
|
|
2280
|
+
constructor() {
|
|
2281
|
+
super(...arguments), this.type = "richTextEditor", this.componentInfo = Mt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
2282
|
+
}
|
|
2283
|
+
}
|
|
2284
|
+
class ns extends a {
|
|
2285
|
+
constructor() {
|
|
2286
|
+
super(...arguments), this.componentInfo = Mt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
2287
|
+
}
|
|
2288
|
+
wrap(r) {
|
|
2289
|
+
return new os(this.ctx, r);
|
|
2290
|
+
}
|
|
2291
|
+
}
|
|
2292
|
+
class as {
|
|
2293
|
+
constructor(r, s) {
|
|
2294
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
2295
|
+
{
|
|
2296
|
+
type: "eval",
|
|
2297
|
+
el: this.wrapper.unwrap(),
|
|
2298
|
+
fn: (c, o) => c[o],
|
|
2299
|
+
arg: e
|
|
2300
|
+
},
|
|
2301
|
+
i,
|
|
2302
|
+
`toHaveProp("${e}", ${i})`
|
|
2303
|
+
));
|
|
2304
|
+
}
|
|
2305
|
+
}
|
|
2306
|
+
const jt = {
|
|
2307
|
+
name: "searchable-select"
|
|
2308
|
+
};
|
|
2309
|
+
class hs extends n {
|
|
2310
|
+
constructor() {
|
|
2311
|
+
super(...arguments), this.type = "searchableSelect", this.componentInfo = jt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.selectOptionByValue = this.ctx.driver.wrapAction(D.bind(this)), this.selectOptionByText = this.ctx.driver.wrapAction(G.bind(this));
|
|
2312
|
+
}
|
|
2313
|
+
}
|
|
2314
|
+
class ps extends a {
|
|
2315
|
+
constructor() {
|
|
2316
|
+
super(...arguments), this.componentInfo = jt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
2317
|
+
}
|
|
2318
|
+
wrap(r) {
|
|
2319
|
+
return new hs(this.ctx, r);
|
|
2320
|
+
}
|
|
2321
|
+
}
|
|
2322
|
+
class ds {
|
|
2323
|
+
constructor(r, s) {
|
|
2324
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
2325
|
+
{
|
|
2326
|
+
type: "eval",
|
|
2327
|
+
el: this.wrapper.unwrap(),
|
|
2328
|
+
fn: (c, o) => c[o],
|
|
2329
|
+
arg: e
|
|
2330
|
+
},
|
|
2331
|
+
i,
|
|
2332
|
+
`toHaveProp("${e}", ${i})`
|
|
2333
|
+
)), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2334
|
+
{
|
|
2335
|
+
type: "eval",
|
|
2336
|
+
el: this.wrapper.unwrap(),
|
|
2337
|
+
fn: f
|
|
2338
|
+
},
|
|
2339
|
+
e,
|
|
2340
|
+
"toHaveVisibleError(${value})"
|
|
2341
|
+
)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2342
|
+
{
|
|
2343
|
+
type: "eval",
|
|
2344
|
+
el: this.wrapper.unwrap(),
|
|
2345
|
+
fn: u
|
|
2346
|
+
},
|
|
2347
|
+
e,
|
|
2348
|
+
"toHaveIcon(${value})"
|
|
2349
|
+
)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2350
|
+
{
|
|
2351
|
+
type: "eval",
|
|
2352
|
+
el: this.wrapper.unwrap(),
|
|
2353
|
+
fn: w
|
|
2354
|
+
},
|
|
2355
|
+
e,
|
|
2356
|
+
"toHaveValue(${value})"
|
|
2357
|
+
)), this.toHaveValues = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2358
|
+
{
|
|
2359
|
+
type: "eval",
|
|
2360
|
+
el: this.wrapper.unwrap(),
|
|
2361
|
+
fn: we
|
|
2362
|
+
},
|
|
2363
|
+
e,
|
|
2364
|
+
"toHaveValues(${value})"
|
|
2365
|
+
)), this.toHaveSelectedOptions = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2366
|
+
{
|
|
2367
|
+
type: "eval",
|
|
2368
|
+
el: this.wrapper.unwrap(),
|
|
2369
|
+
fn: be
|
|
2370
|
+
},
|
|
2371
|
+
e,
|
|
2372
|
+
"toHaveSelectedOptions(${value})"
|
|
2373
|
+
));
|
|
2374
|
+
}
|
|
2375
|
+
}
|
|
2376
|
+
const _t = {
|
|
2377
|
+
name: "select"
|
|
2378
|
+
};
|
|
2379
|
+
class ls extends n {
|
|
2380
|
+
constructor() {
|
|
2381
|
+
super(...arguments), this.type = "select", this.componentInfo = _t, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.selectOptionByValue = this.ctx.driver.wrapAction(D.bind(this)), this.selectOptionByText = this.ctx.driver.wrapAction(G.bind(this));
|
|
2382
|
+
}
|
|
2383
|
+
}
|
|
2384
|
+
class xs extends a {
|
|
2385
|
+
constructor() {
|
|
2386
|
+
super(...arguments), this.componentInfo = _t, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
2387
|
+
}
|
|
2388
|
+
wrap(r) {
|
|
2389
|
+
return new ls(this.ctx, r);
|
|
2390
|
+
}
|
|
2391
|
+
}
|
|
2392
|
+
class vs {
|
|
2393
|
+
constructor(r, s) {
|
|
2394
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
2395
|
+
{
|
|
2396
|
+
type: "eval",
|
|
2397
|
+
el: this.wrapper.unwrap(),
|
|
2398
|
+
fn: (c, o) => c[o],
|
|
2399
|
+
arg: e
|
|
2400
|
+
},
|
|
2401
|
+
i,
|
|
2402
|
+
`toHaveProp("${e}", ${i})`
|
|
2403
|
+
)), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2404
|
+
{
|
|
2405
|
+
type: "eval",
|
|
2406
|
+
el: this.wrapper.unwrap(),
|
|
2407
|
+
fn: f
|
|
2408
|
+
},
|
|
2409
|
+
e,
|
|
2410
|
+
"toHaveVisibleError(${value})"
|
|
2411
|
+
)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2412
|
+
{
|
|
2413
|
+
type: "eval",
|
|
2414
|
+
el: this.wrapper.unwrap(),
|
|
2415
|
+
fn: u
|
|
2416
|
+
},
|
|
2417
|
+
e,
|
|
2418
|
+
"toHaveIcon(${value})"
|
|
2419
|
+
)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2420
|
+
{
|
|
2421
|
+
type: "eval",
|
|
2422
|
+
el: this.wrapper.unwrap(),
|
|
2423
|
+
fn: w
|
|
2424
|
+
},
|
|
2425
|
+
e,
|
|
2426
|
+
"toHaveValue(${value})"
|
|
2427
|
+
));
|
|
2428
|
+
}
|
|
2429
|
+
}
|
|
2430
|
+
const zt = {
|
|
2431
|
+
name: "selectable-box"
|
|
2432
|
+
};
|
|
2433
|
+
class us extends n {
|
|
2434
|
+
constructor() {
|
|
2435
|
+
super(...arguments), this.type = "selectableBox", this.componentInfo = zt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.check = this.ctx.driver.wrapAction(J.bind(this, () => this.control())), this.uncheck = this.ctx.driver.wrapAction(K.bind(this, () => this.control())), this.control = ke.bind(this, "[data-vvd-component].control", "div.control");
|
|
2436
|
+
}
|
|
2437
|
+
}
|
|
2438
|
+
class ws extends a {
|
|
2439
|
+
constructor() {
|
|
2440
|
+
super(...arguments), this.componentInfo = zt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
2441
|
+
}
|
|
2442
|
+
wrap(r) {
|
|
2443
|
+
return new us(this.ctx, r);
|
|
2444
|
+
}
|
|
2445
|
+
}
|
|
2446
|
+
class bs {
|
|
2447
|
+
constructor(r, s) {
|
|
2448
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
2449
|
+
{
|
|
2450
|
+
type: "eval",
|
|
2451
|
+
el: this.wrapper.unwrap(),
|
|
2452
|
+
fn: (c, o) => c[o],
|
|
2453
|
+
arg: e
|
|
2454
|
+
},
|
|
2455
|
+
i,
|
|
2456
|
+
`toHaveProp("${e}", ${i})`
|
|
2457
|
+
)), this.toBeChecked = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
2458
|
+
{
|
|
2459
|
+
type: "eval",
|
|
2460
|
+
el: this.wrapper.unwrap(),
|
|
2461
|
+
fn: I
|
|
2462
|
+
},
|
|
2463
|
+
!0,
|
|
2464
|
+
"toBeChecked()"
|
|
2465
|
+
)), this.toBeUnchecked = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
2466
|
+
{
|
|
2467
|
+
type: "eval",
|
|
2468
|
+
el: this.wrapper.unwrap(),
|
|
2469
|
+
fn: I
|
|
2470
|
+
},
|
|
2471
|
+
!1,
|
|
2472
|
+
"toBeUnchecked()"
|
|
2473
|
+
));
|
|
2474
|
+
}
|
|
2475
|
+
}
|
|
2476
|
+
const Jt = {
|
|
2477
|
+
name: "side-drawer"
|
|
2478
|
+
};
|
|
2479
|
+
class ms extends n {
|
|
2480
|
+
constructor() {
|
|
2481
|
+
super(...arguments), this.type = "sideDrawer", this.componentInfo = Jt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
2482
|
+
}
|
|
2483
|
+
}
|
|
2484
|
+
class fs extends a {
|
|
2485
|
+
constructor() {
|
|
2486
|
+
super(...arguments), this.componentInfo = Jt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
2487
|
+
}
|
|
2488
|
+
wrap(r) {
|
|
2489
|
+
return new ms(this.ctx, r);
|
|
2490
|
+
}
|
|
2491
|
+
}
|
|
2492
|
+
class Es {
|
|
2493
|
+
constructor(r, s) {
|
|
2494
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
2495
|
+
{
|
|
2496
|
+
type: "eval",
|
|
2497
|
+
el: this.wrapper.unwrap(),
|
|
2498
|
+
fn: (c, o) => c[o],
|
|
2499
|
+
arg: e
|
|
2500
|
+
},
|
|
2501
|
+
i,
|
|
2502
|
+
`toHaveProp("${e}", ${i})`
|
|
2503
|
+
));
|
|
2504
|
+
}
|
|
2505
|
+
}
|
|
2506
|
+
const Kt = {
|
|
2507
|
+
name: "simple-color-picker"
|
|
2508
|
+
};
|
|
2509
|
+
class ys extends n {
|
|
2510
|
+
constructor() {
|
|
2511
|
+
super(...arguments), this.type = "simpleColorPicker", this.componentInfo = Kt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
2512
|
+
}
|
|
2513
|
+
}
|
|
2514
|
+
class Is extends a {
|
|
2515
|
+
constructor() {
|
|
2516
|
+
super(...arguments), this.componentInfo = Kt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
2517
|
+
}
|
|
2518
|
+
wrap(r) {
|
|
2519
|
+
return new ys(this.ctx, r);
|
|
2520
|
+
}
|
|
2521
|
+
}
|
|
2522
|
+
class gs {
|
|
2523
|
+
constructor(r, s) {
|
|
2524
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
2525
|
+
{
|
|
2526
|
+
type: "eval",
|
|
2527
|
+
el: this.wrapper.unwrap(),
|
|
2528
|
+
fn: (c, o) => c[o],
|
|
2529
|
+
arg: e
|
|
2530
|
+
},
|
|
2531
|
+
i,
|
|
2532
|
+
`toHaveProp("${e}", ${i})`
|
|
2533
|
+
)), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2534
|
+
{
|
|
2535
|
+
type: "eval",
|
|
2536
|
+
el: this.wrapper.unwrap(),
|
|
2537
|
+
fn: f
|
|
2538
|
+
},
|
|
2539
|
+
e,
|
|
2540
|
+
"toHaveVisibleError(${value})"
|
|
2541
|
+
)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2542
|
+
{
|
|
2543
|
+
type: "eval",
|
|
2544
|
+
el: this.wrapper.unwrap(),
|
|
2545
|
+
fn: w
|
|
2546
|
+
},
|
|
2547
|
+
e,
|
|
2548
|
+
"toHaveValue(${value})"
|
|
2549
|
+
));
|
|
2550
|
+
}
|
|
2551
|
+
}
|
|
2552
|
+
const Qt = {
|
|
2553
|
+
name: "slider"
|
|
2554
|
+
};
|
|
2555
|
+
class As extends n {
|
|
2556
|
+
constructor() {
|
|
2557
|
+
super(...arguments), this.type = "slider", this.componentInfo = Qt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.slideTo = this.ctx.driver.wrapAction(T.bind(this, () => this.track(), () => this.thumb())), this.track = x.bind(this, ".control"), this.thumb = x.bind(this, ".thumb-container");
|
|
2558
|
+
}
|
|
2559
|
+
}
|
|
2560
|
+
class Hs extends a {
|
|
2561
|
+
constructor() {
|
|
2562
|
+
super(...arguments), this.componentInfo = Qt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
2563
|
+
}
|
|
2564
|
+
wrap(r) {
|
|
2565
|
+
return new As(this.ctx, r);
|
|
2566
|
+
}
|
|
2567
|
+
}
|
|
2568
|
+
class $s {
|
|
2569
|
+
constructor(r, s) {
|
|
2570
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
2571
|
+
{
|
|
2572
|
+
type: "eval",
|
|
2573
|
+
el: this.wrapper.unwrap(),
|
|
2574
|
+
fn: (c, o) => c[o],
|
|
2575
|
+
arg: e
|
|
2576
|
+
},
|
|
2577
|
+
i,
|
|
2578
|
+
`toHaveProp("${e}", ${i})`
|
|
2579
|
+
)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2580
|
+
{
|
|
2581
|
+
type: "eval",
|
|
2582
|
+
el: this.wrapper.unwrap(),
|
|
2583
|
+
fn: w
|
|
2584
|
+
},
|
|
2585
|
+
e,
|
|
2586
|
+
"toHaveValue(${value})"
|
|
2587
|
+
)), this.toHaveValueAsNumber = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2588
|
+
{
|
|
2589
|
+
type: "eval",
|
|
2590
|
+
el: this.wrapper.unwrap(),
|
|
2591
|
+
fn: z
|
|
2592
|
+
},
|
|
2593
|
+
e,
|
|
2594
|
+
"toHaveValueAsNumber(${value})"
|
|
2595
|
+
));
|
|
2596
|
+
}
|
|
2597
|
+
}
|
|
2598
|
+
const Xt = {
|
|
2599
|
+
name: "split-button"
|
|
2600
|
+
};
|
|
2601
|
+
class Ps extends n {
|
|
2602
|
+
constructor() {
|
|
2603
|
+
super(...arguments), this.type = "splitButton", this.componentInfo = Xt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.clickAction = this.ctx.driver.wrapAction(b.bind(this, () => this.actionButton())), this.clickIndicator = this.ctx.driver.wrapAction(b.bind(this, () => this.indicatorButton())), this.actionButton = x.bind(this, "button.control"), this.indicatorButton = x.bind(this, "button.indicator");
|
|
2604
|
+
}
|
|
2605
|
+
}
|
|
2606
|
+
class Ss extends a {
|
|
2607
|
+
constructor() {
|
|
2608
|
+
super(...arguments), this.componentInfo = Xt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
2609
|
+
}
|
|
2610
|
+
wrap(r) {
|
|
2611
|
+
return new Ps(this.ctx, r);
|
|
2612
|
+
}
|
|
2613
|
+
}
|
|
2614
|
+
class qs {
|
|
2615
|
+
constructor(r, s) {
|
|
2616
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
2617
|
+
{
|
|
2618
|
+
type: "eval",
|
|
2619
|
+
el: this.wrapper.unwrap(),
|
|
2620
|
+
fn: (c, o) => c[o],
|
|
2621
|
+
arg: e
|
|
2622
|
+
},
|
|
2623
|
+
i,
|
|
2624
|
+
`toHaveProp("${e}", ${i})`
|
|
2625
|
+
)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2626
|
+
{
|
|
2627
|
+
type: "eval",
|
|
2628
|
+
el: this.wrapper.unwrap(),
|
|
2629
|
+
fn: u
|
|
2630
|
+
},
|
|
2631
|
+
e,
|
|
2632
|
+
"toHaveIcon(${value})"
|
|
2633
|
+
));
|
|
2634
|
+
}
|
|
2635
|
+
}
|
|
2636
|
+
const Yt = {
|
|
2637
|
+
name: "switch"
|
|
2638
|
+
};
|
|
2639
|
+
class Cs extends n {
|
|
2640
|
+
constructor() {
|
|
2641
|
+
super(...arguments), this.type = "switch", this.componentInfo = Yt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.check = this.ctx.driver.wrapAction(b.bind(this, () => this.switch())), this.uncheck = this.ctx.driver.wrapAction(b.bind(this, () => this.switch())), this.switch = x.bind(this, ".switch");
|
|
2642
|
+
}
|
|
2643
|
+
}
|
|
2644
|
+
class Ts extends a {
|
|
2645
|
+
constructor() {
|
|
2646
|
+
super(...arguments), this.componentInfo = Yt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
2647
|
+
}
|
|
2648
|
+
wrap(r) {
|
|
2649
|
+
return new Cs(this.ctx, r);
|
|
2650
|
+
}
|
|
2651
|
+
}
|
|
2652
|
+
class Bs {
|
|
2653
|
+
constructor(r, s) {
|
|
2654
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
2655
|
+
{
|
|
2656
|
+
type: "eval",
|
|
2657
|
+
el: this.wrapper.unwrap(),
|
|
2658
|
+
fn: (c, o) => c[o],
|
|
2659
|
+
arg: e
|
|
2660
|
+
},
|
|
2661
|
+
i,
|
|
2662
|
+
`toHaveProp("${e}", ${i})`
|
|
2663
|
+
)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2664
|
+
{
|
|
2665
|
+
type: "eval",
|
|
2666
|
+
el: this.wrapper.unwrap(),
|
|
2667
|
+
fn: w
|
|
2668
|
+
},
|
|
2669
|
+
e,
|
|
2670
|
+
"toHaveValue(${value})"
|
|
2671
|
+
)), this.toBeChecked = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
2672
|
+
{
|
|
2673
|
+
type: "eval",
|
|
2674
|
+
el: this.wrapper.unwrap(),
|
|
2675
|
+
fn: I
|
|
2676
|
+
},
|
|
2677
|
+
!0,
|
|
2678
|
+
"toBeChecked()"
|
|
2679
|
+
)), this.toBeUnchecked = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
2680
|
+
{
|
|
2681
|
+
type: "eval",
|
|
2682
|
+
el: this.wrapper.unwrap(),
|
|
2683
|
+
fn: I
|
|
2684
|
+
},
|
|
2685
|
+
!1,
|
|
2686
|
+
"toBeUnchecked()"
|
|
2687
|
+
));
|
|
2688
|
+
}
|
|
2689
|
+
}
|
|
2690
|
+
const Zt = {
|
|
2691
|
+
name: "tab"
|
|
2692
|
+
};
|
|
2693
|
+
class ks extends n {
|
|
2694
|
+
constructor() {
|
|
2695
|
+
super(...arguments), this.type = "tab", this.componentInfo = Zt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.select = this.ctx.driver.wrapAction(b.bind(this, () => this.base())), this.base = x.bind(this, ".base");
|
|
2696
|
+
}
|
|
2697
|
+
}
|
|
2698
|
+
class Vs extends a {
|
|
2699
|
+
constructor() {
|
|
2700
|
+
super(...arguments), this.componentInfo = Zt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
2701
|
+
}
|
|
2702
|
+
wrap(r) {
|
|
2703
|
+
return new ks(this.ctx, r);
|
|
2704
|
+
}
|
|
2705
|
+
}
|
|
2706
|
+
class Ws {
|
|
2707
|
+
constructor(r, s) {
|
|
2708
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
2709
|
+
{
|
|
2710
|
+
type: "eval",
|
|
2711
|
+
el: this.wrapper.unwrap(),
|
|
2712
|
+
fn: (c, o) => c[o],
|
|
2713
|
+
arg: e
|
|
2714
|
+
},
|
|
2715
|
+
i,
|
|
2716
|
+
`toHaveProp("${e}", ${i})`
|
|
2717
|
+
)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2718
|
+
{
|
|
2719
|
+
type: "eval",
|
|
2720
|
+
el: this.wrapper.unwrap(),
|
|
2721
|
+
fn: u
|
|
2722
|
+
},
|
|
2723
|
+
e,
|
|
2724
|
+
"toHaveIcon(${value})"
|
|
2725
|
+
)), this.toBeActive = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
2726
|
+
{
|
|
2727
|
+
type: "eval",
|
|
2728
|
+
el: this.wrapper.unwrap(),
|
|
2729
|
+
fn: L
|
|
2730
|
+
},
|
|
2731
|
+
!0,
|
|
2732
|
+
"toBeActive()"
|
|
2733
|
+
)), this.toBeInactive = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
2734
|
+
{
|
|
2735
|
+
type: "eval",
|
|
2736
|
+
el: this.wrapper.unwrap(),
|
|
2737
|
+
fn: L
|
|
2738
|
+
},
|
|
2739
|
+
!1,
|
|
2740
|
+
"toBeInactive()"
|
|
2741
|
+
));
|
|
2742
|
+
}
|
|
2743
|
+
}
|
|
2744
|
+
const Nt = {
|
|
2745
|
+
name: "tab-panel"
|
|
2746
|
+
};
|
|
2747
|
+
class Ds extends n {
|
|
2748
|
+
constructor() {
|
|
2749
|
+
super(...arguments), this.type = "tabPanel", this.componentInfo = Nt, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
2750
|
+
}
|
|
2751
|
+
}
|
|
2752
|
+
class Gs extends a {
|
|
2753
|
+
constructor() {
|
|
2754
|
+
super(...arguments), this.componentInfo = Nt, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
2755
|
+
}
|
|
2756
|
+
wrap(r) {
|
|
2757
|
+
return new Ds(this.ctx, r);
|
|
2758
|
+
}
|
|
2759
|
+
}
|
|
2760
|
+
class Rs {
|
|
2761
|
+
constructor(r, s) {
|
|
2762
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = (e, i) => {
|
|
2763
|
+
throw new Error("Component does not have props.");
|
|
2764
|
+
};
|
|
2765
|
+
}
|
|
2766
|
+
}
|
|
2767
|
+
const te = {
|
|
2768
|
+
name: "tabs"
|
|
2769
|
+
};
|
|
2770
|
+
class Ls extends n {
|
|
2771
|
+
constructor() {
|
|
2772
|
+
super(...arguments), this.type = "tabs", this.componentInfo = te, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
2773
|
+
}
|
|
2774
|
+
}
|
|
2775
|
+
class Os extends a {
|
|
2776
|
+
constructor() {
|
|
2777
|
+
super(...arguments), this.componentInfo = te, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
2778
|
+
}
|
|
2779
|
+
wrap(r) {
|
|
2780
|
+
return new Ls(this.ctx, r);
|
|
2781
|
+
}
|
|
2782
|
+
}
|
|
2783
|
+
class Fs {
|
|
2784
|
+
constructor(r, s) {
|
|
2785
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
2786
|
+
{
|
|
2787
|
+
type: "eval",
|
|
2788
|
+
el: this.wrapper.unwrap(),
|
|
2789
|
+
fn: (c, o) => c[o],
|
|
2790
|
+
arg: e
|
|
2791
|
+
},
|
|
2792
|
+
i,
|
|
2793
|
+
`toHaveProp("${e}", ${i})`
|
|
2794
|
+
));
|
|
2795
|
+
}
|
|
2796
|
+
}
|
|
2797
|
+
const ee = {
|
|
2798
|
+
name: "tag"
|
|
2799
|
+
};
|
|
2800
|
+
class Us extends n {
|
|
2801
|
+
constructor() {
|
|
2802
|
+
super(...arguments), this.type = "tag", this.componentInfo = ee, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.click = this.ctx.driver.wrapAction(b.bind(this, () => this.base())), this.remove = this.ctx.driver.wrapAction(b.bind(this, () => this.dismissButton())), this.select = this.ctx.driver.wrapAction(M.bind(this, !0)), this.unselect = this.ctx.driver.wrapAction(M.bind(this, !1)), this.base = x.bind(this, ".base"), this.dismissButton = x.bind(this, ".dismiss-button");
|
|
2803
|
+
}
|
|
2804
|
+
}
|
|
2805
|
+
class Ms extends a {
|
|
2806
|
+
constructor() {
|
|
2807
|
+
super(...arguments), this.componentInfo = ee, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
2808
|
+
}
|
|
2809
|
+
wrap(r) {
|
|
2810
|
+
return new Us(this.ctx, r);
|
|
2811
|
+
}
|
|
2812
|
+
}
|
|
2813
|
+
class js {
|
|
2814
|
+
constructor(r, s) {
|
|
2815
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
2816
|
+
{
|
|
2817
|
+
type: "eval",
|
|
2818
|
+
el: this.wrapper.unwrap(),
|
|
2819
|
+
fn: (c, o) => c[o],
|
|
2820
|
+
arg: e
|
|
2821
|
+
},
|
|
2822
|
+
i,
|
|
2823
|
+
`toHaveProp("${e}", ${i})`
|
|
2824
|
+
)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2825
|
+
{
|
|
2826
|
+
type: "eval",
|
|
2827
|
+
el: this.wrapper.unwrap(),
|
|
2828
|
+
fn: u
|
|
2829
|
+
},
|
|
2830
|
+
e,
|
|
2831
|
+
"toHaveIcon(${value})"
|
|
2832
|
+
)), this.toBeSelected = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
2833
|
+
{
|
|
2834
|
+
type: "eval",
|
|
2835
|
+
el: this.wrapper.unwrap(),
|
|
2836
|
+
fn: O
|
|
2837
|
+
},
|
|
2838
|
+
!0,
|
|
2839
|
+
"toBeSelected()"
|
|
2840
|
+
)), this.toBeUnselected = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
2841
|
+
{
|
|
2842
|
+
type: "eval",
|
|
2843
|
+
el: this.wrapper.unwrap(),
|
|
2844
|
+
fn: O
|
|
2845
|
+
},
|
|
2846
|
+
!1,
|
|
2847
|
+
"toBeUnselected()"
|
|
2848
|
+
)), this.toBeDisabled = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
2849
|
+
{
|
|
2850
|
+
type: "eval",
|
|
2851
|
+
el: this.wrapper.unwrap(),
|
|
2852
|
+
fn: q
|
|
2853
|
+
},
|
|
2854
|
+
!0,
|
|
2855
|
+
"toBeDisabled()"
|
|
2856
|
+
)), this.notToBeDisabled = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
2857
|
+
{
|
|
2858
|
+
type: "eval",
|
|
2859
|
+
el: this.wrapper.unwrap(),
|
|
2860
|
+
fn: q
|
|
2861
|
+
},
|
|
2862
|
+
!1,
|
|
2863
|
+
"notToBeDisabled()"
|
|
2864
|
+
));
|
|
2865
|
+
}
|
|
2866
|
+
}
|
|
2867
|
+
const re = {
|
|
2868
|
+
name: "tag-group"
|
|
2869
|
+
};
|
|
2870
|
+
class _s extends n {
|
|
2871
|
+
constructor() {
|
|
2872
|
+
super(...arguments), this.type = "tagGroup", this.componentInfo = re, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
2873
|
+
}
|
|
2874
|
+
}
|
|
2875
|
+
class zs extends a {
|
|
2876
|
+
constructor() {
|
|
2877
|
+
super(...arguments), this.componentInfo = re, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
2878
|
+
}
|
|
2879
|
+
wrap(r) {
|
|
2880
|
+
return new _s(this.ctx, r);
|
|
2881
|
+
}
|
|
2882
|
+
}
|
|
2883
|
+
class Js {
|
|
2884
|
+
constructor(r, s) {
|
|
2885
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = (e, i) => {
|
|
2886
|
+
throw new Error("Component does not have props.");
|
|
2887
|
+
};
|
|
2888
|
+
}
|
|
2889
|
+
}
|
|
2890
|
+
const ie = {
|
|
2891
|
+
name: "text-area"
|
|
2892
|
+
};
|
|
2893
|
+
class Ks extends n {
|
|
2894
|
+
constructor() {
|
|
2895
|
+
super(...arguments), this.type = "textArea", this.componentInfo = ie, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.fill = this.ctx.driver.wrapAction(V.bind(this, () => this.control())), this.clear = this.ctx.driver.wrapAction(W.bind(this, () => this.control())), this.control = x.bind(this, ".control");
|
|
2896
|
+
}
|
|
2897
|
+
}
|
|
2898
|
+
class Qs extends a {
|
|
2899
|
+
constructor() {
|
|
2900
|
+
super(...arguments), this.componentInfo = ie, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
2901
|
+
}
|
|
2902
|
+
wrap(r) {
|
|
2903
|
+
return new Ks(this.ctx, r);
|
|
2904
|
+
}
|
|
2905
|
+
}
|
|
2906
|
+
class Xs {
|
|
2907
|
+
constructor(r, s) {
|
|
2908
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
2909
|
+
{
|
|
2910
|
+
type: "eval",
|
|
2911
|
+
el: this.wrapper.unwrap(),
|
|
2912
|
+
fn: (c, o) => c[o],
|
|
2913
|
+
arg: e
|
|
2914
|
+
},
|
|
2915
|
+
i,
|
|
2916
|
+
`toHaveProp("${e}", ${i})`
|
|
2917
|
+
)), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2918
|
+
{
|
|
2919
|
+
type: "eval",
|
|
2920
|
+
el: this.wrapper.unwrap(),
|
|
2921
|
+
fn: f
|
|
2922
|
+
},
|
|
2923
|
+
e,
|
|
2924
|
+
"toHaveVisibleError(${value})"
|
|
2925
|
+
)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2926
|
+
{
|
|
2927
|
+
type: "eval",
|
|
2928
|
+
el: this.wrapper.unwrap(),
|
|
2929
|
+
fn: w
|
|
2930
|
+
},
|
|
2931
|
+
e,
|
|
2932
|
+
"toHaveValue(${value})"
|
|
2933
|
+
));
|
|
2934
|
+
}
|
|
2935
|
+
}
|
|
2936
|
+
const se = {
|
|
2937
|
+
name: "text-field"
|
|
2938
|
+
};
|
|
2939
|
+
class ce extends n {
|
|
2940
|
+
constructor() {
|
|
2941
|
+
super(...arguments), this.type = "textField", this.componentInfo = se, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.fill = this.ctx.driver.wrapAction(V.bind(this, () => this.control())), this.clear = this.ctx.driver.wrapAction(W.bind(this, () => this.control())), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.control())), this.control = Be.bind(this, 'input[slot="_control"]');
|
|
2942
|
+
}
|
|
2943
|
+
}
|
|
2944
|
+
class Ys extends a {
|
|
2945
|
+
constructor() {
|
|
2946
|
+
super(...arguments), this.componentInfo = se, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
2947
|
+
}
|
|
2948
|
+
wrap(r) {
|
|
2949
|
+
return new ce(this.ctx, r);
|
|
2950
|
+
}
|
|
2951
|
+
}
|
|
2952
|
+
class Zs {
|
|
2953
|
+
constructor(r, s) {
|
|
2954
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
2955
|
+
{
|
|
2956
|
+
type: "eval",
|
|
2957
|
+
el: this.wrapper.unwrap(),
|
|
2958
|
+
fn: (c, o) => c[o],
|
|
2959
|
+
arg: e
|
|
2960
|
+
},
|
|
2961
|
+
i,
|
|
2962
|
+
`toHaveProp("${e}", ${i})`
|
|
2963
|
+
)), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2964
|
+
{
|
|
2965
|
+
type: "eval",
|
|
2966
|
+
el: this.wrapper.unwrap(),
|
|
2967
|
+
fn: f
|
|
2968
|
+
},
|
|
2969
|
+
e,
|
|
2970
|
+
"toHaveVisibleError(${value})"
|
|
2971
|
+
)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2972
|
+
{
|
|
2973
|
+
type: "eval",
|
|
2974
|
+
el: this.wrapper.unwrap(),
|
|
2975
|
+
fn: u
|
|
2976
|
+
},
|
|
2977
|
+
e,
|
|
2978
|
+
"toHaveIcon(${value})"
|
|
2979
|
+
)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
2980
|
+
{
|
|
2981
|
+
type: "eval",
|
|
2982
|
+
el: this.wrapper.unwrap(),
|
|
2983
|
+
fn: w
|
|
2984
|
+
},
|
|
2985
|
+
e,
|
|
2986
|
+
"toHaveValue(${value})"
|
|
2987
|
+
));
|
|
2988
|
+
}
|
|
2989
|
+
}
|
|
2990
|
+
const oe = {
|
|
2991
|
+
name: "time-picker"
|
|
2992
|
+
};
|
|
2993
|
+
class Ns extends n {
|
|
2994
|
+
constructor() {
|
|
2995
|
+
super(...arguments), this.type = "timePicker", this.componentInfo = oe, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator)), this.clear = this.ctx.driver.wrapAction(P.bind(this)), this.selectTime = this.ctx.driver.wrapAction($e.bind(this)), this.control = S.bind(this, "[data-vvd-component=text-field].control"), this.pickerButton = y.bind(this, "#picker-button"), this.clearButton = y.bind(this, "#clear-button");
|
|
2996
|
+
}
|
|
2997
|
+
}
|
|
2998
|
+
class tc extends a {
|
|
2999
|
+
constructor() {
|
|
3000
|
+
super(...arguments), this.componentInfo = oe, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byLabel = this.ctx.driver.wrapSelector(v.bind(this));
|
|
3001
|
+
}
|
|
3002
|
+
wrap(r) {
|
|
3003
|
+
return new Ns(this.ctx, r);
|
|
3004
|
+
}
|
|
3005
|
+
}
|
|
3006
|
+
class ec {
|
|
3007
|
+
constructor(r, s) {
|
|
3008
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
3009
|
+
{
|
|
3010
|
+
type: "eval",
|
|
3011
|
+
el: this.wrapper.unwrap(),
|
|
3012
|
+
fn: (c, o) => c[o],
|
|
3013
|
+
arg: e
|
|
3014
|
+
},
|
|
3015
|
+
i,
|
|
3016
|
+
`toHaveProp("${e}", ${i})`
|
|
3017
|
+
)), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
3018
|
+
{
|
|
3019
|
+
type: "eval",
|
|
3020
|
+
el: this.wrapper.unwrap(),
|
|
3021
|
+
fn: f
|
|
3022
|
+
},
|
|
3023
|
+
e,
|
|
3024
|
+
"toHaveVisibleError(${value})"
|
|
3025
|
+
)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
3026
|
+
{
|
|
3027
|
+
type: "eval",
|
|
3028
|
+
el: this.wrapper.unwrap(),
|
|
3029
|
+
fn: w
|
|
3030
|
+
},
|
|
3031
|
+
e,
|
|
3032
|
+
"toHaveValue(${value})"
|
|
3033
|
+
));
|
|
3034
|
+
}
|
|
3035
|
+
}
|
|
3036
|
+
const ne = {
|
|
3037
|
+
name: "toggletip"
|
|
3038
|
+
};
|
|
3039
|
+
class rc extends n {
|
|
3040
|
+
constructor() {
|
|
3041
|
+
super(...arguments), this.type = "toggletip", this.componentInfo = ne, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
3042
|
+
}
|
|
3043
|
+
}
|
|
3044
|
+
class ic extends a {
|
|
3045
|
+
constructor() {
|
|
3046
|
+
super(...arguments), this.componentInfo = ne, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byHeadline = this.ctx.driver.wrapSelector(B.bind(this));
|
|
3047
|
+
}
|
|
3048
|
+
wrap(r) {
|
|
3049
|
+
return new rc(this.ctx, r);
|
|
3050
|
+
}
|
|
3051
|
+
}
|
|
3052
|
+
class sc {
|
|
3053
|
+
constructor(r, s) {
|
|
3054
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
3055
|
+
{
|
|
3056
|
+
type: "eval",
|
|
3057
|
+
el: this.wrapper.unwrap(),
|
|
3058
|
+
fn: (c, o) => c[o],
|
|
3059
|
+
arg: e
|
|
3060
|
+
},
|
|
3061
|
+
i,
|
|
3062
|
+
`toHaveProp("${e}", ${i})`
|
|
3063
|
+
)), this.toBeOpen = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
3064
|
+
{
|
|
3065
|
+
type: "eval",
|
|
3066
|
+
el: this.wrapper.unwrap(),
|
|
3067
|
+
fn: E
|
|
3068
|
+
},
|
|
3069
|
+
!0,
|
|
3070
|
+
"toBeOpen()"
|
|
3071
|
+
)), this.toBeClosed = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
3072
|
+
{
|
|
3073
|
+
type: "eval",
|
|
3074
|
+
el: this.wrapper.unwrap(),
|
|
3075
|
+
fn: E
|
|
3076
|
+
},
|
|
3077
|
+
!1,
|
|
3078
|
+
"toBeClosed()"
|
|
3079
|
+
));
|
|
3080
|
+
}
|
|
3081
|
+
}
|
|
3082
|
+
const ae = {
|
|
3083
|
+
name: "tooltip"
|
|
3084
|
+
};
|
|
3085
|
+
class cc extends n {
|
|
3086
|
+
constructor() {
|
|
3087
|
+
super(...arguments), this.type = "tooltip", this.componentInfo = ae, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
3088
|
+
}
|
|
3089
|
+
}
|
|
3090
|
+
class oc extends a {
|
|
3091
|
+
constructor() {
|
|
3092
|
+
super(...arguments), this.componentInfo = ae, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this)), this.byText = this.ctx.driver.wrapSelector(k.bind(this));
|
|
3093
|
+
}
|
|
3094
|
+
wrap(r) {
|
|
3095
|
+
return new cc(this.ctx, r);
|
|
3096
|
+
}
|
|
3097
|
+
}
|
|
3098
|
+
class nc {
|
|
3099
|
+
constructor(r, s) {
|
|
3100
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
3101
|
+
{
|
|
3102
|
+
type: "eval",
|
|
3103
|
+
el: this.wrapper.unwrap(),
|
|
3104
|
+
fn: (c, o) => c[o],
|
|
3105
|
+
arg: e
|
|
3106
|
+
},
|
|
3107
|
+
i,
|
|
3108
|
+
`toHaveProp("${e}", ${i})`
|
|
3109
|
+
)), this.toBeOpen = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
3110
|
+
{
|
|
3111
|
+
type: "eval",
|
|
3112
|
+
el: this.wrapper.unwrap(),
|
|
3113
|
+
fn: E
|
|
3114
|
+
},
|
|
3115
|
+
!0,
|
|
3116
|
+
"toBeOpen()"
|
|
3117
|
+
)), this.toBeClosed = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq(
|
|
3118
|
+
{
|
|
3119
|
+
type: "eval",
|
|
3120
|
+
el: this.wrapper.unwrap(),
|
|
3121
|
+
fn: E
|
|
3122
|
+
},
|
|
3123
|
+
!1,
|
|
3124
|
+
"toBeClosed()"
|
|
3125
|
+
));
|
|
3126
|
+
}
|
|
3127
|
+
}
|
|
3128
|
+
const he = {
|
|
3129
|
+
name: "tree-item"
|
|
3130
|
+
};
|
|
3131
|
+
class ac extends n {
|
|
3132
|
+
constructor() {
|
|
3133
|
+
super(...arguments), this.type = "treeItem", this.componentInfo = he, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
3134
|
+
}
|
|
3135
|
+
}
|
|
3136
|
+
class hc extends a {
|
|
3137
|
+
constructor() {
|
|
3138
|
+
super(...arguments), this.componentInfo = he, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
3139
|
+
}
|
|
3140
|
+
wrap(r) {
|
|
3141
|
+
return new ac(this.ctx, r);
|
|
3142
|
+
}
|
|
3143
|
+
}
|
|
3144
|
+
class pc {
|
|
3145
|
+
constructor(r, s) {
|
|
3146
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
3147
|
+
{
|
|
3148
|
+
type: "eval",
|
|
3149
|
+
el: this.wrapper.unwrap(),
|
|
3150
|
+
fn: (c, o) => c[o],
|
|
3151
|
+
arg: e
|
|
3152
|
+
},
|
|
3153
|
+
i,
|
|
3154
|
+
`toHaveProp("${e}", ${i})`
|
|
3155
|
+
)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq(
|
|
3156
|
+
{
|
|
3157
|
+
type: "eval",
|
|
3158
|
+
el: this.wrapper.unwrap(),
|
|
3159
|
+
fn: u
|
|
3160
|
+
},
|
|
3161
|
+
e,
|
|
3162
|
+
"toHaveIcon(${value})"
|
|
3163
|
+
));
|
|
3164
|
+
}
|
|
3165
|
+
}
|
|
3166
|
+
const pe = {
|
|
3167
|
+
name: "tree-view"
|
|
3168
|
+
};
|
|
3169
|
+
class dc extends n {
|
|
3170
|
+
constructor() {
|
|
3171
|
+
super(...arguments), this.type = "treeView", this.componentInfo = pe, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
3172
|
+
}
|
|
3173
|
+
}
|
|
3174
|
+
class lc extends a {
|
|
3175
|
+
constructor() {
|
|
3176
|
+
super(...arguments), this.componentInfo = pe, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
3177
|
+
}
|
|
3178
|
+
wrap(r) {
|
|
3179
|
+
return new dc(this.ctx, r);
|
|
3180
|
+
}
|
|
3181
|
+
}
|
|
3182
|
+
class xc {
|
|
3183
|
+
constructor(r, s) {
|
|
3184
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
3185
|
+
{
|
|
3186
|
+
type: "eval",
|
|
3187
|
+
el: this.wrapper.unwrap(),
|
|
3188
|
+
fn: (c, o) => c[o],
|
|
3189
|
+
arg: e
|
|
3190
|
+
},
|
|
3191
|
+
i,
|
|
3192
|
+
`toHaveProp("${e}", ${i})`
|
|
3193
|
+
));
|
|
3194
|
+
}
|
|
3195
|
+
}
|
|
3196
|
+
const de = {
|
|
3197
|
+
name: "video-player"
|
|
3198
|
+
};
|
|
3199
|
+
class vc extends n {
|
|
3200
|
+
constructor() {
|
|
3201
|
+
super(...arguments), this.type = "videoPlayer", this.componentInfo = de, this.hover = this.ctx.driver.wrapAction(l.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(p.bind(this, () => this.locator)), this.blur = this.ctx.driver.wrapAction(d.bind(this, () => this.locator));
|
|
3202
|
+
}
|
|
3203
|
+
}
|
|
3204
|
+
class uc extends a {
|
|
3205
|
+
constructor() {
|
|
3206
|
+
super(...arguments), this.componentInfo = de, this.byTestId = this.ctx.driver.wrapSelector(h.bind(this));
|
|
3207
|
+
}
|
|
3208
|
+
wrap(r) {
|
|
3209
|
+
return new vc(this.ctx, r);
|
|
3210
|
+
}
|
|
3211
|
+
}
|
|
3212
|
+
class wc {
|
|
3213
|
+
constructor(r, s) {
|
|
3214
|
+
this.ctx = r, this.wrapper = s, this.toHaveProp = this.ctx.driver.wrapExpect((e, i) => this.ctx.driver.expectEq(
|
|
3215
|
+
{
|
|
3216
|
+
type: "eval",
|
|
3217
|
+
el: this.wrapper.unwrap(),
|
|
3218
|
+
fn: (c, o) => c[o],
|
|
3219
|
+
arg: e
|
|
3220
|
+
},
|
|
3221
|
+
i,
|
|
3222
|
+
`toHaveProp("${e}", ${i})`
|
|
3223
|
+
));
|
|
3224
|
+
}
|
|
3225
|
+
}
|
|
3226
|
+
const j = {
|
|
3227
|
+
collection: xe,
|
|
3228
|
+
accordion: De,
|
|
3229
|
+
accordionItem: Le,
|
|
3230
|
+
actionGroup: Ue,
|
|
3231
|
+
alert: _e,
|
|
3232
|
+
audioPlayer: Ke,
|
|
3233
|
+
avatar: Ye,
|
|
3234
|
+
badge: tr,
|
|
3235
|
+
banner: ir,
|
|
3236
|
+
breadcrumb: or,
|
|
3237
|
+
breadcrumbItem: hr,
|
|
3238
|
+
button: dr,
|
|
3239
|
+
calendar: vr,
|
|
3240
|
+
calendarEvent: br,
|
|
3241
|
+
card: Er,
|
|
3242
|
+
checkbox: gr,
|
|
3243
|
+
combobox: $r,
|
|
3244
|
+
dataGrid: qr,
|
|
3245
|
+
dataGridCell: Br,
|
|
3246
|
+
dataGridRow: Wr,
|
|
3247
|
+
datePicker: Rr,
|
|
3248
|
+
dateRangePicker: Fr,
|
|
3249
|
+
dateTimePicker: jr,
|
|
3250
|
+
dialPad: Jr,
|
|
3251
|
+
dialog: Xr,
|
|
3252
|
+
divider: Nr,
|
|
3253
|
+
emptyState: ri,
|
|
3254
|
+
fab: ci,
|
|
3255
|
+
filePicker: ai,
|
|
3256
|
+
header: di,
|
|
3257
|
+
icon: vi,
|
|
3258
|
+
layout: bi,
|
|
3259
|
+
menu: Ei,
|
|
3260
|
+
menuItem: gi,
|
|
3261
|
+
nav: $i,
|
|
3262
|
+
navDisclosure: qi,
|
|
3263
|
+
navItem: Bi,
|
|
3264
|
+
note: Wi,
|
|
3265
|
+
numberField: Ri,
|
|
3266
|
+
option: Fi,
|
|
3267
|
+
pagination: ji,
|
|
3268
|
+
progress: Ji,
|
|
3269
|
+
progressRing: Xi,
|
|
3270
|
+
radio: Ni,
|
|
3271
|
+
radioGroup: rs,
|
|
3272
|
+
rangeSlider: cs,
|
|
3273
|
+
richTextEditor: as,
|
|
3274
|
+
searchableSelect: ds,
|
|
3275
|
+
select: vs,
|
|
3276
|
+
selectableBox: bs,
|
|
3277
|
+
sideDrawer: Es,
|
|
3278
|
+
simpleColorPicker: gs,
|
|
3279
|
+
slider: $s,
|
|
3280
|
+
splitButton: qs,
|
|
3281
|
+
switch: Bs,
|
|
3282
|
+
tab: Ws,
|
|
3283
|
+
tabPanel: Rs,
|
|
3284
|
+
tabs: Fs,
|
|
3285
|
+
tag: js,
|
|
3286
|
+
tagGroup: Js,
|
|
3287
|
+
textArea: Xs,
|
|
3288
|
+
textField: Zs,
|
|
3289
|
+
timePicker: ec,
|
|
3290
|
+
toggletip: sc,
|
|
3291
|
+
tooltip: nc,
|
|
3292
|
+
treeItem: pc,
|
|
3293
|
+
treeView: xc,
|
|
3294
|
+
videoPlayer: wc
|
|
3295
|
+
};
|
|
3296
|
+
class bc {
|
|
3297
|
+
constructor(r) {
|
|
3298
|
+
this.ctx = r, this.accordion = new We(this.ctx), this.accordionItem = new Re(this.ctx), this.actionGroup = new Fe(this.ctx), this.alert = new je(this.ctx), this.audioPlayer = new Je(this.ctx), this.avatar = new Xe(this.ctx), this.badge = new Ne(this.ctx), this.banner = new rr(this.ctx), this.breadcrumb = new cr(this.ctx), this.breadcrumbItem = new ar(this.ctx), this.button = new pr(this.ctx), this.calendar = new xr(this.ctx), this.calendarEvent = new wr(this.ctx), this.card = new fr(this.ctx), this.checkbox = new Ir(this.ctx), this.combobox = new Hr(this.ctx), this.dataGrid = new Sr(this.ctx), this.dataGridCell = new Tr(this.ctx), this.dataGridRow = new Vr(this.ctx), this.datePicker = new Gr(this.ctx), this.dateRangePicker = new Or(this.ctx), this.dateTimePicker = new Mr(this.ctx), this.dialPad = new zr(this.ctx), this.dialog = new Qr(this.ctx), this.divider = new Zr(this.ctx), this.emptyState = new ei(this.ctx), this.fab = new si(this.ctx), this.filePicker = new ni(this.ctx), this.header = new pi(this.ctx), this.icon = new xi(this.ctx), this.layout = new wi(this.ctx), this.menu = new fi(this.ctx), this.menuItem = new Ii(this.ctx), this.nav = new Hi(this.ctx), this.navDisclosure = new Si(this.ctx), this.navItem = new Ti(this.ctx), this.note = new Vi(this.ctx), this.numberField = new Gi(this.ctx), this.option = new Oi(this.ctx), this.pagination = new Mi(this.ctx), this.progress = new zi(this.ctx), this.progressRing = new Qi(this.ctx), this.radio = new Zi(this.ctx), this.radioGroup = new es(this.ctx), this.rangeSlider = new ss(this.ctx), this.richTextEditor = new ns(this.ctx), this.searchableSelect = new ps(this.ctx), this.select = new xs(this.ctx), this.selectableBox = new ws(this.ctx), this.sideDrawer = new fs(this.ctx), this.simpleColorPicker = new Is(this.ctx), this.slider = new Hs(this.ctx), this.splitButton = new Ss(this.ctx), this.switch = new Ts(this.ctx), this.tab = new Vs(this.ctx), this.tabPanel = new Gs(this.ctx), this.tabs = new Os(this.ctx), this.tag = new Ms(this.ctx), this.tagGroup = new zs(this.ctx), this.textArea = new Qs(this.ctx), this.textField = new Ys(this.ctx), this.timePicker = new tc(this.ctx), this.toggletip = new ic(this.ctx), this.tooltip = new oc(this.ctx), this.treeItem = new hc(this.ctx), this.treeView = new lc(this.ctx), this.videoPlayer = new uc(this.ctx);
|
|
3299
|
+
}
|
|
3300
|
+
expect(r) {
|
|
3301
|
+
if (r.type in j)
|
|
3302
|
+
return new j[r.type](
|
|
3303
|
+
this.ctx,
|
|
3304
|
+
r
|
|
3305
|
+
);
|
|
3306
|
+
throw new Error(`Unknown component type: ${r.type}`);
|
|
3307
|
+
}
|
|
3308
|
+
}
|
|
3309
|
+
export {
|
|
3310
|
+
bc as V
|
|
3311
|
+
};
|