@vonage/vivid-test-utils 5.15.1 → 5.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components.generated-Bgf7lMJM.js +2336 -0
- package/dist/components.generated-DNNSCeHI.cjs +1 -0
- package/dist/components.generated.d.ts +1 -2
- package/dist/cypress.cjs +1 -3
- package/dist/cypress.js +118 -133
- package/dist/dom.cjs +1 -3
- package/dist/dom.js +110 -120
- package/dist/jsdom-polyfill.cjs +1 -1
- package/dist/jsdom-polyfill.js +18 -34
- package/dist/playwright.cjs +1 -3
- package/dist/playwright.js +72 -87
- package/package.json +9 -8
- package/dist/components.generated-CGHMGSPz.js +0 -3671
- package/dist/components.generated-DfmxVXP1.cjs +0 -1
|
@@ -0,0 +1,2336 @@
|
|
|
1
|
+
//#region src/base.ts
|
|
2
|
+
var e = class {
|
|
3
|
+
constructor(e, t) {
|
|
4
|
+
this.ctx = e, this.locator = t;
|
|
5
|
+
}
|
|
6
|
+
unwrap() {
|
|
7
|
+
return this.locator;
|
|
8
|
+
}
|
|
9
|
+
assert(e, t, n, r) {
|
|
10
|
+
return this.ctx.driver.expectEq({
|
|
11
|
+
type: "eval",
|
|
12
|
+
el: this.locator,
|
|
13
|
+
fn: t,
|
|
14
|
+
arg: r
|
|
15
|
+
}, n, `Failed to assert condition: "${e}"`);
|
|
16
|
+
}
|
|
17
|
+
}, t = class {
|
|
18
|
+
constructor(e) {
|
|
19
|
+
this.ctx = e, this.all = this.ctx.driver.wrapSelector(() => new n(this.ctx, this, this.ctx.driver.querySelectorAll(this.ctx.rootLocator, `[data-vvd-component="${this.componentInfo.name}"]`)));
|
|
20
|
+
}
|
|
21
|
+
}, n = class {
|
|
22
|
+
constructor(e, t, n) {
|
|
23
|
+
this.ctx = e, this.component = t, this.locator = n, this.type = "collection", this.nth = this.ctx.driver.wrapSelector((e) => this.component.wrap(this.ctx.driver.nth(this.locator, e)));
|
|
24
|
+
}
|
|
25
|
+
}, r = class {
|
|
26
|
+
constructor(e, t) {
|
|
27
|
+
this.ctx = e, this.locator = t, this.toHaveCount = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
28
|
+
el: this.locator.locator,
|
|
29
|
+
type: "count"
|
|
30
|
+
}, e, `toHaveCount(${e})`));
|
|
31
|
+
}
|
|
32
|
+
}, ee = (e) => e.replace(/\\/g, "\\\\").replace(/"/g, "\\\"").replace(/'/g, "\\'"), i = (e, t) => t.map(([t, n]) => `[data-vvd-component="${e}"][${t}="${ee(n)}"]`).join(",");
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/selectors.ts
|
|
35
|
+
function a(e) {
|
|
36
|
+
return this.wrap(this.ctx.driver.querySelector(this.ctx.rootLocator, i(this.componentInfo.name, [
|
|
37
|
+
["data-testid", e],
|
|
38
|
+
["data-test-id", e],
|
|
39
|
+
["data-cy", e]
|
|
40
|
+
])));
|
|
41
|
+
}
|
|
42
|
+
function o(e) {
|
|
43
|
+
return this.wrap(this.ctx.driver.querySelector(this.ctx.rootLocator, i(this.componentInfo.name, [
|
|
44
|
+
["label", e],
|
|
45
|
+
["aria-label", e],
|
|
46
|
+
["data-vvd-aria-label", e]
|
|
47
|
+
])));
|
|
48
|
+
}
|
|
49
|
+
function te(e) {
|
|
50
|
+
return this.wrap(this.ctx.driver.querySelector(this.ctx.rootLocator, i(this.componentInfo.name, [["heading", e]])));
|
|
51
|
+
}
|
|
52
|
+
function s(e) {
|
|
53
|
+
return this.wrap(this.ctx.driver.querySelector(this.ctx.rootLocator, i(this.componentInfo.name, [["headline", e]])));
|
|
54
|
+
}
|
|
55
|
+
function c(e) {
|
|
56
|
+
return this.wrap(this.ctx.driver.querySelector(this.ctx.rootLocator, i(this.componentInfo.name, [["text", e]])));
|
|
57
|
+
}
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region src/utils/runSequence.ts
|
|
60
|
+
var l = (e) => {
|
|
61
|
+
if (!e.length) return;
|
|
62
|
+
let t = e[0], n = e.slice(1), r = t();
|
|
63
|
+
return r instanceof Promise ? r.then(() => l(n)) : l(n);
|
|
64
|
+
};
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region src/queries.ts
|
|
67
|
+
function u(e) {
|
|
68
|
+
return e.checked;
|
|
69
|
+
}
|
|
70
|
+
function d(e) {
|
|
71
|
+
return e.indeterminate ? "indeterminate" : e.checked ? "checked" : "unchecked";
|
|
72
|
+
}
|
|
73
|
+
function f(e) {
|
|
74
|
+
return e.errorValidationMessage;
|
|
75
|
+
}
|
|
76
|
+
function p(e) {
|
|
77
|
+
return e.headline;
|
|
78
|
+
}
|
|
79
|
+
function m(e) {
|
|
80
|
+
return e.open;
|
|
81
|
+
}
|
|
82
|
+
function h(e) {
|
|
83
|
+
return e.value;
|
|
84
|
+
}
|
|
85
|
+
function g(e) {
|
|
86
|
+
return e.valueAsNumber;
|
|
87
|
+
}
|
|
88
|
+
function ne(e) {
|
|
89
|
+
return e.values;
|
|
90
|
+
}
|
|
91
|
+
function re(e) {
|
|
92
|
+
return e.selectedOptions.map((e) => e.label);
|
|
93
|
+
}
|
|
94
|
+
function _(e) {
|
|
95
|
+
return e.expanded;
|
|
96
|
+
}
|
|
97
|
+
function v(e) {
|
|
98
|
+
return e.active;
|
|
99
|
+
}
|
|
100
|
+
function y(e) {
|
|
101
|
+
return e.current;
|
|
102
|
+
}
|
|
103
|
+
function b(e) {
|
|
104
|
+
return e.selected;
|
|
105
|
+
}
|
|
106
|
+
function x(e) {
|
|
107
|
+
return e.disabled;
|
|
108
|
+
}
|
|
109
|
+
function ie(e) {
|
|
110
|
+
return [e.start, e.end];
|
|
111
|
+
}
|
|
112
|
+
function ae(e) {
|
|
113
|
+
return [e.startAsNumber, e.endAsNumber];
|
|
114
|
+
}
|
|
115
|
+
function oe(e) {
|
|
116
|
+
return e.name;
|
|
117
|
+
}
|
|
118
|
+
function se(e) {
|
|
119
|
+
return e.total;
|
|
120
|
+
}
|
|
121
|
+
function ce(e) {
|
|
122
|
+
return e.selectedIndex + 1 || null;
|
|
123
|
+
}
|
|
124
|
+
function S(e) {
|
|
125
|
+
let t = e.shadowRoot.querySelector("slot[name=icon]");
|
|
126
|
+
if (t) {
|
|
127
|
+
let e = t.assignedElements()[0];
|
|
128
|
+
if (e?.dataset.vvdComponent === "icon") return e.name;
|
|
129
|
+
}
|
|
130
|
+
let n = e.shadowRoot.querySelector("slot[name=\"icon\"] [data-vvd-component=\"icon\"], span.icon [data-vvd-component=\"icon\"]");
|
|
131
|
+
return n ? n.name : null;
|
|
132
|
+
}
|
|
133
|
+
//#endregion
|
|
134
|
+
//#region src/actions.ts
|
|
135
|
+
function C(e) {
|
|
136
|
+
return this.ctx.driver.userClick(e());
|
|
137
|
+
}
|
|
138
|
+
function w(e, t) {
|
|
139
|
+
return this.ctx.driver.userFill(e(), t);
|
|
140
|
+
}
|
|
141
|
+
function le(e) {
|
|
142
|
+
return l([() => this.ctx.driver.userFill(this.control(), e), () => this.ctx.driver.userBlur(this.control())]);
|
|
143
|
+
}
|
|
144
|
+
function T(e) {
|
|
145
|
+
return this.ctx.driver.userClear(e());
|
|
146
|
+
}
|
|
147
|
+
function ue() {
|
|
148
|
+
return l([
|
|
149
|
+
() => this.ctx.driver.eval(this.locator, () => new Promise((e) => setTimeout(e, 200))),
|
|
150
|
+
() => this.ctx.driver.userClear(this.control()),
|
|
151
|
+
() => this.ctx.driver.userBlur(this.control())
|
|
152
|
+
]);
|
|
153
|
+
}
|
|
154
|
+
function E(e) {
|
|
155
|
+
return l([
|
|
156
|
+
() => this.assert("Component is unchecked before it can be checked", d, "unchecked"),
|
|
157
|
+
() => this.ctx.driver.userClick(e()),
|
|
158
|
+
() => this.assert("Component is checked after checking it", d, "checked")
|
|
159
|
+
]);
|
|
160
|
+
}
|
|
161
|
+
function D(e) {
|
|
162
|
+
return l([
|
|
163
|
+
() => this.assert("Component is checked before it can be unchecked", d, "checked"),
|
|
164
|
+
() => this.ctx.driver.userClick(e()),
|
|
165
|
+
() => this.assert("Component is unchecked after unchecking it", d, "unchecked")
|
|
166
|
+
]);
|
|
167
|
+
}
|
|
168
|
+
function O(e) {
|
|
169
|
+
return this.ctx.driver.userFocus(e());
|
|
170
|
+
}
|
|
171
|
+
function k(e) {
|
|
172
|
+
return this.ctx.driver.userBlur(e());
|
|
173
|
+
}
|
|
174
|
+
function A(e) {
|
|
175
|
+
return this.ctx.driver.userHover(e());
|
|
176
|
+
}
|
|
177
|
+
function j(e) {
|
|
178
|
+
return N.call(this, i("option", [["value", e]]));
|
|
179
|
+
}
|
|
180
|
+
function M(e) {
|
|
181
|
+
return N.call(this, i("option", [["text", e]]));
|
|
182
|
+
}
|
|
183
|
+
function N(e) {
|
|
184
|
+
return this.ctx.driver.eval(this.locator, (e) => e.open, void 0, (t) => l([
|
|
185
|
+
() => {
|
|
186
|
+
if (!t) return this.ctx.driver.userClick(this.locator);
|
|
187
|
+
},
|
|
188
|
+
() => this.ctx.driver.expectEq({
|
|
189
|
+
type: "eval",
|
|
190
|
+
el: this.ctx.driver.querySelector(this.locator, e),
|
|
191
|
+
fn: (e) => !!e.selected
|
|
192
|
+
}, !1, "Option is unselected before it can be selected"),
|
|
193
|
+
() => this.ctx.driver.expectEq({
|
|
194
|
+
type: "eval",
|
|
195
|
+
el: this.ctx.driver.querySelector(this.locator, e),
|
|
196
|
+
fn: (e) => !!e.disabled
|
|
197
|
+
}, !1, "Option is not disabled before it can be selected"),
|
|
198
|
+
() => this.ctx.driver.eval(this.ctx.driver.querySelector(this.locator, e), (e) => e.click()),
|
|
199
|
+
() => this.ctx.driver.expectEq({
|
|
200
|
+
type: "eval",
|
|
201
|
+
el: this.ctx.driver.querySelector(this.locator, e),
|
|
202
|
+
fn: (e) => !!e.selected
|
|
203
|
+
}, !0, "Option is selected after selecting it")
|
|
204
|
+
]));
|
|
205
|
+
}
|
|
206
|
+
function P(e) {
|
|
207
|
+
return e().click();
|
|
208
|
+
}
|
|
209
|
+
var F = (e) => {
|
|
210
|
+
let [t, n, r] = e.split("-");
|
|
211
|
+
return `${n}/${r}/${t}`;
|
|
212
|
+
};
|
|
213
|
+
function de(e) {
|
|
214
|
+
return l([() => this.control().fill(F(e)), () => this.control().blur()]);
|
|
215
|
+
}
|
|
216
|
+
function I() {
|
|
217
|
+
return l([() => this.pickerButton().click(), () => this.clearButton().click()]);
|
|
218
|
+
}
|
|
219
|
+
var L = (e) => {
|
|
220
|
+
let [t, n, r] = e.split(":");
|
|
221
|
+
return `${t % 12 || 12}:${n}:${r} ${+t < 12 ? "AM" : "PM"}`;
|
|
222
|
+
};
|
|
223
|
+
function fe(e) {
|
|
224
|
+
return l([() => this.control().fill(L(e)), () => this.control().blur()]);
|
|
225
|
+
}
|
|
226
|
+
var pe = ([e, t]) => `${F(e)} – ${F(t)}`;
|
|
227
|
+
function me(e) {
|
|
228
|
+
return l([() => this.control().fill(pe(e)), () => this.control().blur()]);
|
|
229
|
+
}
|
|
230
|
+
var he = (e) => {
|
|
231
|
+
let [t, n] = e.split("T");
|
|
232
|
+
return `${F(t)} ${L(n)}`;
|
|
233
|
+
};
|
|
234
|
+
function ge(e) {
|
|
235
|
+
return l([() => this.control().fill(he(e)), () => this.control().blur()]);
|
|
236
|
+
}
|
|
237
|
+
function R(e, t, n) {
|
|
238
|
+
return this.ctx.driver.userDragSlider(this.locator, e(), t(), n);
|
|
239
|
+
}
|
|
240
|
+
function _e(e) {
|
|
241
|
+
return this.ctx.driver.userClick(this.ctx.driver.querySelector(this.ctx.driver.enterShadow(this.locator), `.vwc-pagination-button[label="${e + 1}"]`));
|
|
242
|
+
}
|
|
243
|
+
function z(e) {
|
|
244
|
+
return l([
|
|
245
|
+
() => this.assert(`Component is ${e ? "collapsed" : "expanded"} before it can be ${e ? "expanded" : "collapsed"}`, (e) => !!e.expanded, !e),
|
|
246
|
+
() => this.ctx.driver.userClick(this.button()),
|
|
247
|
+
() => this.assert(`Component is ${e ? "expanded" : "collapsed"} after ${e ? "expanding" : "collapsing"} it`, (e) => !!e.expanded, e)
|
|
248
|
+
]);
|
|
249
|
+
}
|
|
250
|
+
function B(e) {
|
|
251
|
+
return l([
|
|
252
|
+
() => this.assert(`Component is ${e ? "closed" : "open"} before it can be ${e ? "expanded" : "collapsed"}`, (e) => !!e.open, !e),
|
|
253
|
+
() => this.ctx.driver.userClick(this.summary()),
|
|
254
|
+
() => this.assert(`Component is ${e ? "open" : "closed"} after ${e ? "expanding" : "collapsing"} it`, (e) => !!e.open, e)
|
|
255
|
+
]);
|
|
256
|
+
}
|
|
257
|
+
function V(e) {
|
|
258
|
+
return l([() => this.ctx.driver.userClick(this.base()), () => this.assert(`Component is ${e ? "selected" : "unselected"} after ${e ? "selecting" : "unselecting"} it`, (e) => !!e.selected, e)]);
|
|
259
|
+
}
|
|
260
|
+
//#endregion
|
|
261
|
+
//#region src/refs.ts
|
|
262
|
+
function ve(e) {
|
|
263
|
+
return this.ctx.driver.querySelector(this.unwrap(), e);
|
|
264
|
+
}
|
|
265
|
+
function H(e) {
|
|
266
|
+
return this.ctx.driver.querySelector(this.ctx.driver.enterShadow(this.unwrap()), e);
|
|
267
|
+
}
|
|
268
|
+
function ye(e, t) {
|
|
269
|
+
return this.ctx.driver.querySelector(this.ctx.driver.enterShadow(this.ctx.driver.querySelector(this.ctx.driver.enterShadow(this.unwrap()), e)), t);
|
|
270
|
+
}
|
|
271
|
+
function U(e) {
|
|
272
|
+
return new $e(this.ctx, this.ctx.driver.querySelector(this.ctx.driver.enterShadow(this.unwrap()), e));
|
|
273
|
+
}
|
|
274
|
+
function W(e) {
|
|
275
|
+
return new ja(this.ctx, this.ctx.driver.querySelector(this.ctx.driver.enterShadow(this.unwrap()), e));
|
|
276
|
+
}
|
|
277
|
+
//#endregion
|
|
278
|
+
//#region src/components.generated.ts
|
|
279
|
+
var G = { name: "accordion" }, be = class extends e {
|
|
280
|
+
constructor(...e) {
|
|
281
|
+
super(...e), this.type = "accordion", this.componentInfo = G, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
282
|
+
}
|
|
283
|
+
}, xe = class extends t {
|
|
284
|
+
constructor(...e) {
|
|
285
|
+
super(...e), this.componentInfo = G, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
286
|
+
}
|
|
287
|
+
wrap(e) {
|
|
288
|
+
return new be(this.ctx, e);
|
|
289
|
+
}
|
|
290
|
+
}, Se = class {
|
|
291
|
+
constructor(e, t) {
|
|
292
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
293
|
+
type: "eval",
|
|
294
|
+
el: this.wrapper.unwrap(),
|
|
295
|
+
fn: (e, t) => e[t],
|
|
296
|
+
arg: e
|
|
297
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
298
|
+
}
|
|
299
|
+
}, K = { name: "accordion-item" }, Ce = class extends e {
|
|
300
|
+
constructor(...e) {
|
|
301
|
+
super(...e), this.type = "accordionItem", this.componentInfo = K, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.collapse = this.ctx.driver.wrapAction(z.bind(this, !1)), this.expand = this.ctx.driver.wrapAction(z.bind(this, !0)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.button = H.bind(this, ".heading-button");
|
|
302
|
+
}
|
|
303
|
+
}, we = class extends t {
|
|
304
|
+
constructor(...e) {
|
|
305
|
+
super(...e), this.componentInfo = K, this.byHeading = this.ctx.driver.wrapSelector(te.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
306
|
+
}
|
|
307
|
+
wrap(e) {
|
|
308
|
+
return new Ce(this.ctx, e);
|
|
309
|
+
}
|
|
310
|
+
}, Te = class {
|
|
311
|
+
constructor(e, t) {
|
|
312
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
313
|
+
type: "eval",
|
|
314
|
+
el: this.wrapper.unwrap(),
|
|
315
|
+
fn: (e, t) => e[t],
|
|
316
|
+
arg: e
|
|
317
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toBeCollapsed = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
318
|
+
type: "eval",
|
|
319
|
+
el: this.wrapper.unwrap(),
|
|
320
|
+
fn: _
|
|
321
|
+
}, !1, "toBeCollapsed()")), this.toBeExpanded = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
322
|
+
type: "eval",
|
|
323
|
+
el: this.wrapper.unwrap(),
|
|
324
|
+
fn: _
|
|
325
|
+
}, !0, "toBeExpanded()")), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
326
|
+
type: "eval",
|
|
327
|
+
el: this.wrapper.unwrap(),
|
|
328
|
+
fn: S
|
|
329
|
+
}, e, "toHaveIcon(${value})"));
|
|
330
|
+
}
|
|
331
|
+
}, q = { name: "action-group" }, Ee = class extends e {
|
|
332
|
+
constructor(...e) {
|
|
333
|
+
super(...e), this.type = "actionGroup", this.componentInfo = q, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
334
|
+
}
|
|
335
|
+
}, De = class extends t {
|
|
336
|
+
constructor(...e) {
|
|
337
|
+
super(...e), this.componentInfo = q, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
338
|
+
}
|
|
339
|
+
wrap(e) {
|
|
340
|
+
return new Ee(this.ctx, e);
|
|
341
|
+
}
|
|
342
|
+
}, Oe = class {
|
|
343
|
+
constructor(e, t) {
|
|
344
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
345
|
+
type: "eval",
|
|
346
|
+
el: this.wrapper.unwrap(),
|
|
347
|
+
fn: (e, t) => e[t],
|
|
348
|
+
arg: e
|
|
349
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
350
|
+
}
|
|
351
|
+
}, J = { name: "alert" }, ke = class extends e {
|
|
352
|
+
constructor(...e) {
|
|
353
|
+
super(...e), this.type = "alert", this.componentInfo = J, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
354
|
+
}
|
|
355
|
+
}, Ae = class extends t {
|
|
356
|
+
constructor(...e) {
|
|
357
|
+
super(...e), this.componentInfo = J, this.byHeadline = this.ctx.driver.wrapSelector(s.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
358
|
+
}
|
|
359
|
+
wrap(e) {
|
|
360
|
+
return new ke(this.ctx, e);
|
|
361
|
+
}
|
|
362
|
+
}, je = class {
|
|
363
|
+
constructor(e, t) {
|
|
364
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
365
|
+
type: "eval",
|
|
366
|
+
el: this.wrapper.unwrap(),
|
|
367
|
+
fn: (e, t) => e[t],
|
|
368
|
+
arg: e
|
|
369
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toBeClosed = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
370
|
+
type: "eval",
|
|
371
|
+
el: this.wrapper.unwrap(),
|
|
372
|
+
fn: m
|
|
373
|
+
}, !1, "toBeClosed()")), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
374
|
+
type: "eval",
|
|
375
|
+
el: this.wrapper.unwrap(),
|
|
376
|
+
fn: S
|
|
377
|
+
}, e, "toHaveIcon(${value})")), this.toBeOpen = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
378
|
+
type: "eval",
|
|
379
|
+
el: this.wrapper.unwrap(),
|
|
380
|
+
fn: m
|
|
381
|
+
}, !0, "toBeOpen()"));
|
|
382
|
+
}
|
|
383
|
+
}, Y = { name: "audio-player" }, Me = class extends e {
|
|
384
|
+
constructor(...e) {
|
|
385
|
+
super(...e), this.type = "audioPlayer", this.componentInfo = Y, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
386
|
+
}
|
|
387
|
+
}, Ne = class extends t {
|
|
388
|
+
constructor(...e) {
|
|
389
|
+
super(...e), this.componentInfo = Y, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
390
|
+
}
|
|
391
|
+
wrap(e) {
|
|
392
|
+
return new Me(this.ctx, e);
|
|
393
|
+
}
|
|
394
|
+
}, Pe = class {
|
|
395
|
+
constructor(e, t) {
|
|
396
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
397
|
+
type: "eval",
|
|
398
|
+
el: this.wrapper.unwrap(),
|
|
399
|
+
fn: (e, t) => e[t],
|
|
400
|
+
arg: e
|
|
401
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
402
|
+
}
|
|
403
|
+
}, X = { name: "avatar" }, Fe = class extends e {
|
|
404
|
+
constructor(...e) {
|
|
405
|
+
super(...e), this.type = "avatar", this.componentInfo = X, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
406
|
+
}
|
|
407
|
+
}, Ie = class extends t {
|
|
408
|
+
constructor(...e) {
|
|
409
|
+
super(...e), this.componentInfo = X, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
410
|
+
}
|
|
411
|
+
wrap(e) {
|
|
412
|
+
return new Fe(this.ctx, e);
|
|
413
|
+
}
|
|
414
|
+
}, Le = class {
|
|
415
|
+
constructor(e, t) {
|
|
416
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
417
|
+
type: "eval",
|
|
418
|
+
el: this.wrapper.unwrap(),
|
|
419
|
+
fn: (e, t) => e[t],
|
|
420
|
+
arg: e
|
|
421
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
422
|
+
}
|
|
423
|
+
}, Z = { name: "badge" }, Re = class extends e {
|
|
424
|
+
constructor(...e) {
|
|
425
|
+
super(...e), this.type = "badge", this.componentInfo = Z, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
426
|
+
}
|
|
427
|
+
}, ze = class extends t {
|
|
428
|
+
constructor(...e) {
|
|
429
|
+
super(...e), this.componentInfo = Z, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
430
|
+
}
|
|
431
|
+
wrap(e) {
|
|
432
|
+
return new Re(this.ctx, e);
|
|
433
|
+
}
|
|
434
|
+
}, Be = class {
|
|
435
|
+
constructor(e, t) {
|
|
436
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
437
|
+
type: "eval",
|
|
438
|
+
el: this.wrapper.unwrap(),
|
|
439
|
+
fn: (e, t) => e[t],
|
|
440
|
+
arg: e
|
|
441
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
442
|
+
type: "eval",
|
|
443
|
+
el: this.wrapper.unwrap(),
|
|
444
|
+
fn: S
|
|
445
|
+
}, e, "toHaveIcon(${value})"));
|
|
446
|
+
}
|
|
447
|
+
}, Q = { name: "banner" }, Ve = class extends e {
|
|
448
|
+
constructor(...e) {
|
|
449
|
+
super(...e), this.type = "banner", this.componentInfo = Q, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.dismiss = this.ctx.driver.wrapAction(P.bind(this, () => this.dismissButton())), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.dismissButton = U.bind(this, ".dismiss-button");
|
|
450
|
+
}
|
|
451
|
+
}, He = class extends t {
|
|
452
|
+
constructor(...e) {
|
|
453
|
+
super(...e), this.componentInfo = Q, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this)), this.byText = this.ctx.driver.wrapSelector(c.bind(this));
|
|
454
|
+
}
|
|
455
|
+
wrap(e) {
|
|
456
|
+
return new Ve(this.ctx, e);
|
|
457
|
+
}
|
|
458
|
+
}, Ue = class {
|
|
459
|
+
constructor(e, t) {
|
|
460
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
461
|
+
type: "eval",
|
|
462
|
+
el: this.wrapper.unwrap(),
|
|
463
|
+
fn: (e, t) => e[t],
|
|
464
|
+
arg: e
|
|
465
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
466
|
+
type: "eval",
|
|
467
|
+
el: this.wrapper.unwrap(),
|
|
468
|
+
fn: S
|
|
469
|
+
}, e, "toHaveIcon(${value})"));
|
|
470
|
+
}
|
|
471
|
+
}, We = { name: "breadcrumb" }, Ge = class extends e {
|
|
472
|
+
constructor(...e) {
|
|
473
|
+
super(...e), this.type = "breadcrumb", this.componentInfo = We, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
474
|
+
}
|
|
475
|
+
}, Ke = class extends t {
|
|
476
|
+
constructor(...e) {
|
|
477
|
+
super(...e), this.componentInfo = We, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
478
|
+
}
|
|
479
|
+
wrap(e) {
|
|
480
|
+
return new Ge(this.ctx, e);
|
|
481
|
+
}
|
|
482
|
+
}, qe = class {
|
|
483
|
+
constructor(e, t) {
|
|
484
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = (e, t) => {
|
|
485
|
+
throw Error("Component does not have props.");
|
|
486
|
+
};
|
|
487
|
+
}
|
|
488
|
+
}, Je = { name: "breadcrumb-item" }, Ye = class extends e {
|
|
489
|
+
constructor(...e) {
|
|
490
|
+
super(...e), this.type = "breadcrumbItem", this.componentInfo = Je, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
491
|
+
}
|
|
492
|
+
}, Xe = class extends t {
|
|
493
|
+
constructor(...e) {
|
|
494
|
+
super(...e), this.componentInfo = Je, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
495
|
+
}
|
|
496
|
+
wrap(e) {
|
|
497
|
+
return new Ye(this.ctx, e);
|
|
498
|
+
}
|
|
499
|
+
}, Ze = class {
|
|
500
|
+
constructor(e, t) {
|
|
501
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
502
|
+
type: "eval",
|
|
503
|
+
el: this.wrapper.unwrap(),
|
|
504
|
+
fn: (e, t) => e[t],
|
|
505
|
+
arg: e
|
|
506
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
507
|
+
}
|
|
508
|
+
}, Qe = { name: "button" }, $e = class extends e {
|
|
509
|
+
constructor(...e) {
|
|
510
|
+
super(...e), this.type = "button", this.componentInfo = Qe, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.click = this.ctx.driver.wrapAction(C.bind(this, () => this.control())), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.control = H.bind(this, "button.control");
|
|
511
|
+
}
|
|
512
|
+
}, et = class extends t {
|
|
513
|
+
constructor(...e) {
|
|
514
|
+
super(...e), this.componentInfo = Qe, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
515
|
+
}
|
|
516
|
+
wrap(e) {
|
|
517
|
+
return new $e(this.ctx, e);
|
|
518
|
+
}
|
|
519
|
+
}, tt = class {
|
|
520
|
+
constructor(e, t) {
|
|
521
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
522
|
+
type: "eval",
|
|
523
|
+
el: this.wrapper.unwrap(),
|
|
524
|
+
fn: (e, t) => e[t],
|
|
525
|
+
arg: e
|
|
526
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
527
|
+
type: "eval",
|
|
528
|
+
el: this.wrapper.unwrap(),
|
|
529
|
+
fn: S
|
|
530
|
+
}, e, "toHaveIcon(${value})")), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
531
|
+
type: "eval",
|
|
532
|
+
el: this.wrapper.unwrap(),
|
|
533
|
+
fn: h
|
|
534
|
+
}, e, "toHaveValue(${value})"));
|
|
535
|
+
}
|
|
536
|
+
}, nt = { name: "calendar" }, rt = class extends e {
|
|
537
|
+
constructor(...e) {
|
|
538
|
+
super(...e), this.type = "calendar", this.componentInfo = nt, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
539
|
+
}
|
|
540
|
+
}, it = class extends t {
|
|
541
|
+
constructor(...e) {
|
|
542
|
+
super(...e), this.componentInfo = nt, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
543
|
+
}
|
|
544
|
+
wrap(e) {
|
|
545
|
+
return new rt(this.ctx, e);
|
|
546
|
+
}
|
|
547
|
+
}, at = class {
|
|
548
|
+
constructor(e, t) {
|
|
549
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
550
|
+
type: "eval",
|
|
551
|
+
el: this.wrapper.unwrap(),
|
|
552
|
+
fn: (e, t) => e[t],
|
|
553
|
+
arg: e
|
|
554
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
555
|
+
}
|
|
556
|
+
}, ot = { name: "calendar-event" }, st = class extends e {
|
|
557
|
+
constructor(...e) {
|
|
558
|
+
super(...e), this.type = "calendarEvent", this.componentInfo = ot, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
559
|
+
}
|
|
560
|
+
}, ct = class extends t {
|
|
561
|
+
constructor(...e) {
|
|
562
|
+
super(...e), this.componentInfo = ot, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
563
|
+
}
|
|
564
|
+
wrap(e) {
|
|
565
|
+
return new st(this.ctx, e);
|
|
566
|
+
}
|
|
567
|
+
}, lt = class {
|
|
568
|
+
constructor(e, t) {
|
|
569
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
570
|
+
type: "eval",
|
|
571
|
+
el: this.wrapper.unwrap(),
|
|
572
|
+
fn: (e, t) => e[t],
|
|
573
|
+
arg: e
|
|
574
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
575
|
+
}
|
|
576
|
+
}, ut = { name: "card" }, dt = class extends e {
|
|
577
|
+
constructor(...e) {
|
|
578
|
+
super(...e), this.type = "card", this.componentInfo = ut, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
579
|
+
}
|
|
580
|
+
}, ft = class extends t {
|
|
581
|
+
constructor(...e) {
|
|
582
|
+
super(...e), this.componentInfo = ut, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
583
|
+
}
|
|
584
|
+
wrap(e) {
|
|
585
|
+
return new dt(this.ctx, e);
|
|
586
|
+
}
|
|
587
|
+
}, pt = class {
|
|
588
|
+
constructor(e, t) {
|
|
589
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
590
|
+
type: "eval",
|
|
591
|
+
el: this.wrapper.unwrap(),
|
|
592
|
+
fn: (e, t) => e[t],
|
|
593
|
+
arg: e
|
|
594
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveHeadline = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
595
|
+
type: "eval",
|
|
596
|
+
el: this.wrapper.unwrap(),
|
|
597
|
+
fn: p
|
|
598
|
+
}, e, "toHaveHeadline(${value})"));
|
|
599
|
+
}
|
|
600
|
+
}, mt = { name: "checkbox" }, ht = class extends e {
|
|
601
|
+
constructor(...e) {
|
|
602
|
+
super(...e), this.type = "checkbox", this.componentInfo = mt, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.check = this.ctx.driver.wrapAction(E.bind(this, () => this.control())), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.uncheck = this.ctx.driver.wrapAction(D.bind(this, () => this.control())), this.control = H.bind(this, "div.control");
|
|
603
|
+
}
|
|
604
|
+
}, gt = class extends t {
|
|
605
|
+
constructor(...e) {
|
|
606
|
+
super(...e), this.componentInfo = mt, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
607
|
+
}
|
|
608
|
+
wrap(e) {
|
|
609
|
+
return new ht(this.ctx, e);
|
|
610
|
+
}
|
|
611
|
+
}, _t = class {
|
|
612
|
+
constructor(e, t) {
|
|
613
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
614
|
+
type: "eval",
|
|
615
|
+
el: this.wrapper.unwrap(),
|
|
616
|
+
fn: (e, t) => e[t],
|
|
617
|
+
arg: e
|
|
618
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toBeChecked = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
619
|
+
type: "eval",
|
|
620
|
+
el: this.wrapper.unwrap(),
|
|
621
|
+
fn: d
|
|
622
|
+
}, "checked", "toBeChecked()")), this.toBeIndeterminate = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
623
|
+
type: "eval",
|
|
624
|
+
el: this.wrapper.unwrap(),
|
|
625
|
+
fn: d
|
|
626
|
+
}, "indeterminate", "toBeIndeterminate()")), this.toBeUnchecked = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
627
|
+
type: "eval",
|
|
628
|
+
el: this.wrapper.unwrap(),
|
|
629
|
+
fn: d
|
|
630
|
+
}, "unchecked", "toBeUnchecked()")), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
631
|
+
type: "eval",
|
|
632
|
+
el: this.wrapper.unwrap(),
|
|
633
|
+
fn: h
|
|
634
|
+
}, e, "toHaveValue(${value})")), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
635
|
+
type: "eval",
|
|
636
|
+
el: this.wrapper.unwrap(),
|
|
637
|
+
fn: f
|
|
638
|
+
}, e, "toHaveVisibleError(${value})"));
|
|
639
|
+
}
|
|
640
|
+
}, vt = { name: "color-picker" }, yt = class extends e {
|
|
641
|
+
constructor(...e) {
|
|
642
|
+
super(...e), this.type = "colorPicker", this.componentInfo = vt, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
643
|
+
}
|
|
644
|
+
}, bt = class extends t {
|
|
645
|
+
constructor(...e) {
|
|
646
|
+
super(...e), this.componentInfo = vt, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
647
|
+
}
|
|
648
|
+
wrap(e) {
|
|
649
|
+
return new yt(this.ctx, e);
|
|
650
|
+
}
|
|
651
|
+
}, xt = class {
|
|
652
|
+
constructor(e, t) {
|
|
653
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
654
|
+
type: "eval",
|
|
655
|
+
el: this.wrapper.unwrap(),
|
|
656
|
+
fn: (e, t) => e[t],
|
|
657
|
+
arg: e
|
|
658
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
659
|
+
type: "eval",
|
|
660
|
+
el: this.wrapper.unwrap(),
|
|
661
|
+
fn: h
|
|
662
|
+
}, e, "toHaveValue(${value})")), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
663
|
+
type: "eval",
|
|
664
|
+
el: this.wrapper.unwrap(),
|
|
665
|
+
fn: f
|
|
666
|
+
}, e, "toHaveVisibleError(${value})"));
|
|
667
|
+
}
|
|
668
|
+
}, St = { name: "combobox" }, Ct = class extends e {
|
|
669
|
+
constructor(...e) {
|
|
670
|
+
super(...e), this.type = "combobox", this.componentInfo = St, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.clear = this.ctx.driver.wrapAction(ue.bind(this)), this.fill = this.ctx.driver.wrapAction(le.bind(this)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.selectOptionByText = this.ctx.driver.wrapAction(M.bind(this)), this.selectOptionByValue = this.ctx.driver.wrapAction(j.bind(this)), this.control = H.bind(this, "input.control");
|
|
671
|
+
}
|
|
672
|
+
}, wt = class extends t {
|
|
673
|
+
constructor(...e) {
|
|
674
|
+
super(...e), this.componentInfo = St, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
675
|
+
}
|
|
676
|
+
wrap(e) {
|
|
677
|
+
return new Ct(this.ctx, e);
|
|
678
|
+
}
|
|
679
|
+
}, Tt = class {
|
|
680
|
+
constructor(e, t) {
|
|
681
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
682
|
+
type: "eval",
|
|
683
|
+
el: this.wrapper.unwrap(),
|
|
684
|
+
fn: (e, t) => e[t],
|
|
685
|
+
arg: e
|
|
686
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
687
|
+
type: "eval",
|
|
688
|
+
el: this.wrapper.unwrap(),
|
|
689
|
+
fn: S
|
|
690
|
+
}, e, "toHaveIcon(${value})")), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
691
|
+
type: "eval",
|
|
692
|
+
el: this.wrapper.unwrap(),
|
|
693
|
+
fn: h
|
|
694
|
+
}, e, "toHaveValue(${value})")), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
695
|
+
type: "eval",
|
|
696
|
+
el: this.wrapper.unwrap(),
|
|
697
|
+
fn: f
|
|
698
|
+
}, e, "toHaveVisibleError(${value})"));
|
|
699
|
+
}
|
|
700
|
+
}, Et = { name: "contextual-help" }, Dt = class extends e {
|
|
701
|
+
constructor(...e) {
|
|
702
|
+
super(...e), this.type = "contextualHelp", this.componentInfo = Et, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
703
|
+
}
|
|
704
|
+
}, Ot = class extends t {
|
|
705
|
+
constructor(...e) {
|
|
706
|
+
super(...e), this.componentInfo = Et, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
707
|
+
}
|
|
708
|
+
wrap(e) {
|
|
709
|
+
return new Dt(this.ctx, e);
|
|
710
|
+
}
|
|
711
|
+
}, kt = class {
|
|
712
|
+
constructor(e, t) {
|
|
713
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
714
|
+
type: "eval",
|
|
715
|
+
el: this.wrapper.unwrap(),
|
|
716
|
+
fn: (e, t) => e[t],
|
|
717
|
+
arg: e
|
|
718
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
719
|
+
}
|
|
720
|
+
}, At = { name: "country" }, jt = class extends e {
|
|
721
|
+
constructor(...e) {
|
|
722
|
+
super(...e), this.type = "country", this.componentInfo = At, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
723
|
+
}
|
|
724
|
+
}, Mt = class extends t {
|
|
725
|
+
constructor(...e) {
|
|
726
|
+
super(...e), this.componentInfo = At, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
727
|
+
}
|
|
728
|
+
wrap(e) {
|
|
729
|
+
return new jt(this.ctx, e);
|
|
730
|
+
}
|
|
731
|
+
}, Nt = class {
|
|
732
|
+
constructor(e, t) {
|
|
733
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
734
|
+
type: "eval",
|
|
735
|
+
el: this.wrapper.unwrap(),
|
|
736
|
+
fn: (e, t) => e[t],
|
|
737
|
+
arg: e
|
|
738
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
739
|
+
}
|
|
740
|
+
}, Pt = { name: "data-grid" }, Ft = class extends e {
|
|
741
|
+
constructor(...e) {
|
|
742
|
+
super(...e), this.type = "dataGrid", this.componentInfo = Pt, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
743
|
+
}
|
|
744
|
+
}, It = class extends t {
|
|
745
|
+
constructor(...e) {
|
|
746
|
+
super(...e), this.componentInfo = Pt, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
747
|
+
}
|
|
748
|
+
wrap(e) {
|
|
749
|
+
return new Ft(this.ctx, e);
|
|
750
|
+
}
|
|
751
|
+
}, Lt = class {
|
|
752
|
+
constructor(e, t) {
|
|
753
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
754
|
+
type: "eval",
|
|
755
|
+
el: this.wrapper.unwrap(),
|
|
756
|
+
fn: (e, t) => e[t],
|
|
757
|
+
arg: e
|
|
758
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
759
|
+
}
|
|
760
|
+
}, Rt = { name: "data-grid-cell" }, zt = class extends e {
|
|
761
|
+
constructor(...e) {
|
|
762
|
+
super(...e), this.type = "dataGridCell", this.componentInfo = Rt, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
763
|
+
}
|
|
764
|
+
}, Bt = class extends t {
|
|
765
|
+
constructor(...e) {
|
|
766
|
+
super(...e), this.componentInfo = Rt, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
767
|
+
}
|
|
768
|
+
wrap(e) {
|
|
769
|
+
return new zt(this.ctx, e);
|
|
770
|
+
}
|
|
771
|
+
}, Vt = class {
|
|
772
|
+
constructor(e, t) {
|
|
773
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
774
|
+
type: "eval",
|
|
775
|
+
el: this.wrapper.unwrap(),
|
|
776
|
+
fn: (e, t) => e[t],
|
|
777
|
+
arg: e
|
|
778
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
779
|
+
}
|
|
780
|
+
}, Ht = { name: "data-grid-row" }, Ut = class extends e {
|
|
781
|
+
constructor(...e) {
|
|
782
|
+
super(...e), this.type = "dataGridRow", this.componentInfo = Ht, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
783
|
+
}
|
|
784
|
+
}, Wt = class extends t {
|
|
785
|
+
constructor(...e) {
|
|
786
|
+
super(...e), this.componentInfo = Ht, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
787
|
+
}
|
|
788
|
+
wrap(e) {
|
|
789
|
+
return new Ut(this.ctx, e);
|
|
790
|
+
}
|
|
791
|
+
}, Gt = class {
|
|
792
|
+
constructor(e, t) {
|
|
793
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
794
|
+
type: "eval",
|
|
795
|
+
el: this.wrapper.unwrap(),
|
|
796
|
+
fn: (e, t) => e[t],
|
|
797
|
+
arg: e
|
|
798
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
799
|
+
}
|
|
800
|
+
}, Kt = { name: "date-picker" }, qt = class extends e {
|
|
801
|
+
constructor(...e) {
|
|
802
|
+
super(...e), this.type = "datePicker", this.componentInfo = Kt, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.clear = this.ctx.driver.wrapAction(I.bind(this)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.selectDate = this.ctx.driver.wrapAction(de.bind(this)), this.clearButton = U.bind(this, "#clear-button"), this.control = W.bind(this, "[data-vvd-component=text-field].control"), this.pickerButton = U.bind(this, "#picker-button");
|
|
803
|
+
}
|
|
804
|
+
}, Jt = class extends t {
|
|
805
|
+
constructor(...e) {
|
|
806
|
+
super(...e), this.componentInfo = Kt, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
807
|
+
}
|
|
808
|
+
wrap(e) {
|
|
809
|
+
return new qt(this.ctx, e);
|
|
810
|
+
}
|
|
811
|
+
}, Yt = class {
|
|
812
|
+
constructor(e, t) {
|
|
813
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
814
|
+
type: "eval",
|
|
815
|
+
el: this.wrapper.unwrap(),
|
|
816
|
+
fn: (e, t) => e[t],
|
|
817
|
+
arg: e
|
|
818
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
819
|
+
type: "eval",
|
|
820
|
+
el: this.wrapper.unwrap(),
|
|
821
|
+
fn: h
|
|
822
|
+
}, e, "toHaveValue(${value})")), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
823
|
+
type: "eval",
|
|
824
|
+
el: this.wrapper.unwrap(),
|
|
825
|
+
fn: f
|
|
826
|
+
}, e, "toHaveVisibleError(${value})"));
|
|
827
|
+
}
|
|
828
|
+
}, Xt = { name: "date-range-picker" }, Zt = class extends e {
|
|
829
|
+
constructor(...e) {
|
|
830
|
+
super(...e), this.type = "dateRangePicker", this.componentInfo = Xt, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.clear = this.ctx.driver.wrapAction(I.bind(this)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.selectDateRange = this.ctx.driver.wrapAction(me.bind(this)), this.clearButton = U.bind(this, "#clear-button"), this.control = W.bind(this, "[data-vvd-component=text-field].control"), this.pickerButton = U.bind(this, "#picker-button");
|
|
831
|
+
}
|
|
832
|
+
}, Qt = class extends t {
|
|
833
|
+
constructor(...e) {
|
|
834
|
+
super(...e), this.componentInfo = Xt, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
835
|
+
}
|
|
836
|
+
wrap(e) {
|
|
837
|
+
return new Zt(this.ctx, e);
|
|
838
|
+
}
|
|
839
|
+
}, $t = class {
|
|
840
|
+
constructor(e, t) {
|
|
841
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
842
|
+
type: "eval",
|
|
843
|
+
el: this.wrapper.unwrap(),
|
|
844
|
+
fn: (e, t) => e[t],
|
|
845
|
+
arg: e
|
|
846
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveRange = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
847
|
+
type: "eval",
|
|
848
|
+
el: this.wrapper.unwrap(),
|
|
849
|
+
fn: ie
|
|
850
|
+
}, e, "toHaveRange(${value})")), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
851
|
+
type: "eval",
|
|
852
|
+
el: this.wrapper.unwrap(),
|
|
853
|
+
fn: h
|
|
854
|
+
}, e, "toHaveValue(${value})")), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
855
|
+
type: "eval",
|
|
856
|
+
el: this.wrapper.unwrap(),
|
|
857
|
+
fn: f
|
|
858
|
+
}, e, "toHaveVisibleError(${value})"));
|
|
859
|
+
}
|
|
860
|
+
}, en = { name: "date-time-picker" }, tn = class extends e {
|
|
861
|
+
constructor(...e) {
|
|
862
|
+
super(...e), this.type = "dateTimePicker", this.componentInfo = en, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.clear = this.ctx.driver.wrapAction(I.bind(this)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.selectDateTime = this.ctx.driver.wrapAction(ge.bind(this)), this.clearButton = U.bind(this, "#clear-button"), this.control = W.bind(this, "[data-vvd-component=text-field].control"), this.pickerButton = U.bind(this, "#picker-button");
|
|
863
|
+
}
|
|
864
|
+
}, nn = class extends t {
|
|
865
|
+
constructor(...e) {
|
|
866
|
+
super(...e), this.componentInfo = en, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
867
|
+
}
|
|
868
|
+
wrap(e) {
|
|
869
|
+
return new tn(this.ctx, e);
|
|
870
|
+
}
|
|
871
|
+
}, rn = class {
|
|
872
|
+
constructor(e, t) {
|
|
873
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
874
|
+
type: "eval",
|
|
875
|
+
el: this.wrapper.unwrap(),
|
|
876
|
+
fn: (e, t) => e[t],
|
|
877
|
+
arg: e
|
|
878
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
879
|
+
type: "eval",
|
|
880
|
+
el: this.wrapper.unwrap(),
|
|
881
|
+
fn: h
|
|
882
|
+
}, e, "toHaveValue(${value})")), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
883
|
+
type: "eval",
|
|
884
|
+
el: this.wrapper.unwrap(),
|
|
885
|
+
fn: f
|
|
886
|
+
}, e, "toHaveVisibleError(${value})"));
|
|
887
|
+
}
|
|
888
|
+
}, an = { name: "dial-pad" }, on = class extends e {
|
|
889
|
+
constructor(...e) {
|
|
890
|
+
super(...e), this.type = "dialPad", this.componentInfo = an, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
891
|
+
}
|
|
892
|
+
}, sn = class extends t {
|
|
893
|
+
constructor(...e) {
|
|
894
|
+
super(...e), this.componentInfo = an, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
895
|
+
}
|
|
896
|
+
wrap(e) {
|
|
897
|
+
return new on(this.ctx, e);
|
|
898
|
+
}
|
|
899
|
+
}, cn = class {
|
|
900
|
+
constructor(e, t) {
|
|
901
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
902
|
+
type: "eval",
|
|
903
|
+
el: this.wrapper.unwrap(),
|
|
904
|
+
fn: (e, t) => e[t],
|
|
905
|
+
arg: e
|
|
906
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
907
|
+
}
|
|
908
|
+
}, ln = { name: "dialog" }, un = class extends e {
|
|
909
|
+
constructor(...e) {
|
|
910
|
+
super(...e), this.type = "dialog", this.componentInfo = ln, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.dismiss = this.ctx.driver.wrapAction(C.bind(this, () => this.dismissButton())), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.dismissButton = H.bind(this, ".dismiss-button");
|
|
911
|
+
}
|
|
912
|
+
}, dn = class extends t {
|
|
913
|
+
constructor(...e) {
|
|
914
|
+
super(...e), this.componentInfo = ln, this.byHeadline = this.ctx.driver.wrapSelector(s.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
915
|
+
}
|
|
916
|
+
wrap(e) {
|
|
917
|
+
return new un(this.ctx, e);
|
|
918
|
+
}
|
|
919
|
+
}, fn = class {
|
|
920
|
+
constructor(e, t) {
|
|
921
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
922
|
+
type: "eval",
|
|
923
|
+
el: this.wrapper.unwrap(),
|
|
924
|
+
fn: (e, t) => e[t],
|
|
925
|
+
arg: e
|
|
926
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toBeClosed = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
927
|
+
type: "eval",
|
|
928
|
+
el: this.wrapper.unwrap(),
|
|
929
|
+
fn: m
|
|
930
|
+
}, !1, "toBeClosed()")), this.toHaveHeadline = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
931
|
+
type: "eval",
|
|
932
|
+
el: this.wrapper.unwrap(),
|
|
933
|
+
fn: p
|
|
934
|
+
}, e, "toHaveHeadline(${value})")), this.toBeOpen = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
935
|
+
type: "eval",
|
|
936
|
+
el: this.wrapper.unwrap(),
|
|
937
|
+
fn: m
|
|
938
|
+
}, !0, "toBeOpen()"));
|
|
939
|
+
}
|
|
940
|
+
}, pn = { name: "divider" }, mn = class extends e {
|
|
941
|
+
constructor(...e) {
|
|
942
|
+
super(...e), this.type = "divider", this.componentInfo = pn, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
943
|
+
}
|
|
944
|
+
}, hn = class extends t {
|
|
945
|
+
constructor(...e) {
|
|
946
|
+
super(...e), this.componentInfo = pn, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
947
|
+
}
|
|
948
|
+
wrap(e) {
|
|
949
|
+
return new mn(this.ctx, e);
|
|
950
|
+
}
|
|
951
|
+
}, gn = class {
|
|
952
|
+
constructor(e, t) {
|
|
953
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
954
|
+
type: "eval",
|
|
955
|
+
el: this.wrapper.unwrap(),
|
|
956
|
+
fn: (e, t) => e[t],
|
|
957
|
+
arg: e
|
|
958
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
959
|
+
}
|
|
960
|
+
}, _n = { name: "empty-state" }, vn = class extends e {
|
|
961
|
+
constructor(...e) {
|
|
962
|
+
super(...e), this.type = "emptyState", this.componentInfo = _n, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
963
|
+
}
|
|
964
|
+
}, yn = class extends t {
|
|
965
|
+
constructor(...e) {
|
|
966
|
+
super(...e), this.componentInfo = _n, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
967
|
+
}
|
|
968
|
+
wrap(e) {
|
|
969
|
+
return new vn(this.ctx, e);
|
|
970
|
+
}
|
|
971
|
+
}, bn = class {
|
|
972
|
+
constructor(e, t) {
|
|
973
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
974
|
+
type: "eval",
|
|
975
|
+
el: this.wrapper.unwrap(),
|
|
976
|
+
fn: (e, t) => e[t],
|
|
977
|
+
arg: e
|
|
978
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
979
|
+
}
|
|
980
|
+
}, xn = { name: "fab" }, Sn = class extends e {
|
|
981
|
+
constructor(...e) {
|
|
982
|
+
super(...e), this.type = "fab", this.componentInfo = xn, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.click = this.ctx.driver.wrapAction(C.bind(this, () => this.control())), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.control = H.bind(this, "button.control");
|
|
983
|
+
}
|
|
984
|
+
}, Cn = class extends t {
|
|
985
|
+
constructor(...e) {
|
|
986
|
+
super(...e), this.componentInfo = xn, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
987
|
+
}
|
|
988
|
+
wrap(e) {
|
|
989
|
+
return new Sn(this.ctx, e);
|
|
990
|
+
}
|
|
991
|
+
}, wn = class {
|
|
992
|
+
constructor(e, t) {
|
|
993
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
994
|
+
type: "eval",
|
|
995
|
+
el: this.wrapper.unwrap(),
|
|
996
|
+
fn: (e, t) => e[t],
|
|
997
|
+
arg: e
|
|
998
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
999
|
+
type: "eval",
|
|
1000
|
+
el: this.wrapper.unwrap(),
|
|
1001
|
+
fn: S
|
|
1002
|
+
}, e, "toHaveIcon(${value})")), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1003
|
+
type: "eval",
|
|
1004
|
+
el: this.wrapper.unwrap(),
|
|
1005
|
+
fn: h
|
|
1006
|
+
}, e, "toHaveValue(${value})"));
|
|
1007
|
+
}
|
|
1008
|
+
}, Tn = { name: "file-picker" }, En = class extends e {
|
|
1009
|
+
constructor(...e) {
|
|
1010
|
+
super(...e), this.type = "filePicker", this.componentInfo = Tn, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1011
|
+
}
|
|
1012
|
+
}, Dn = class extends t {
|
|
1013
|
+
constructor(...e) {
|
|
1014
|
+
super(...e), this.componentInfo = Tn, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1015
|
+
}
|
|
1016
|
+
wrap(e) {
|
|
1017
|
+
return new En(this.ctx, e);
|
|
1018
|
+
}
|
|
1019
|
+
}, On = class {
|
|
1020
|
+
constructor(e, t) {
|
|
1021
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1022
|
+
type: "eval",
|
|
1023
|
+
el: this.wrapper.unwrap(),
|
|
1024
|
+
fn: (e, t) => e[t],
|
|
1025
|
+
arg: e
|
|
1026
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1027
|
+
type: "eval",
|
|
1028
|
+
el: this.wrapper.unwrap(),
|
|
1029
|
+
fn: h
|
|
1030
|
+
}, e, "toHaveValue(${value})")), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1031
|
+
type: "eval",
|
|
1032
|
+
el: this.wrapper.unwrap(),
|
|
1033
|
+
fn: f
|
|
1034
|
+
}, e, "toHaveVisibleError(${value})"));
|
|
1035
|
+
}
|
|
1036
|
+
}, kn = { name: "header" }, An = class extends e {
|
|
1037
|
+
constructor(...e) {
|
|
1038
|
+
super(...e), this.type = "header", this.componentInfo = kn, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1039
|
+
}
|
|
1040
|
+
}, jn = class extends t {
|
|
1041
|
+
constructor(...e) {
|
|
1042
|
+
super(...e), this.componentInfo = kn, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1043
|
+
}
|
|
1044
|
+
wrap(e) {
|
|
1045
|
+
return new An(this.ctx, e);
|
|
1046
|
+
}
|
|
1047
|
+
}, Mn = class {
|
|
1048
|
+
constructor(e, t) {
|
|
1049
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1050
|
+
type: "eval",
|
|
1051
|
+
el: this.wrapper.unwrap(),
|
|
1052
|
+
fn: (e, t) => e[t],
|
|
1053
|
+
arg: e
|
|
1054
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
1055
|
+
}
|
|
1056
|
+
}, Nn = { name: "icon" }, Pn = class extends e {
|
|
1057
|
+
constructor(...e) {
|
|
1058
|
+
super(...e), this.type = "icon", this.componentInfo = Nn, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1059
|
+
}
|
|
1060
|
+
}, Fn = class extends t {
|
|
1061
|
+
constructor(...e) {
|
|
1062
|
+
super(...e), this.componentInfo = Nn, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1063
|
+
}
|
|
1064
|
+
wrap(e) {
|
|
1065
|
+
return new Pn(this.ctx, e);
|
|
1066
|
+
}
|
|
1067
|
+
}, In = class {
|
|
1068
|
+
constructor(e, t) {
|
|
1069
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1070
|
+
type: "eval",
|
|
1071
|
+
el: this.wrapper.unwrap(),
|
|
1072
|
+
fn: (e, t) => e[t],
|
|
1073
|
+
arg: e
|
|
1074
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveName = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1075
|
+
type: "eval",
|
|
1076
|
+
el: this.wrapper.unwrap(),
|
|
1077
|
+
fn: oe
|
|
1078
|
+
}, e, "toHaveName(${value})"));
|
|
1079
|
+
}
|
|
1080
|
+
}, Ln = { name: "layout" }, Rn = class extends e {
|
|
1081
|
+
constructor(...e) {
|
|
1082
|
+
super(...e), this.type = "layout", this.componentInfo = Ln, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1083
|
+
}
|
|
1084
|
+
}, zn = class extends t {
|
|
1085
|
+
constructor(...e) {
|
|
1086
|
+
super(...e), this.componentInfo = Ln, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1087
|
+
}
|
|
1088
|
+
wrap(e) {
|
|
1089
|
+
return new Rn(this.ctx, e);
|
|
1090
|
+
}
|
|
1091
|
+
}, Bn = class {
|
|
1092
|
+
constructor(e, t) {
|
|
1093
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1094
|
+
type: "eval",
|
|
1095
|
+
el: this.wrapper.unwrap(),
|
|
1096
|
+
fn: (e, t) => e[t],
|
|
1097
|
+
arg: e
|
|
1098
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
1099
|
+
}
|
|
1100
|
+
}, Vn = { name: "menu" }, Hn = class extends e {
|
|
1101
|
+
constructor(...e) {
|
|
1102
|
+
super(...e), this.type = "menu", this.componentInfo = Vn, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1103
|
+
}
|
|
1104
|
+
}, Un = class extends t {
|
|
1105
|
+
constructor(...e) {
|
|
1106
|
+
super(...e), this.componentInfo = Vn, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1107
|
+
}
|
|
1108
|
+
wrap(e) {
|
|
1109
|
+
return new Hn(this.ctx, e);
|
|
1110
|
+
}
|
|
1111
|
+
}, Wn = class {
|
|
1112
|
+
constructor(e, t) {
|
|
1113
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1114
|
+
type: "eval",
|
|
1115
|
+
el: this.wrapper.unwrap(),
|
|
1116
|
+
fn: (e, t) => e[t],
|
|
1117
|
+
arg: e
|
|
1118
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toBeClosed = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
1119
|
+
type: "eval",
|
|
1120
|
+
el: this.wrapper.unwrap(),
|
|
1121
|
+
fn: m
|
|
1122
|
+
}, !1, "toBeClosed()")), this.toBeOpen = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
1123
|
+
type: "eval",
|
|
1124
|
+
el: this.wrapper.unwrap(),
|
|
1125
|
+
fn: m
|
|
1126
|
+
}, !0, "toBeOpen()"));
|
|
1127
|
+
}
|
|
1128
|
+
}, Gn = { name: "menu-item" }, Kn = class extends e {
|
|
1129
|
+
constructor(...e) {
|
|
1130
|
+
super(...e), this.type = "menuItem", this.componentInfo = Gn, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.click = this.ctx.driver.wrapAction(C.bind(this, () => this.base())), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.base = H.bind(this, ".base");
|
|
1131
|
+
}
|
|
1132
|
+
}, qn = class extends t {
|
|
1133
|
+
constructor(...e) {
|
|
1134
|
+
super(...e), this.componentInfo = Gn, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this)), this.byText = this.ctx.driver.wrapSelector(c.bind(this));
|
|
1135
|
+
}
|
|
1136
|
+
wrap(e) {
|
|
1137
|
+
return new Kn(this.ctx, e);
|
|
1138
|
+
}
|
|
1139
|
+
}, Jn = class {
|
|
1140
|
+
constructor(e, t) {
|
|
1141
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1142
|
+
type: "eval",
|
|
1143
|
+
el: this.wrapper.unwrap(),
|
|
1144
|
+
fn: (e, t) => e[t],
|
|
1145
|
+
arg: e
|
|
1146
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toBeChecked = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
1147
|
+
type: "eval",
|
|
1148
|
+
el: this.wrapper.unwrap(),
|
|
1149
|
+
fn: u
|
|
1150
|
+
}, !0, "toBeChecked()")), this.toHaveDisabled = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1151
|
+
type: "eval",
|
|
1152
|
+
el: this.wrapper.unwrap(),
|
|
1153
|
+
fn: x
|
|
1154
|
+
}, e, "toHaveDisabled(${value})")), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1155
|
+
type: "eval",
|
|
1156
|
+
el: this.wrapper.unwrap(),
|
|
1157
|
+
fn: S
|
|
1158
|
+
}, e, "toHaveIcon(${value})")), this.toBeUnchecked = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
1159
|
+
type: "eval",
|
|
1160
|
+
el: this.wrapper.unwrap(),
|
|
1161
|
+
fn: u
|
|
1162
|
+
}, !1, "toBeUnchecked()"));
|
|
1163
|
+
}
|
|
1164
|
+
}, Yn = { name: "nav" }, Xn = class extends e {
|
|
1165
|
+
constructor(...e) {
|
|
1166
|
+
super(...e), this.type = "nav", this.componentInfo = Yn, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1167
|
+
}
|
|
1168
|
+
}, Zn = class extends t {
|
|
1169
|
+
constructor(...e) {
|
|
1170
|
+
super(...e), this.componentInfo = Yn, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1171
|
+
}
|
|
1172
|
+
wrap(e) {
|
|
1173
|
+
return new Xn(this.ctx, e);
|
|
1174
|
+
}
|
|
1175
|
+
}, Qn = class {
|
|
1176
|
+
constructor(e, t) {
|
|
1177
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = (e, t) => {
|
|
1178
|
+
throw Error("Component does not have props.");
|
|
1179
|
+
};
|
|
1180
|
+
}
|
|
1181
|
+
}, $n = { name: "nav-disclosure" }, er = class extends e {
|
|
1182
|
+
constructor(...e) {
|
|
1183
|
+
super(...e), this.type = "navDisclosure", this.componentInfo = $n, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.collapse = this.ctx.driver.wrapAction(B.bind(this, !1)), this.expand = this.ctx.driver.wrapAction(B.bind(this, !0)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.summary = H.bind(this, "summary");
|
|
1184
|
+
}
|
|
1185
|
+
}, tr = class extends t {
|
|
1186
|
+
constructor(...e) {
|
|
1187
|
+
super(...e), this.componentInfo = $n, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1188
|
+
}
|
|
1189
|
+
wrap(e) {
|
|
1190
|
+
return new er(this.ctx, e);
|
|
1191
|
+
}
|
|
1192
|
+
}, nr = class {
|
|
1193
|
+
constructor(e, t) {
|
|
1194
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1195
|
+
type: "eval",
|
|
1196
|
+
el: this.wrapper.unwrap(),
|
|
1197
|
+
fn: (e, t) => e[t],
|
|
1198
|
+
arg: e
|
|
1199
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.notToBeCurrent = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
1200
|
+
type: "eval",
|
|
1201
|
+
el: this.wrapper.unwrap(),
|
|
1202
|
+
fn: y
|
|
1203
|
+
}, !1, "notToBeCurrent()")), this.toBeClosed = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
1204
|
+
type: "eval",
|
|
1205
|
+
el: this.wrapper.unwrap(),
|
|
1206
|
+
fn: m
|
|
1207
|
+
}, !1, "toBeClosed()")), this.toBeCurrent = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
1208
|
+
type: "eval",
|
|
1209
|
+
el: this.wrapper.unwrap(),
|
|
1210
|
+
fn: y
|
|
1211
|
+
}, !0, "toBeCurrent()")), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1212
|
+
type: "eval",
|
|
1213
|
+
el: this.wrapper.unwrap(),
|
|
1214
|
+
fn: S
|
|
1215
|
+
}, e, "toHaveIcon(${value})")), this.toBeOpen = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
1216
|
+
type: "eval",
|
|
1217
|
+
el: this.wrapper.unwrap(),
|
|
1218
|
+
fn: m
|
|
1219
|
+
}, !0, "toBeOpen()"));
|
|
1220
|
+
}
|
|
1221
|
+
}, rr = { name: "nav-item" }, ir = class extends e {
|
|
1222
|
+
constructor(...e) {
|
|
1223
|
+
super(...e), this.type = "navItem", this.componentInfo = rr, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.click = this.ctx.driver.wrapAction(C.bind(this, () => this.control())), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.control = H.bind(this, ".control");
|
|
1224
|
+
}
|
|
1225
|
+
}, ar = class extends t {
|
|
1226
|
+
constructor(...e) {
|
|
1227
|
+
super(...e), this.componentInfo = rr, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1228
|
+
}
|
|
1229
|
+
wrap(e) {
|
|
1230
|
+
return new ir(this.ctx, e);
|
|
1231
|
+
}
|
|
1232
|
+
}, or = class {
|
|
1233
|
+
constructor(e, t) {
|
|
1234
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1235
|
+
type: "eval",
|
|
1236
|
+
el: this.wrapper.unwrap(),
|
|
1237
|
+
fn: (e, t) => e[t],
|
|
1238
|
+
arg: e
|
|
1239
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.notToBeCurrent = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
1240
|
+
type: "eval",
|
|
1241
|
+
el: this.wrapper.unwrap(),
|
|
1242
|
+
fn: y
|
|
1243
|
+
}, !1, "notToBeCurrent()")), this.toBeCurrent = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
1244
|
+
type: "eval",
|
|
1245
|
+
el: this.wrapper.unwrap(),
|
|
1246
|
+
fn: y
|
|
1247
|
+
}, !0, "toBeCurrent()")), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1248
|
+
type: "eval",
|
|
1249
|
+
el: this.wrapper.unwrap(),
|
|
1250
|
+
fn: S
|
|
1251
|
+
}, e, "toHaveIcon(${value})"));
|
|
1252
|
+
}
|
|
1253
|
+
}, sr = { name: "note" }, cr = class extends e {
|
|
1254
|
+
constructor(...e) {
|
|
1255
|
+
super(...e), this.type = "note", this.componentInfo = sr, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1256
|
+
}
|
|
1257
|
+
}, lr = class extends t {
|
|
1258
|
+
constructor(...e) {
|
|
1259
|
+
super(...e), this.componentInfo = sr, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1260
|
+
}
|
|
1261
|
+
wrap(e) {
|
|
1262
|
+
return new cr(this.ctx, e);
|
|
1263
|
+
}
|
|
1264
|
+
}, ur = class {
|
|
1265
|
+
constructor(e, t) {
|
|
1266
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1267
|
+
type: "eval",
|
|
1268
|
+
el: this.wrapper.unwrap(),
|
|
1269
|
+
fn: (e, t) => e[t],
|
|
1270
|
+
arg: e
|
|
1271
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1272
|
+
type: "eval",
|
|
1273
|
+
el: this.wrapper.unwrap(),
|
|
1274
|
+
fn: S
|
|
1275
|
+
}, e, "toHaveIcon(${value})"));
|
|
1276
|
+
}
|
|
1277
|
+
}, dr = { name: "number-field" }, fr = class extends e {
|
|
1278
|
+
constructor(...e) {
|
|
1279
|
+
super(...e), this.type = "numberField", this.componentInfo = dr, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.clear = this.ctx.driver.wrapAction(T.bind(this, () => this.control())), this.clickDecrement = this.ctx.driver.wrapAction(P.bind(this, () => this.decrementButton())), this.clickIncrement = this.ctx.driver.wrapAction(P.bind(this, () => this.incrementButton())), this.fill = this.ctx.driver.wrapAction(w.bind(this, () => this.control())), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.control = H.bind(this, "input.control"), this.decrementButton = U.bind(this, "#subtract"), this.incrementButton = U.bind(this, "#add");
|
|
1280
|
+
}
|
|
1281
|
+
}, pr = class extends t {
|
|
1282
|
+
constructor(...e) {
|
|
1283
|
+
super(...e), this.componentInfo = dr, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1284
|
+
}
|
|
1285
|
+
wrap(e) {
|
|
1286
|
+
return new fr(this.ctx, e);
|
|
1287
|
+
}
|
|
1288
|
+
}, mr = class {
|
|
1289
|
+
constructor(e, t) {
|
|
1290
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1291
|
+
type: "eval",
|
|
1292
|
+
el: this.wrapper.unwrap(),
|
|
1293
|
+
fn: (e, t) => e[t],
|
|
1294
|
+
arg: e
|
|
1295
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1296
|
+
type: "eval",
|
|
1297
|
+
el: this.wrapper.unwrap(),
|
|
1298
|
+
fn: S
|
|
1299
|
+
}, e, "toHaveIcon(${value})")), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1300
|
+
type: "eval",
|
|
1301
|
+
el: this.wrapper.unwrap(),
|
|
1302
|
+
fn: h
|
|
1303
|
+
}, e, "toHaveValue(${value})")), this.toHaveValueAsNumber = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1304
|
+
type: "eval",
|
|
1305
|
+
el: this.wrapper.unwrap(),
|
|
1306
|
+
fn: g
|
|
1307
|
+
}, e, "toHaveValueAsNumber(${value})")), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1308
|
+
type: "eval",
|
|
1309
|
+
el: this.wrapper.unwrap(),
|
|
1310
|
+
fn: f
|
|
1311
|
+
}, e, "toHaveVisibleError(${value})"));
|
|
1312
|
+
}
|
|
1313
|
+
}, hr = { name: "option" }, gr = class extends e {
|
|
1314
|
+
constructor(...e) {
|
|
1315
|
+
super(...e), this.type = "option", this.componentInfo = hr, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.click = this.ctx.driver.wrapAction(C.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1316
|
+
}
|
|
1317
|
+
}, _r = class extends t {
|
|
1318
|
+
constructor(...e) {
|
|
1319
|
+
super(...e), this.componentInfo = hr, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1320
|
+
}
|
|
1321
|
+
wrap(e) {
|
|
1322
|
+
return new gr(this.ctx, e);
|
|
1323
|
+
}
|
|
1324
|
+
}, vr = class {
|
|
1325
|
+
constructor(e, t) {
|
|
1326
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1327
|
+
type: "eval",
|
|
1328
|
+
el: this.wrapper.unwrap(),
|
|
1329
|
+
fn: (e, t) => e[t],
|
|
1330
|
+
arg: e
|
|
1331
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1332
|
+
type: "eval",
|
|
1333
|
+
el: this.wrapper.unwrap(),
|
|
1334
|
+
fn: S
|
|
1335
|
+
}, e, "toHaveIcon(${value})"));
|
|
1336
|
+
}
|
|
1337
|
+
}, yr = { name: "pagination" }, br = class extends e {
|
|
1338
|
+
constructor(...e) {
|
|
1339
|
+
super(...e), this.type = "pagination", this.componentInfo = yr, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.clickNext = this.ctx.driver.wrapAction(C.bind(this, () => this.nextButton())), this.clickPageIndex = this.ctx.driver.wrapAction(_e.bind(this)), this.clickPrev = this.ctx.driver.wrapAction(C.bind(this, () => this.prevButton())), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.nextButton = H.bind(this, ".next-button"), this.prevButton = H.bind(this, ".prev-button");
|
|
1340
|
+
}
|
|
1341
|
+
}, xr = class extends t {
|
|
1342
|
+
constructor(...e) {
|
|
1343
|
+
super(...e), this.componentInfo = yr, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1344
|
+
}
|
|
1345
|
+
wrap(e) {
|
|
1346
|
+
return new br(this.ctx, e);
|
|
1347
|
+
}
|
|
1348
|
+
}, Sr = class {
|
|
1349
|
+
constructor(e, t) {
|
|
1350
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1351
|
+
type: "eval",
|
|
1352
|
+
el: this.wrapper.unwrap(),
|
|
1353
|
+
fn: (e, t) => e[t],
|
|
1354
|
+
arg: e
|
|
1355
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveSelectedPage = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1356
|
+
type: "eval",
|
|
1357
|
+
el: this.wrapper.unwrap(),
|
|
1358
|
+
fn: ce
|
|
1359
|
+
}, e, "toHaveSelectedPage(${value})")), this.toHaveTotal = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1360
|
+
type: "eval",
|
|
1361
|
+
el: this.wrapper.unwrap(),
|
|
1362
|
+
fn: se
|
|
1363
|
+
}, e, "toHaveTotal(${value})"));
|
|
1364
|
+
}
|
|
1365
|
+
}, Cr = { name: "popover" }, wr = class extends e {
|
|
1366
|
+
constructor(...e) {
|
|
1367
|
+
super(...e), this.type = "popover", this.componentInfo = Cr, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1368
|
+
}
|
|
1369
|
+
}, Tr = class extends t {
|
|
1370
|
+
constructor(...e) {
|
|
1371
|
+
super(...e), this.componentInfo = Cr, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1372
|
+
}
|
|
1373
|
+
wrap(e) {
|
|
1374
|
+
return new wr(this.ctx, e);
|
|
1375
|
+
}
|
|
1376
|
+
}, Er = class {
|
|
1377
|
+
constructor(e, t) {
|
|
1378
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1379
|
+
type: "eval",
|
|
1380
|
+
el: this.wrapper.unwrap(),
|
|
1381
|
+
fn: (e, t) => e[t],
|
|
1382
|
+
arg: e
|
|
1383
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
1384
|
+
}
|
|
1385
|
+
}, Dr = { name: "progress" }, Or = class extends e {
|
|
1386
|
+
constructor(...e) {
|
|
1387
|
+
super(...e), this.type = "progress", this.componentInfo = Dr, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1388
|
+
}
|
|
1389
|
+
}, kr = class extends t {
|
|
1390
|
+
constructor(...e) {
|
|
1391
|
+
super(...e), this.componentInfo = Dr, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1392
|
+
}
|
|
1393
|
+
wrap(e) {
|
|
1394
|
+
return new Or(this.ctx, e);
|
|
1395
|
+
}
|
|
1396
|
+
}, Ar = class {
|
|
1397
|
+
constructor(e, t) {
|
|
1398
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1399
|
+
type: "eval",
|
|
1400
|
+
el: this.wrapper.unwrap(),
|
|
1401
|
+
fn: (e, t) => e[t],
|
|
1402
|
+
arg: e
|
|
1403
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
1404
|
+
}
|
|
1405
|
+
}, jr = { name: "progress-ring" }, Mr = class extends e {
|
|
1406
|
+
constructor(...e) {
|
|
1407
|
+
super(...e), this.type = "progressRing", this.componentInfo = jr, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1408
|
+
}
|
|
1409
|
+
}, Nr = class extends t {
|
|
1410
|
+
constructor(...e) {
|
|
1411
|
+
super(...e), this.componentInfo = jr, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1412
|
+
}
|
|
1413
|
+
wrap(e) {
|
|
1414
|
+
return new Mr(this.ctx, e);
|
|
1415
|
+
}
|
|
1416
|
+
}, Pr = class {
|
|
1417
|
+
constructor(e, t) {
|
|
1418
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1419
|
+
type: "eval",
|
|
1420
|
+
el: this.wrapper.unwrap(),
|
|
1421
|
+
fn: (e, t) => e[t],
|
|
1422
|
+
arg: e
|
|
1423
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
1424
|
+
}
|
|
1425
|
+
}, Fr = { name: "radio" }, Ir = class extends e {
|
|
1426
|
+
constructor(...e) {
|
|
1427
|
+
super(...e), this.type = "radio", this.componentInfo = Fr, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.check = this.ctx.driver.wrapAction(C.bind(this, () => this.control())), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.control = H.bind(this, ".control");
|
|
1428
|
+
}
|
|
1429
|
+
}, Lr = class extends t {
|
|
1430
|
+
constructor(...e) {
|
|
1431
|
+
super(...e), this.componentInfo = Fr, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1432
|
+
}
|
|
1433
|
+
wrap(e) {
|
|
1434
|
+
return new Ir(this.ctx, e);
|
|
1435
|
+
}
|
|
1436
|
+
}, Rr = class {
|
|
1437
|
+
constructor(e, t) {
|
|
1438
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1439
|
+
type: "eval",
|
|
1440
|
+
el: this.wrapper.unwrap(),
|
|
1441
|
+
fn: (e, t) => e[t],
|
|
1442
|
+
arg: e
|
|
1443
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toBeChecked = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
1444
|
+
type: "eval",
|
|
1445
|
+
el: this.wrapper.unwrap(),
|
|
1446
|
+
fn: u
|
|
1447
|
+
}, !0, "toBeChecked()")), this.toBeUnchecked = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
1448
|
+
type: "eval",
|
|
1449
|
+
el: this.wrapper.unwrap(),
|
|
1450
|
+
fn: u
|
|
1451
|
+
}, !1, "toBeUnchecked()")), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1452
|
+
type: "eval",
|
|
1453
|
+
el: this.wrapper.unwrap(),
|
|
1454
|
+
fn: h
|
|
1455
|
+
}, e, "toHaveValue(${value})")), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1456
|
+
type: "eval",
|
|
1457
|
+
el: this.wrapper.unwrap(),
|
|
1458
|
+
fn: f
|
|
1459
|
+
}, e, "toHaveVisibleError(${value})"));
|
|
1460
|
+
}
|
|
1461
|
+
}, zr = { name: "radio-group" }, Br = class extends e {
|
|
1462
|
+
constructor(...e) {
|
|
1463
|
+
super(...e), this.type = "radioGroup", this.componentInfo = zr, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1464
|
+
}
|
|
1465
|
+
}, Vr = class extends t {
|
|
1466
|
+
constructor(...e) {
|
|
1467
|
+
super(...e), this.componentInfo = zr, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1468
|
+
}
|
|
1469
|
+
wrap(e) {
|
|
1470
|
+
return new Br(this.ctx, e);
|
|
1471
|
+
}
|
|
1472
|
+
}, Hr = class {
|
|
1473
|
+
constructor(e, t) {
|
|
1474
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1475
|
+
type: "eval",
|
|
1476
|
+
el: this.wrapper.unwrap(),
|
|
1477
|
+
fn: (e, t) => e[t],
|
|
1478
|
+
arg: e
|
|
1479
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
1480
|
+
}
|
|
1481
|
+
}, Ur = { name: "range-slider" }, Wr = class extends e {
|
|
1482
|
+
constructor(...e) {
|
|
1483
|
+
super(...e), this.type = "rangeSlider", this.componentInfo = Ur, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.slideEndTo = this.ctx.driver.wrapAction(R.bind(this, () => this.track(), () => this.endThumb())), this.slideStartTo = this.ctx.driver.wrapAction(R.bind(this, () => this.track(), () => this.startThumb())), this.endThumb = H.bind(this, "#end-thumb"), this.startThumb = H.bind(this, "#start-thumb"), this.track = H.bind(this, ".control");
|
|
1484
|
+
}
|
|
1485
|
+
}, Gr = class extends t {
|
|
1486
|
+
constructor(...e) {
|
|
1487
|
+
super(...e), this.componentInfo = Ur, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1488
|
+
}
|
|
1489
|
+
wrap(e) {
|
|
1490
|
+
return new Wr(this.ctx, e);
|
|
1491
|
+
}
|
|
1492
|
+
}, Kr = class {
|
|
1493
|
+
constructor(e, t) {
|
|
1494
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1495
|
+
type: "eval",
|
|
1496
|
+
el: this.wrapper.unwrap(),
|
|
1497
|
+
fn: (e, t) => e[t],
|
|
1498
|
+
arg: e
|
|
1499
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveRange = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1500
|
+
type: "eval",
|
|
1501
|
+
el: this.wrapper.unwrap(),
|
|
1502
|
+
fn: ae
|
|
1503
|
+
}, e, "toHaveRange(${value})")), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1504
|
+
type: "eval",
|
|
1505
|
+
el: this.wrapper.unwrap(),
|
|
1506
|
+
fn: h
|
|
1507
|
+
}, e, "toHaveValue(${value})")), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1508
|
+
type: "eval",
|
|
1509
|
+
el: this.wrapper.unwrap(),
|
|
1510
|
+
fn: f
|
|
1511
|
+
}, e, "toHaveVisibleError(${value})"));
|
|
1512
|
+
}
|
|
1513
|
+
}, qr = { name: "rich-text-editor" }, Jr = class extends e {
|
|
1514
|
+
constructor(...e) {
|
|
1515
|
+
super(...e), this.type = "richTextEditor", this.componentInfo = qr, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1516
|
+
}
|
|
1517
|
+
}, Yr = class extends t {
|
|
1518
|
+
constructor(...e) {
|
|
1519
|
+
super(...e), this.componentInfo = qr, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1520
|
+
}
|
|
1521
|
+
wrap(e) {
|
|
1522
|
+
return new Jr(this.ctx, e);
|
|
1523
|
+
}
|
|
1524
|
+
}, Xr = class {
|
|
1525
|
+
constructor(e, t) {
|
|
1526
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1527
|
+
type: "eval",
|
|
1528
|
+
el: this.wrapper.unwrap(),
|
|
1529
|
+
fn: (e, t) => e[t],
|
|
1530
|
+
arg: e
|
|
1531
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
1532
|
+
}
|
|
1533
|
+
}, Zr = { name: "rich-text-view" }, Qr = class extends e {
|
|
1534
|
+
constructor(...e) {
|
|
1535
|
+
super(...e), this.type = "richTextView", this.componentInfo = Zr, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1536
|
+
}
|
|
1537
|
+
}, $r = class extends t {
|
|
1538
|
+
constructor(...e) {
|
|
1539
|
+
super(...e), this.componentInfo = Zr, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1540
|
+
}
|
|
1541
|
+
wrap(e) {
|
|
1542
|
+
return new Qr(this.ctx, e);
|
|
1543
|
+
}
|
|
1544
|
+
}, ei = class {
|
|
1545
|
+
constructor(e, t) {
|
|
1546
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1547
|
+
type: "eval",
|
|
1548
|
+
el: this.wrapper.unwrap(),
|
|
1549
|
+
fn: (e, t) => e[t],
|
|
1550
|
+
arg: e
|
|
1551
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
1552
|
+
}
|
|
1553
|
+
}, ti = { name: "searchable-select" }, ni = class extends e {
|
|
1554
|
+
constructor(...e) {
|
|
1555
|
+
super(...e), this.type = "searchableSelect", this.componentInfo = ti, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.selectOptionByText = this.ctx.driver.wrapAction(M.bind(this)), this.selectOptionByValue = this.ctx.driver.wrapAction(j.bind(this));
|
|
1556
|
+
}
|
|
1557
|
+
}, ri = class extends t {
|
|
1558
|
+
constructor(...e) {
|
|
1559
|
+
super(...e), this.componentInfo = ti, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1560
|
+
}
|
|
1561
|
+
wrap(e) {
|
|
1562
|
+
return new ni(this.ctx, e);
|
|
1563
|
+
}
|
|
1564
|
+
}, ii = class {
|
|
1565
|
+
constructor(e, t) {
|
|
1566
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1567
|
+
type: "eval",
|
|
1568
|
+
el: this.wrapper.unwrap(),
|
|
1569
|
+
fn: (e, t) => e[t],
|
|
1570
|
+
arg: e
|
|
1571
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1572
|
+
type: "eval",
|
|
1573
|
+
el: this.wrapper.unwrap(),
|
|
1574
|
+
fn: S
|
|
1575
|
+
}, e, "toHaveIcon(${value})")), this.toHaveSelectedOptions = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1576
|
+
type: "eval",
|
|
1577
|
+
el: this.wrapper.unwrap(),
|
|
1578
|
+
fn: re
|
|
1579
|
+
}, e, "toHaveSelectedOptions(${value})")), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1580
|
+
type: "eval",
|
|
1581
|
+
el: this.wrapper.unwrap(),
|
|
1582
|
+
fn: h
|
|
1583
|
+
}, e, "toHaveValue(${value})")), this.toHaveValues = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1584
|
+
type: "eval",
|
|
1585
|
+
el: this.wrapper.unwrap(),
|
|
1586
|
+
fn: ne
|
|
1587
|
+
}, e, "toHaveValues(${value})")), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1588
|
+
type: "eval",
|
|
1589
|
+
el: this.wrapper.unwrap(),
|
|
1590
|
+
fn: f
|
|
1591
|
+
}, e, "toHaveVisibleError(${value})"));
|
|
1592
|
+
}
|
|
1593
|
+
}, ai = { name: "select" }, oi = class extends e {
|
|
1594
|
+
constructor(...e) {
|
|
1595
|
+
super(...e), this.type = "select", this.componentInfo = ai, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.selectOptionByText = this.ctx.driver.wrapAction(M.bind(this)), this.selectOptionByValue = this.ctx.driver.wrapAction(j.bind(this));
|
|
1596
|
+
}
|
|
1597
|
+
}, si = class extends t {
|
|
1598
|
+
constructor(...e) {
|
|
1599
|
+
super(...e), this.componentInfo = ai, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1600
|
+
}
|
|
1601
|
+
wrap(e) {
|
|
1602
|
+
return new oi(this.ctx, e);
|
|
1603
|
+
}
|
|
1604
|
+
}, ci = class {
|
|
1605
|
+
constructor(e, t) {
|
|
1606
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1607
|
+
type: "eval",
|
|
1608
|
+
el: this.wrapper.unwrap(),
|
|
1609
|
+
fn: (e, t) => e[t],
|
|
1610
|
+
arg: e
|
|
1611
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1612
|
+
type: "eval",
|
|
1613
|
+
el: this.wrapper.unwrap(),
|
|
1614
|
+
fn: S
|
|
1615
|
+
}, e, "toHaveIcon(${value})")), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1616
|
+
type: "eval",
|
|
1617
|
+
el: this.wrapper.unwrap(),
|
|
1618
|
+
fn: h
|
|
1619
|
+
}, e, "toHaveValue(${value})")), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1620
|
+
type: "eval",
|
|
1621
|
+
el: this.wrapper.unwrap(),
|
|
1622
|
+
fn: f
|
|
1623
|
+
}, e, "toHaveVisibleError(${value})"));
|
|
1624
|
+
}
|
|
1625
|
+
}, li = { name: "selectable-box" }, ui = class extends e {
|
|
1626
|
+
constructor(...e) {
|
|
1627
|
+
super(...e), this.type = "selectableBox", this.componentInfo = li, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.check = this.ctx.driver.wrapAction(E.bind(this, () => this.control())), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.uncheck = this.ctx.driver.wrapAction(D.bind(this, () => this.control())), this.control = ye.bind(this, "[data-vvd-component].control", "div.control");
|
|
1628
|
+
}
|
|
1629
|
+
}, di = class extends t {
|
|
1630
|
+
constructor(...e) {
|
|
1631
|
+
super(...e), this.componentInfo = li, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1632
|
+
}
|
|
1633
|
+
wrap(e) {
|
|
1634
|
+
return new ui(this.ctx, e);
|
|
1635
|
+
}
|
|
1636
|
+
}, fi = class {
|
|
1637
|
+
constructor(e, t) {
|
|
1638
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1639
|
+
type: "eval",
|
|
1640
|
+
el: this.wrapper.unwrap(),
|
|
1641
|
+
fn: (e, t) => e[t],
|
|
1642
|
+
arg: e
|
|
1643
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toBeChecked = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
1644
|
+
type: "eval",
|
|
1645
|
+
el: this.wrapper.unwrap(),
|
|
1646
|
+
fn: u
|
|
1647
|
+
}, !0, "toBeChecked()")), this.toBeUnchecked = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
1648
|
+
type: "eval",
|
|
1649
|
+
el: this.wrapper.unwrap(),
|
|
1650
|
+
fn: u
|
|
1651
|
+
}, !1, "toBeUnchecked()"));
|
|
1652
|
+
}
|
|
1653
|
+
}, pi = { name: "side-drawer" }, mi = class extends e {
|
|
1654
|
+
constructor(...e) {
|
|
1655
|
+
super(...e), this.type = "sideDrawer", this.componentInfo = pi, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1656
|
+
}
|
|
1657
|
+
}, hi = class extends t {
|
|
1658
|
+
constructor(...e) {
|
|
1659
|
+
super(...e), this.componentInfo = pi, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1660
|
+
}
|
|
1661
|
+
wrap(e) {
|
|
1662
|
+
return new mi(this.ctx, e);
|
|
1663
|
+
}
|
|
1664
|
+
}, gi = class {
|
|
1665
|
+
constructor(e, t) {
|
|
1666
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1667
|
+
type: "eval",
|
|
1668
|
+
el: this.wrapper.unwrap(),
|
|
1669
|
+
fn: (e, t) => e[t],
|
|
1670
|
+
arg: e
|
|
1671
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
1672
|
+
}
|
|
1673
|
+
}, _i = { name: "simple-color-picker" }, vi = class extends e {
|
|
1674
|
+
constructor(...e) {
|
|
1675
|
+
super(...e), this.type = "simpleColorPicker", this.componentInfo = _i, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1676
|
+
}
|
|
1677
|
+
}, yi = class extends t {
|
|
1678
|
+
constructor(...e) {
|
|
1679
|
+
super(...e), this.componentInfo = _i, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1680
|
+
}
|
|
1681
|
+
wrap(e) {
|
|
1682
|
+
return new vi(this.ctx, e);
|
|
1683
|
+
}
|
|
1684
|
+
}, bi = class {
|
|
1685
|
+
constructor(e, t) {
|
|
1686
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1687
|
+
type: "eval",
|
|
1688
|
+
el: this.wrapper.unwrap(),
|
|
1689
|
+
fn: (e, t) => e[t],
|
|
1690
|
+
arg: e
|
|
1691
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1692
|
+
type: "eval",
|
|
1693
|
+
el: this.wrapper.unwrap(),
|
|
1694
|
+
fn: h
|
|
1695
|
+
}, e, "toHaveValue(${value})")), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1696
|
+
type: "eval",
|
|
1697
|
+
el: this.wrapper.unwrap(),
|
|
1698
|
+
fn: f
|
|
1699
|
+
}, e, "toHaveVisibleError(${value})"));
|
|
1700
|
+
}
|
|
1701
|
+
}, xi = { name: "slider" }, Si = class extends e {
|
|
1702
|
+
constructor(...e) {
|
|
1703
|
+
super(...e), this.type = "slider", this.componentInfo = xi, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.slideTo = this.ctx.driver.wrapAction(R.bind(this, () => this.track(), () => this.thumb())), this.thumb = H.bind(this, ".thumb-container"), this.track = H.bind(this, ".control");
|
|
1704
|
+
}
|
|
1705
|
+
}, Ci = class extends t {
|
|
1706
|
+
constructor(...e) {
|
|
1707
|
+
super(...e), this.componentInfo = xi, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1708
|
+
}
|
|
1709
|
+
wrap(e) {
|
|
1710
|
+
return new Si(this.ctx, e);
|
|
1711
|
+
}
|
|
1712
|
+
}, wi = class {
|
|
1713
|
+
constructor(e, t) {
|
|
1714
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1715
|
+
type: "eval",
|
|
1716
|
+
el: this.wrapper.unwrap(),
|
|
1717
|
+
fn: (e, t) => e[t],
|
|
1718
|
+
arg: e
|
|
1719
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1720
|
+
type: "eval",
|
|
1721
|
+
el: this.wrapper.unwrap(),
|
|
1722
|
+
fn: h
|
|
1723
|
+
}, e, "toHaveValue(${value})")), this.toHaveValueAsNumber = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1724
|
+
type: "eval",
|
|
1725
|
+
el: this.wrapper.unwrap(),
|
|
1726
|
+
fn: g
|
|
1727
|
+
}, e, "toHaveValueAsNumber(${value})"));
|
|
1728
|
+
}
|
|
1729
|
+
}, Ti = { name: "split-button" }, Ei = class extends e {
|
|
1730
|
+
constructor(...e) {
|
|
1731
|
+
super(...e), this.type = "splitButton", this.componentInfo = Ti, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.clickAction = this.ctx.driver.wrapAction(C.bind(this, () => this.actionButton())), this.clickIndicator = this.ctx.driver.wrapAction(C.bind(this, () => this.indicatorButton())), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.actionButton = H.bind(this, "button.control"), this.indicatorButton = H.bind(this, "button.indicator");
|
|
1732
|
+
}
|
|
1733
|
+
}, Di = class extends t {
|
|
1734
|
+
constructor(...e) {
|
|
1735
|
+
super(...e), this.componentInfo = Ti, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1736
|
+
}
|
|
1737
|
+
wrap(e) {
|
|
1738
|
+
return new Ei(this.ctx, e);
|
|
1739
|
+
}
|
|
1740
|
+
}, Oi = class {
|
|
1741
|
+
constructor(e, t) {
|
|
1742
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1743
|
+
type: "eval",
|
|
1744
|
+
el: this.wrapper.unwrap(),
|
|
1745
|
+
fn: (e, t) => e[t],
|
|
1746
|
+
arg: e
|
|
1747
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1748
|
+
type: "eval",
|
|
1749
|
+
el: this.wrapper.unwrap(),
|
|
1750
|
+
fn: S
|
|
1751
|
+
}, e, "toHaveIcon(${value})"));
|
|
1752
|
+
}
|
|
1753
|
+
}, ki = { name: "status" }, Ai = class extends e {
|
|
1754
|
+
constructor(...e) {
|
|
1755
|
+
super(...e), this.type = "status", this.componentInfo = ki, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1756
|
+
}
|
|
1757
|
+
}, ji = class extends t {
|
|
1758
|
+
constructor(...e) {
|
|
1759
|
+
super(...e), this.componentInfo = ki, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1760
|
+
}
|
|
1761
|
+
wrap(e) {
|
|
1762
|
+
return new Ai(this.ctx, e);
|
|
1763
|
+
}
|
|
1764
|
+
}, Mi = class {
|
|
1765
|
+
constructor(e, t) {
|
|
1766
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1767
|
+
type: "eval",
|
|
1768
|
+
el: this.wrapper.unwrap(),
|
|
1769
|
+
fn: (e, t) => e[t],
|
|
1770
|
+
arg: e
|
|
1771
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1772
|
+
type: "eval",
|
|
1773
|
+
el: this.wrapper.unwrap(),
|
|
1774
|
+
fn: S
|
|
1775
|
+
}, e, "toHaveIcon(${value})"));
|
|
1776
|
+
}
|
|
1777
|
+
}, Ni = { name: "switch" }, Pi = class extends e {
|
|
1778
|
+
constructor(...e) {
|
|
1779
|
+
super(...e), this.type = "switch", this.componentInfo = Ni, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.check = this.ctx.driver.wrapAction(C.bind(this, () => this.switch())), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.uncheck = this.ctx.driver.wrapAction(C.bind(this, () => this.switch())), this.switch = H.bind(this, ".switch");
|
|
1780
|
+
}
|
|
1781
|
+
}, Fi = class extends t {
|
|
1782
|
+
constructor(...e) {
|
|
1783
|
+
super(...e), this.componentInfo = Ni, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1784
|
+
}
|
|
1785
|
+
wrap(e) {
|
|
1786
|
+
return new Pi(this.ctx, e);
|
|
1787
|
+
}
|
|
1788
|
+
}, Ii = class {
|
|
1789
|
+
constructor(e, t) {
|
|
1790
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1791
|
+
type: "eval",
|
|
1792
|
+
el: this.wrapper.unwrap(),
|
|
1793
|
+
fn: (e, t) => e[t],
|
|
1794
|
+
arg: e
|
|
1795
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toBeChecked = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
1796
|
+
type: "eval",
|
|
1797
|
+
el: this.wrapper.unwrap(),
|
|
1798
|
+
fn: u
|
|
1799
|
+
}, !0, "toBeChecked()")), this.toBeUnchecked = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
1800
|
+
type: "eval",
|
|
1801
|
+
el: this.wrapper.unwrap(),
|
|
1802
|
+
fn: u
|
|
1803
|
+
}, !1, "toBeUnchecked()")), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1804
|
+
type: "eval",
|
|
1805
|
+
el: this.wrapper.unwrap(),
|
|
1806
|
+
fn: h
|
|
1807
|
+
}, e, "toHaveValue(${value})"));
|
|
1808
|
+
}
|
|
1809
|
+
}, Li = { name: "tab" }, Ri = class extends e {
|
|
1810
|
+
constructor(...e) {
|
|
1811
|
+
super(...e), this.type = "tab", this.componentInfo = Li, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.select = this.ctx.driver.wrapAction(C.bind(this, () => this.base())), this.base = H.bind(this, ".base");
|
|
1812
|
+
}
|
|
1813
|
+
}, zi = class extends t {
|
|
1814
|
+
constructor(...e) {
|
|
1815
|
+
super(...e), this.componentInfo = Li, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1816
|
+
}
|
|
1817
|
+
wrap(e) {
|
|
1818
|
+
return new Ri(this.ctx, e);
|
|
1819
|
+
}
|
|
1820
|
+
}, Bi = class {
|
|
1821
|
+
constructor(e, t) {
|
|
1822
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1823
|
+
type: "eval",
|
|
1824
|
+
el: this.wrapper.unwrap(),
|
|
1825
|
+
fn: (e, t) => e[t],
|
|
1826
|
+
arg: e
|
|
1827
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toBeActive = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
1828
|
+
type: "eval",
|
|
1829
|
+
el: this.wrapper.unwrap(),
|
|
1830
|
+
fn: v
|
|
1831
|
+
}, !0, "toBeActive()")), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
1832
|
+
type: "eval",
|
|
1833
|
+
el: this.wrapper.unwrap(),
|
|
1834
|
+
fn: S
|
|
1835
|
+
}, e, "toHaveIcon(${value})")), this.toBeInactive = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
1836
|
+
type: "eval",
|
|
1837
|
+
el: this.wrapper.unwrap(),
|
|
1838
|
+
fn: v
|
|
1839
|
+
}, !1, "toBeInactive()"));
|
|
1840
|
+
}
|
|
1841
|
+
}, Vi = { name: "tab-panel" }, Hi = class extends e {
|
|
1842
|
+
constructor(...e) {
|
|
1843
|
+
super(...e), this.type = "tabPanel", this.componentInfo = Vi, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1844
|
+
}
|
|
1845
|
+
}, Ui = class extends t {
|
|
1846
|
+
constructor(...e) {
|
|
1847
|
+
super(...e), this.componentInfo = Vi, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1848
|
+
}
|
|
1849
|
+
wrap(e) {
|
|
1850
|
+
return new Hi(this.ctx, e);
|
|
1851
|
+
}
|
|
1852
|
+
}, Wi = class {
|
|
1853
|
+
constructor(e, t) {
|
|
1854
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = (e, t) => {
|
|
1855
|
+
throw Error("Component does not have props.");
|
|
1856
|
+
};
|
|
1857
|
+
}
|
|
1858
|
+
}, Gi = { name: "table" }, Ki = class extends e {
|
|
1859
|
+
constructor(...e) {
|
|
1860
|
+
super(...e), this.type = "table", this.componentInfo = Gi, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1861
|
+
}
|
|
1862
|
+
}, qi = class extends t {
|
|
1863
|
+
constructor(...e) {
|
|
1864
|
+
super(...e), this.componentInfo = Gi, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1865
|
+
}
|
|
1866
|
+
wrap(e) {
|
|
1867
|
+
return new Ki(this.ctx, e);
|
|
1868
|
+
}
|
|
1869
|
+
}, Ji = class {
|
|
1870
|
+
constructor(e, t) {
|
|
1871
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = (e, t) => {
|
|
1872
|
+
throw Error("Component does not have props.");
|
|
1873
|
+
};
|
|
1874
|
+
}
|
|
1875
|
+
}, Yi = { name: "table-body" }, Xi = class extends e {
|
|
1876
|
+
constructor(...e) {
|
|
1877
|
+
super(...e), this.type = "tableBody", this.componentInfo = Yi, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1878
|
+
}
|
|
1879
|
+
}, Zi = class extends t {
|
|
1880
|
+
constructor(...e) {
|
|
1881
|
+
super(...e), this.componentInfo = Yi, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1882
|
+
}
|
|
1883
|
+
wrap(e) {
|
|
1884
|
+
return new Xi(this.ctx, e);
|
|
1885
|
+
}
|
|
1886
|
+
}, Qi = class {
|
|
1887
|
+
constructor(e, t) {
|
|
1888
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = (e, t) => {
|
|
1889
|
+
throw Error("Component does not have props.");
|
|
1890
|
+
};
|
|
1891
|
+
}
|
|
1892
|
+
}, $i = { name: "table-cell" }, ea = class extends e {
|
|
1893
|
+
constructor(...e) {
|
|
1894
|
+
super(...e), this.type = "tableCell", this.componentInfo = $i, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1895
|
+
}
|
|
1896
|
+
}, ta = class extends t {
|
|
1897
|
+
constructor(...e) {
|
|
1898
|
+
super(...e), this.componentInfo = $i, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1899
|
+
}
|
|
1900
|
+
wrap(e) {
|
|
1901
|
+
return new ea(this.ctx, e);
|
|
1902
|
+
}
|
|
1903
|
+
}, na = class {
|
|
1904
|
+
constructor(e, t) {
|
|
1905
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = (e, t) => {
|
|
1906
|
+
throw Error("Component does not have props.");
|
|
1907
|
+
};
|
|
1908
|
+
}
|
|
1909
|
+
}, ra = { name: "table-head" }, ia = class extends e {
|
|
1910
|
+
constructor(...e) {
|
|
1911
|
+
super(...e), this.type = "tableHead", this.componentInfo = ra, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1912
|
+
}
|
|
1913
|
+
}, aa = class extends t {
|
|
1914
|
+
constructor(...e) {
|
|
1915
|
+
super(...e), this.componentInfo = ra, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1916
|
+
}
|
|
1917
|
+
wrap(e) {
|
|
1918
|
+
return new ia(this.ctx, e);
|
|
1919
|
+
}
|
|
1920
|
+
}, oa = class {
|
|
1921
|
+
constructor(e, t) {
|
|
1922
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = (e, t) => {
|
|
1923
|
+
throw Error("Component does not have props.");
|
|
1924
|
+
};
|
|
1925
|
+
}
|
|
1926
|
+
}, $ = { name: "table-header-cell" }, sa = class extends e {
|
|
1927
|
+
constructor(...e) {
|
|
1928
|
+
super(...e), this.type = "tableHeaderCell", this.componentInfo = $, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1929
|
+
}
|
|
1930
|
+
}, ca = class extends t {
|
|
1931
|
+
constructor(...e) {
|
|
1932
|
+
super(...e), this.componentInfo = $, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1933
|
+
}
|
|
1934
|
+
wrap(e) {
|
|
1935
|
+
return new sa(this.ctx, e);
|
|
1936
|
+
}
|
|
1937
|
+
}, la = class {
|
|
1938
|
+
constructor(e, t) {
|
|
1939
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = (e, t) => {
|
|
1940
|
+
throw Error("Component does not have props.");
|
|
1941
|
+
};
|
|
1942
|
+
}
|
|
1943
|
+
}, ua = { name: "table-row" }, da = class extends e {
|
|
1944
|
+
constructor(...e) {
|
|
1945
|
+
super(...e), this.type = "tableRow", this.componentInfo = ua, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1946
|
+
}
|
|
1947
|
+
}, fa = class extends t {
|
|
1948
|
+
constructor(...e) {
|
|
1949
|
+
super(...e), this.componentInfo = ua, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1950
|
+
}
|
|
1951
|
+
wrap(e) {
|
|
1952
|
+
return new da(this.ctx, e);
|
|
1953
|
+
}
|
|
1954
|
+
}, pa = class {
|
|
1955
|
+
constructor(e, t) {
|
|
1956
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = (e, t) => {
|
|
1957
|
+
throw Error("Component does not have props.");
|
|
1958
|
+
};
|
|
1959
|
+
}
|
|
1960
|
+
}, ma = { name: "tabs" }, ha = class extends e {
|
|
1961
|
+
constructor(...e) {
|
|
1962
|
+
super(...e), this.type = "tabs", this.componentInfo = ma, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
1963
|
+
}
|
|
1964
|
+
}, ga = class extends t {
|
|
1965
|
+
constructor(...e) {
|
|
1966
|
+
super(...e), this.componentInfo = ma, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1967
|
+
}
|
|
1968
|
+
wrap(e) {
|
|
1969
|
+
return new ha(this.ctx, e);
|
|
1970
|
+
}
|
|
1971
|
+
}, _a = class {
|
|
1972
|
+
constructor(e, t) {
|
|
1973
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1974
|
+
type: "eval",
|
|
1975
|
+
el: this.wrapper.unwrap(),
|
|
1976
|
+
fn: (e, t) => e[t],
|
|
1977
|
+
arg: e
|
|
1978
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
1979
|
+
}
|
|
1980
|
+
}, va = { name: "tag" }, ya = class extends e {
|
|
1981
|
+
constructor(...e) {
|
|
1982
|
+
super(...e), this.type = "tag", this.componentInfo = va, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.click = this.ctx.driver.wrapAction(C.bind(this, () => this.base())), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.remove = this.ctx.driver.wrapAction(C.bind(this, () => this.dismissButton())), this.select = this.ctx.driver.wrapAction(V.bind(this, !0)), this.unselect = this.ctx.driver.wrapAction(V.bind(this, !1)), this.base = H.bind(this, ".base"), this.dismissButton = H.bind(this, ".dismiss-button");
|
|
1983
|
+
}
|
|
1984
|
+
}, ba = class extends t {
|
|
1985
|
+
constructor(...e) {
|
|
1986
|
+
super(...e), this.componentInfo = va, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
1987
|
+
}
|
|
1988
|
+
wrap(e) {
|
|
1989
|
+
return new ya(this.ctx, e);
|
|
1990
|
+
}
|
|
1991
|
+
}, xa = class {
|
|
1992
|
+
constructor(e, t) {
|
|
1993
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
1994
|
+
type: "eval",
|
|
1995
|
+
el: this.wrapper.unwrap(),
|
|
1996
|
+
fn: (e, t) => e[t],
|
|
1997
|
+
arg: e
|
|
1998
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.notToBeDisabled = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
1999
|
+
type: "eval",
|
|
2000
|
+
el: this.wrapper.unwrap(),
|
|
2001
|
+
fn: x
|
|
2002
|
+
}, !1, "notToBeDisabled()")), this.toBeDisabled = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
2003
|
+
type: "eval",
|
|
2004
|
+
el: this.wrapper.unwrap(),
|
|
2005
|
+
fn: x
|
|
2006
|
+
}, !0, "toBeDisabled()")), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
2007
|
+
type: "eval",
|
|
2008
|
+
el: this.wrapper.unwrap(),
|
|
2009
|
+
fn: S
|
|
2010
|
+
}, e, "toHaveIcon(${value})")), this.toBeSelected = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
2011
|
+
type: "eval",
|
|
2012
|
+
el: this.wrapper.unwrap(),
|
|
2013
|
+
fn: b
|
|
2014
|
+
}, !0, "toBeSelected()")), this.toBeUnselected = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
2015
|
+
type: "eval",
|
|
2016
|
+
el: this.wrapper.unwrap(),
|
|
2017
|
+
fn: b
|
|
2018
|
+
}, !1, "toBeUnselected()"));
|
|
2019
|
+
}
|
|
2020
|
+
}, Sa = { name: "tag-group" }, Ca = class extends e {
|
|
2021
|
+
constructor(...e) {
|
|
2022
|
+
super(...e), this.type = "tagGroup", this.componentInfo = Sa, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
2023
|
+
}
|
|
2024
|
+
}, wa = class extends t {
|
|
2025
|
+
constructor(...e) {
|
|
2026
|
+
super(...e), this.componentInfo = Sa, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
2027
|
+
}
|
|
2028
|
+
wrap(e) {
|
|
2029
|
+
return new Ca(this.ctx, e);
|
|
2030
|
+
}
|
|
2031
|
+
}, Ta = class {
|
|
2032
|
+
constructor(e, t) {
|
|
2033
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = (e, t) => {
|
|
2034
|
+
throw Error("Component does not have props.");
|
|
2035
|
+
};
|
|
2036
|
+
}
|
|
2037
|
+
}, Ea = { name: "text-area" }, Da = class extends e {
|
|
2038
|
+
constructor(...e) {
|
|
2039
|
+
super(...e), this.type = "textArea", this.componentInfo = Ea, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.clear = this.ctx.driver.wrapAction(T.bind(this, () => this.control())), this.fill = this.ctx.driver.wrapAction(w.bind(this, () => this.control())), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.control = H.bind(this, ".control");
|
|
2040
|
+
}
|
|
2041
|
+
}, Oa = class extends t {
|
|
2042
|
+
constructor(...e) {
|
|
2043
|
+
super(...e), this.componentInfo = Ea, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
2044
|
+
}
|
|
2045
|
+
wrap(e) {
|
|
2046
|
+
return new Da(this.ctx, e);
|
|
2047
|
+
}
|
|
2048
|
+
}, ka = class {
|
|
2049
|
+
constructor(e, t) {
|
|
2050
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
2051
|
+
type: "eval",
|
|
2052
|
+
el: this.wrapper.unwrap(),
|
|
2053
|
+
fn: (e, t) => e[t],
|
|
2054
|
+
arg: e
|
|
2055
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
2056
|
+
type: "eval",
|
|
2057
|
+
el: this.wrapper.unwrap(),
|
|
2058
|
+
fn: h
|
|
2059
|
+
}, e, "toHaveValue(${value})")), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
2060
|
+
type: "eval",
|
|
2061
|
+
el: this.wrapper.unwrap(),
|
|
2062
|
+
fn: f
|
|
2063
|
+
}, e, "toHaveVisibleError(${value})"));
|
|
2064
|
+
}
|
|
2065
|
+
}, Aa = { name: "text-field" }, ja = class extends e {
|
|
2066
|
+
constructor(...e) {
|
|
2067
|
+
super(...e), this.type = "textField", this.componentInfo = Aa, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.control())), this.clear = this.ctx.driver.wrapAction(T.bind(this, () => this.control())), this.fill = this.ctx.driver.wrapAction(w.bind(this, () => this.control())), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.control = ve.bind(this, "input[slot=\"_control\"]");
|
|
2068
|
+
}
|
|
2069
|
+
}, Ma = class extends t {
|
|
2070
|
+
constructor(...e) {
|
|
2071
|
+
super(...e), this.componentInfo = Aa, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
2072
|
+
}
|
|
2073
|
+
wrap(e) {
|
|
2074
|
+
return new ja(this.ctx, e);
|
|
2075
|
+
}
|
|
2076
|
+
}, Na = class {
|
|
2077
|
+
constructor(e, t) {
|
|
2078
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
2079
|
+
type: "eval",
|
|
2080
|
+
el: this.wrapper.unwrap(),
|
|
2081
|
+
fn: (e, t) => e[t],
|
|
2082
|
+
arg: e
|
|
2083
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
2084
|
+
type: "eval",
|
|
2085
|
+
el: this.wrapper.unwrap(),
|
|
2086
|
+
fn: S
|
|
2087
|
+
}, e, "toHaveIcon(${value})")), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
2088
|
+
type: "eval",
|
|
2089
|
+
el: this.wrapper.unwrap(),
|
|
2090
|
+
fn: h
|
|
2091
|
+
}, e, "toHaveValue(${value})")), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
2092
|
+
type: "eval",
|
|
2093
|
+
el: this.wrapper.unwrap(),
|
|
2094
|
+
fn: f
|
|
2095
|
+
}, e, "toHaveVisibleError(${value})"));
|
|
2096
|
+
}
|
|
2097
|
+
}, Pa = { name: "time-picker" }, Fa = class extends e {
|
|
2098
|
+
constructor(...e) {
|
|
2099
|
+
super(...e), this.type = "timePicker", this.componentInfo = Pa, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.clear = this.ctx.driver.wrapAction(I.bind(this)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator)), this.selectTime = this.ctx.driver.wrapAction(fe.bind(this)), this.clearButton = U.bind(this, "#clear-button"), this.control = W.bind(this, "[data-vvd-component=text-field].control"), this.pickerButton = U.bind(this, "#picker-button");
|
|
2100
|
+
}
|
|
2101
|
+
}, Ia = class extends t {
|
|
2102
|
+
constructor(...e) {
|
|
2103
|
+
super(...e), this.componentInfo = Pa, this.byLabel = this.ctx.driver.wrapSelector(o.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
2104
|
+
}
|
|
2105
|
+
wrap(e) {
|
|
2106
|
+
return new Fa(this.ctx, e);
|
|
2107
|
+
}
|
|
2108
|
+
}, La = class {
|
|
2109
|
+
constructor(e, t) {
|
|
2110
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
2111
|
+
type: "eval",
|
|
2112
|
+
el: this.wrapper.unwrap(),
|
|
2113
|
+
fn: (e, t) => e[t],
|
|
2114
|
+
arg: e
|
|
2115
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveValue = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
2116
|
+
type: "eval",
|
|
2117
|
+
el: this.wrapper.unwrap(),
|
|
2118
|
+
fn: h
|
|
2119
|
+
}, e, "toHaveValue(${value})")), this.toHaveVisibleError = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
2120
|
+
type: "eval",
|
|
2121
|
+
el: this.wrapper.unwrap(),
|
|
2122
|
+
fn: f
|
|
2123
|
+
}, e, "toHaveVisibleError(${value})"));
|
|
2124
|
+
}
|
|
2125
|
+
}, Ra = { name: "toggletip" }, za = class extends e {
|
|
2126
|
+
constructor(...e) {
|
|
2127
|
+
super(...e), this.type = "toggletip", this.componentInfo = Ra, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
2128
|
+
}
|
|
2129
|
+
}, Ba = class extends t {
|
|
2130
|
+
constructor(...e) {
|
|
2131
|
+
super(...e), this.componentInfo = Ra, this.byHeadline = this.ctx.driver.wrapSelector(s.bind(this)), this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
2132
|
+
}
|
|
2133
|
+
wrap(e) {
|
|
2134
|
+
return new za(this.ctx, e);
|
|
2135
|
+
}
|
|
2136
|
+
}, Va = class {
|
|
2137
|
+
constructor(e, t) {
|
|
2138
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
2139
|
+
type: "eval",
|
|
2140
|
+
el: this.wrapper.unwrap(),
|
|
2141
|
+
fn: (e, t) => e[t],
|
|
2142
|
+
arg: e
|
|
2143
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toBeClosed = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
2144
|
+
type: "eval",
|
|
2145
|
+
el: this.wrapper.unwrap(),
|
|
2146
|
+
fn: m
|
|
2147
|
+
}, !1, "toBeClosed()")), this.toBeOpen = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
2148
|
+
type: "eval",
|
|
2149
|
+
el: this.wrapper.unwrap(),
|
|
2150
|
+
fn: m
|
|
2151
|
+
}, !0, "toBeOpen()"));
|
|
2152
|
+
}
|
|
2153
|
+
}, Ha = { name: "tooltip" }, Ua = class extends e {
|
|
2154
|
+
constructor(...e) {
|
|
2155
|
+
super(...e), this.type = "tooltip", this.componentInfo = Ha, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
2156
|
+
}
|
|
2157
|
+
}, Wa = class extends t {
|
|
2158
|
+
constructor(...e) {
|
|
2159
|
+
super(...e), this.componentInfo = Ha, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this)), this.byText = this.ctx.driver.wrapSelector(c.bind(this));
|
|
2160
|
+
}
|
|
2161
|
+
wrap(e) {
|
|
2162
|
+
return new Ua(this.ctx, e);
|
|
2163
|
+
}
|
|
2164
|
+
}, Ga = class {
|
|
2165
|
+
constructor(e, t) {
|
|
2166
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
2167
|
+
type: "eval",
|
|
2168
|
+
el: this.wrapper.unwrap(),
|
|
2169
|
+
fn: (e, t) => e[t],
|
|
2170
|
+
arg: e
|
|
2171
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toBeClosed = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
2172
|
+
type: "eval",
|
|
2173
|
+
el: this.wrapper.unwrap(),
|
|
2174
|
+
fn: m
|
|
2175
|
+
}, !1, "toBeClosed()")), this.toBeOpen = this.ctx.driver.wrapExpect(() => this.ctx.driver.expectEq({
|
|
2176
|
+
type: "eval",
|
|
2177
|
+
el: this.wrapper.unwrap(),
|
|
2178
|
+
fn: m
|
|
2179
|
+
}, !0, "toBeOpen()"));
|
|
2180
|
+
}
|
|
2181
|
+
}, Ka = { name: "tree-item" }, qa = class extends e {
|
|
2182
|
+
constructor(...e) {
|
|
2183
|
+
super(...e), this.type = "treeItem", this.componentInfo = Ka, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
2184
|
+
}
|
|
2185
|
+
}, Ja = class extends t {
|
|
2186
|
+
constructor(...e) {
|
|
2187
|
+
super(...e), this.componentInfo = Ka, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
2188
|
+
}
|
|
2189
|
+
wrap(e) {
|
|
2190
|
+
return new qa(this.ctx, e);
|
|
2191
|
+
}
|
|
2192
|
+
}, Ya = class {
|
|
2193
|
+
constructor(e, t) {
|
|
2194
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
2195
|
+
type: "eval",
|
|
2196
|
+
el: this.wrapper.unwrap(),
|
|
2197
|
+
fn: (e, t) => e[t],
|
|
2198
|
+
arg: e
|
|
2199
|
+
}, t, `toHaveProp("${e}", ${t})`)), this.toHaveIcon = this.ctx.driver.wrapExpect((e) => this.ctx.driver.expectEq({
|
|
2200
|
+
type: "eval",
|
|
2201
|
+
el: this.wrapper.unwrap(),
|
|
2202
|
+
fn: S
|
|
2203
|
+
}, e, "toHaveIcon(${value})"));
|
|
2204
|
+
}
|
|
2205
|
+
}, Xa = { name: "tree-view" }, Za = class extends e {
|
|
2206
|
+
constructor(...e) {
|
|
2207
|
+
super(...e), this.type = "treeView", this.componentInfo = Xa, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
2208
|
+
}
|
|
2209
|
+
}, Qa = class extends t {
|
|
2210
|
+
constructor(...e) {
|
|
2211
|
+
super(...e), this.componentInfo = Xa, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
2212
|
+
}
|
|
2213
|
+
wrap(e) {
|
|
2214
|
+
return new Za(this.ctx, e);
|
|
2215
|
+
}
|
|
2216
|
+
}, $a = class {
|
|
2217
|
+
constructor(e, t) {
|
|
2218
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
2219
|
+
type: "eval",
|
|
2220
|
+
el: this.wrapper.unwrap(),
|
|
2221
|
+
fn: (e, t) => e[t],
|
|
2222
|
+
arg: e
|
|
2223
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
2224
|
+
}
|
|
2225
|
+
}, eo = { name: "video-player" }, to = class extends e {
|
|
2226
|
+
constructor(...e) {
|
|
2227
|
+
super(...e), this.type = "videoPlayer", this.componentInfo = eo, this.blur = this.ctx.driver.wrapAction(k.bind(this, () => this.locator)), this.focus = this.ctx.driver.wrapAction(O.bind(this, () => this.locator)), this.hover = this.ctx.driver.wrapAction(A.bind(this, () => this.locator));
|
|
2228
|
+
}
|
|
2229
|
+
}, no = class extends t {
|
|
2230
|
+
constructor(...e) {
|
|
2231
|
+
super(...e), this.componentInfo = eo, this.byTestId = this.ctx.driver.wrapSelector(a.bind(this));
|
|
2232
|
+
}
|
|
2233
|
+
wrap(e) {
|
|
2234
|
+
return new to(this.ctx, e);
|
|
2235
|
+
}
|
|
2236
|
+
}, ro = {
|
|
2237
|
+
collection: r,
|
|
2238
|
+
accordion: Se,
|
|
2239
|
+
accordionItem: Te,
|
|
2240
|
+
actionGroup: Oe,
|
|
2241
|
+
alert: je,
|
|
2242
|
+
audioPlayer: Pe,
|
|
2243
|
+
avatar: Le,
|
|
2244
|
+
badge: Be,
|
|
2245
|
+
banner: Ue,
|
|
2246
|
+
breadcrumb: qe,
|
|
2247
|
+
breadcrumbItem: Ze,
|
|
2248
|
+
button: tt,
|
|
2249
|
+
calendar: at,
|
|
2250
|
+
calendarEvent: lt,
|
|
2251
|
+
card: pt,
|
|
2252
|
+
checkbox: _t,
|
|
2253
|
+
colorPicker: xt,
|
|
2254
|
+
combobox: Tt,
|
|
2255
|
+
contextualHelp: kt,
|
|
2256
|
+
country: Nt,
|
|
2257
|
+
dataGrid: Lt,
|
|
2258
|
+
dataGridCell: Vt,
|
|
2259
|
+
dataGridRow: Gt,
|
|
2260
|
+
datePicker: Yt,
|
|
2261
|
+
dateRangePicker: $t,
|
|
2262
|
+
dateTimePicker: rn,
|
|
2263
|
+
dialPad: cn,
|
|
2264
|
+
dialog: fn,
|
|
2265
|
+
divider: gn,
|
|
2266
|
+
emptyState: bn,
|
|
2267
|
+
fab: wn,
|
|
2268
|
+
filePicker: On,
|
|
2269
|
+
header: Mn,
|
|
2270
|
+
icon: In,
|
|
2271
|
+
layout: Bn,
|
|
2272
|
+
menu: Wn,
|
|
2273
|
+
menuItem: Jn,
|
|
2274
|
+
nav: Qn,
|
|
2275
|
+
navDisclosure: nr,
|
|
2276
|
+
navItem: or,
|
|
2277
|
+
note: ur,
|
|
2278
|
+
numberField: mr,
|
|
2279
|
+
option: vr,
|
|
2280
|
+
pagination: Sr,
|
|
2281
|
+
popover: Er,
|
|
2282
|
+
progress: Ar,
|
|
2283
|
+
progressRing: Pr,
|
|
2284
|
+
radio: Rr,
|
|
2285
|
+
radioGroup: Hr,
|
|
2286
|
+
rangeSlider: Kr,
|
|
2287
|
+
richTextEditor: Xr,
|
|
2288
|
+
richTextView: ei,
|
|
2289
|
+
searchableSelect: ii,
|
|
2290
|
+
select: ci,
|
|
2291
|
+
selectableBox: fi,
|
|
2292
|
+
sideDrawer: gi,
|
|
2293
|
+
simpleColorPicker: bi,
|
|
2294
|
+
slider: wi,
|
|
2295
|
+
splitButton: Oi,
|
|
2296
|
+
status: Mi,
|
|
2297
|
+
switch: Ii,
|
|
2298
|
+
tab: Bi,
|
|
2299
|
+
tabPanel: Wi,
|
|
2300
|
+
table: Ji,
|
|
2301
|
+
tableBody: Qi,
|
|
2302
|
+
tableCell: na,
|
|
2303
|
+
tableHead: oa,
|
|
2304
|
+
tableHeaderCell: la,
|
|
2305
|
+
tableRow: pa,
|
|
2306
|
+
tabs: _a,
|
|
2307
|
+
tag: xa,
|
|
2308
|
+
tagGroup: Ta,
|
|
2309
|
+
textArea: ka,
|
|
2310
|
+
textField: Na,
|
|
2311
|
+
timePicker: La,
|
|
2312
|
+
toggletip: Va,
|
|
2313
|
+
tooltip: Ga,
|
|
2314
|
+
treeItem: Ya,
|
|
2315
|
+
treeView: $a,
|
|
2316
|
+
videoPlayer: class {
|
|
2317
|
+
constructor(e, t) {
|
|
2318
|
+
this.ctx = e, this.wrapper = t, this.toHaveProp = this.ctx.driver.wrapExpect((e, t) => this.ctx.driver.expectEq({
|
|
2319
|
+
type: "eval",
|
|
2320
|
+
el: this.wrapper.unwrap(),
|
|
2321
|
+
fn: (e, t) => e[t],
|
|
2322
|
+
arg: e
|
|
2323
|
+
}, t, `toHaveProp("${e}", ${t})`));
|
|
2324
|
+
}
|
|
2325
|
+
}
|
|
2326
|
+
}, io = class {
|
|
2327
|
+
constructor(e) {
|
|
2328
|
+
this.ctx = e, this.accordion = new xe(this.ctx), this.accordionItem = new we(this.ctx), this.actionGroup = new De(this.ctx), this.alert = new Ae(this.ctx), this.audioPlayer = new Ne(this.ctx), this.avatar = new Ie(this.ctx), this.badge = new ze(this.ctx), this.banner = new He(this.ctx), this.breadcrumb = new Ke(this.ctx), this.breadcrumbItem = new Xe(this.ctx), this.button = new et(this.ctx), this.calendar = new it(this.ctx), this.calendarEvent = new ct(this.ctx), this.card = new ft(this.ctx), this.checkbox = new gt(this.ctx), this.colorPicker = new bt(this.ctx), this.combobox = new wt(this.ctx), this.contextualHelp = new Ot(this.ctx), this.country = new Mt(this.ctx), this.dataGrid = new It(this.ctx), this.dataGridCell = new Bt(this.ctx), this.dataGridRow = new Wt(this.ctx), this.datePicker = new Jt(this.ctx), this.dateRangePicker = new Qt(this.ctx), this.dateTimePicker = new nn(this.ctx), this.dialPad = new sn(this.ctx), this.dialog = new dn(this.ctx), this.divider = new hn(this.ctx), this.emptyState = new yn(this.ctx), this.fab = new Cn(this.ctx), this.filePicker = new Dn(this.ctx), this.header = new jn(this.ctx), this.icon = new Fn(this.ctx), this.layout = new zn(this.ctx), this.menu = new Un(this.ctx), this.menuItem = new qn(this.ctx), this.nav = new Zn(this.ctx), this.navDisclosure = new tr(this.ctx), this.navItem = new ar(this.ctx), this.note = new lr(this.ctx), this.numberField = new pr(this.ctx), this.option = new _r(this.ctx), this.pagination = new xr(this.ctx), this.popover = new Tr(this.ctx), this.progress = new kr(this.ctx), this.progressRing = new Nr(this.ctx), this.radio = new Lr(this.ctx), this.radioGroup = new Vr(this.ctx), this.rangeSlider = new Gr(this.ctx), this.richTextEditor = new Yr(this.ctx), this.richTextView = new $r(this.ctx), this.searchableSelect = new ri(this.ctx), this.select = new si(this.ctx), this.selectableBox = new di(this.ctx), this.sideDrawer = new hi(this.ctx), this.simpleColorPicker = new yi(this.ctx), this.slider = new Ci(this.ctx), this.splitButton = new Di(this.ctx), this.status = new ji(this.ctx), this.switch = new Fi(this.ctx), this.tab = new zi(this.ctx), this.tabPanel = new Ui(this.ctx), this.table = new qi(this.ctx), this.tableBody = new Zi(this.ctx), this.tableCell = new ta(this.ctx), this.tableHead = new aa(this.ctx), this.tableHeaderCell = new ca(this.ctx), this.tableRow = new fa(this.ctx), this.tabs = new ga(this.ctx), this.tag = new ba(this.ctx), this.tagGroup = new wa(this.ctx), this.textArea = new Oa(this.ctx), this.textField = new Ma(this.ctx), this.timePicker = new Ia(this.ctx), this.toggletip = new Ba(this.ctx), this.tooltip = new Wa(this.ctx), this.treeItem = new Ja(this.ctx), this.treeView = new Qa(this.ctx), this.videoPlayer = new no(this.ctx);
|
|
2329
|
+
}
|
|
2330
|
+
expect(e) {
|
|
2331
|
+
if (e.type in ro) return new ro[e.type](this.ctx, e);
|
|
2332
|
+
throw Error(`Unknown component type: ${e.type}`);
|
|
2333
|
+
}
|
|
2334
|
+
};
|
|
2335
|
+
//#endregion
|
|
2336
|
+
export { io as t };
|