@instructure/ui-position 8.10.2 → 8.10.3-snapshot.2
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/LICENSE.md +27 -0
- package/package.json +18 -17
- package/types/Position/PositionContentLocator.d.ts +64 -64
- package/types/Position/PositionLocator.d.ts +256 -256
- package/types/Position/PositionTargetLocator.d.ts +64 -64
|
@@ -14,24 +14,28 @@ export declare const customMethods: {
|
|
|
14
14
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
15
15
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
16
16
|
} & {
|
|
17
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
18
|
+
highlight: boolean;
|
|
19
|
+
} | undefined) => string;
|
|
20
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
21
|
+
children: (selector: string) => Element[];
|
|
22
|
+
title: () => string | null | undefined;
|
|
23
|
+
id: () => string;
|
|
24
|
+
tagName: () => string;
|
|
25
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
26
|
+
getBoundingClientRect: () => DOMRect;
|
|
27
|
+
matches: (selector: string | undefined) => boolean;
|
|
17
28
|
visible: () => boolean;
|
|
18
29
|
value: () => string | null;
|
|
19
30
|
disabled: () => string | null;
|
|
20
31
|
role: () => string | null;
|
|
21
|
-
id: () => string;
|
|
22
32
|
label: () => string | null | undefined;
|
|
23
|
-
title: () => string | null | undefined;
|
|
24
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
25
|
-
highlight: boolean;
|
|
26
|
-
} | undefined) => string;
|
|
27
33
|
getId: () => string;
|
|
28
34
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
29
35
|
getOwnerDocument: () => Document;
|
|
30
36
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
31
37
|
getTagName: () => string;
|
|
32
|
-
tagName: () => string;
|
|
33
38
|
typeIn: (text: string) => Promise<void>;
|
|
34
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
35
39
|
getDOMNode: () => Element;
|
|
36
40
|
node: () => Element;
|
|
37
41
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -39,9 +43,8 @@ export declare const customMethods: {
|
|
|
39
43
|
} | undefined) => void;
|
|
40
44
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
41
45
|
getTextContent: () => string | null;
|
|
42
|
-
getParentNode: () =>
|
|
43
|
-
parent: () =>
|
|
44
|
-
getBoundingClientRect: () => DOMRect;
|
|
46
|
+
getParentNode: () => ParentNode | null;
|
|
47
|
+
parent: () => ParentNode | null;
|
|
45
48
|
rect: () => DOMRect;
|
|
46
49
|
hasClass: (classname: string) => boolean;
|
|
47
50
|
containsFocus: () => boolean;
|
|
@@ -53,19 +56,17 @@ export declare const customMethods: {
|
|
|
53
56
|
exists: () => boolean;
|
|
54
57
|
text: () => string | null;
|
|
55
58
|
empty: () => boolean;
|
|
56
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
57
59
|
descendants: (selector: string) => Element[];
|
|
58
|
-
ancestors: (selector: string) =>
|
|
60
|
+
ancestors: (selector: string) => ParentNode[];
|
|
59
61
|
attribute: (qualifiedName: string) => string | null;
|
|
60
62
|
style: (property: string) => string;
|
|
61
63
|
classNames: () => string[];
|
|
62
|
-
matches: (selector: string | undefined) => boolean;
|
|
63
64
|
checked: () => any;
|
|
64
65
|
selected: () => any;
|
|
65
66
|
readonly: () => any;
|
|
66
|
-
|
|
67
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
67
|
+
parents: (selector: string) => ParentNode[];
|
|
68
68
|
} & {
|
|
69
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
69
70
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
70
71
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
71
72
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -103,7 +104,6 @@ export declare const customMethods: {
|
|
|
103
104
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
104
105
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
105
106
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
106
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
107
107
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
108
108
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
109
109
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -153,24 +153,28 @@ export declare const customMethods: {
|
|
|
153
153
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
154
154
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
155
155
|
} & {
|
|
156
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
157
|
+
highlight: boolean;
|
|
158
|
+
} | undefined) => string;
|
|
159
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
160
|
+
children: (selector: string) => Element[];
|
|
161
|
+
title: () => string | null | undefined;
|
|
162
|
+
id: () => string;
|
|
163
|
+
tagName: () => string;
|
|
164
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
165
|
+
getBoundingClientRect: () => DOMRect;
|
|
166
|
+
matches: (selector: string | undefined) => boolean;
|
|
156
167
|
visible: () => boolean;
|
|
157
168
|
value: () => string | null;
|
|
158
169
|
disabled: () => string | null;
|
|
159
170
|
role: () => string | null;
|
|
160
|
-
id: () => string;
|
|
161
171
|
label: () => string | null | undefined;
|
|
162
|
-
title: () => string | null | undefined;
|
|
163
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
164
|
-
highlight: boolean;
|
|
165
|
-
} | undefined) => string;
|
|
166
172
|
getId: () => string;
|
|
167
173
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
168
174
|
getOwnerDocument: () => Document;
|
|
169
175
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
170
176
|
getTagName: () => string;
|
|
171
|
-
tagName: () => string;
|
|
172
177
|
typeIn: (text: string) => Promise<void>;
|
|
173
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
174
178
|
getDOMNode: () => Element;
|
|
175
179
|
node: () => Element;
|
|
176
180
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -178,9 +182,8 @@ export declare const customMethods: {
|
|
|
178
182
|
} | undefined) => void;
|
|
179
183
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
180
184
|
getTextContent: () => string | null;
|
|
181
|
-
getParentNode: () =>
|
|
182
|
-
parent: () =>
|
|
183
|
-
getBoundingClientRect: () => DOMRect;
|
|
185
|
+
getParentNode: () => ParentNode | null;
|
|
186
|
+
parent: () => ParentNode | null;
|
|
184
187
|
rect: () => DOMRect;
|
|
185
188
|
hasClass: (classname: string) => boolean;
|
|
186
189
|
containsFocus: () => boolean;
|
|
@@ -192,19 +195,17 @@ export declare const customMethods: {
|
|
|
192
195
|
exists: () => boolean;
|
|
193
196
|
text: () => string | null;
|
|
194
197
|
empty: () => boolean;
|
|
195
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
196
198
|
descendants: (selector: string) => Element[];
|
|
197
|
-
ancestors: (selector: string) =>
|
|
199
|
+
ancestors: (selector: string) => ParentNode[];
|
|
198
200
|
attribute: (qualifiedName: string) => string | null;
|
|
199
201
|
style: (property: string) => string;
|
|
200
202
|
classNames: () => string[];
|
|
201
|
-
matches: (selector: string | undefined) => boolean;
|
|
202
203
|
checked: () => any;
|
|
203
204
|
selected: () => any;
|
|
204
205
|
readonly: () => any;
|
|
205
|
-
|
|
206
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
206
|
+
parents: (selector: string) => ParentNode[];
|
|
207
207
|
} & {
|
|
208
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
208
209
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
209
210
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
210
211
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -242,7 +243,6 @@ export declare const customMethods: {
|
|
|
242
243
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
243
244
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
244
245
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
245
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
246
246
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
247
247
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
248
248
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -297,24 +297,28 @@ export declare const PositionLocator: {
|
|
|
297
297
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
298
298
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
299
299
|
} & {
|
|
300
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
301
|
+
highlight: boolean;
|
|
302
|
+
} | undefined) => string;
|
|
303
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
304
|
+
children: (selector: string) => Element[];
|
|
305
|
+
title: () => string | null | undefined;
|
|
306
|
+
id: () => string;
|
|
307
|
+
tagName: () => string;
|
|
308
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
309
|
+
getBoundingClientRect: () => DOMRect;
|
|
310
|
+
matches: (selector: string | undefined) => boolean;
|
|
300
311
|
visible: () => boolean;
|
|
301
312
|
value: () => string | null;
|
|
302
313
|
disabled: () => string | null;
|
|
303
314
|
role: () => string | null;
|
|
304
|
-
id: () => string;
|
|
305
315
|
label: () => string | null | undefined;
|
|
306
|
-
title: () => string | null | undefined;
|
|
307
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
308
|
-
highlight: boolean;
|
|
309
|
-
} | undefined) => string;
|
|
310
316
|
getId: () => string;
|
|
311
317
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
312
318
|
getOwnerDocument: () => Document;
|
|
313
319
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
314
320
|
getTagName: () => string;
|
|
315
|
-
tagName: () => string;
|
|
316
321
|
typeIn: (text: string) => Promise<void>;
|
|
317
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
318
322
|
getDOMNode: () => Element;
|
|
319
323
|
node: () => Element;
|
|
320
324
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -322,9 +326,8 @@ export declare const PositionLocator: {
|
|
|
322
326
|
} | undefined) => void;
|
|
323
327
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
324
328
|
getTextContent: () => string | null;
|
|
325
|
-
getParentNode: () =>
|
|
326
|
-
parent: () =>
|
|
327
|
-
getBoundingClientRect: () => DOMRect;
|
|
329
|
+
getParentNode: () => ParentNode | null;
|
|
330
|
+
parent: () => ParentNode | null;
|
|
328
331
|
rect: () => DOMRect;
|
|
329
332
|
hasClass: (classname: string) => boolean;
|
|
330
333
|
containsFocus: () => boolean;
|
|
@@ -336,19 +339,17 @@ export declare const PositionLocator: {
|
|
|
336
339
|
exists: () => boolean;
|
|
337
340
|
text: () => string | null;
|
|
338
341
|
empty: () => boolean;
|
|
339
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
340
342
|
descendants: (selector: string) => Element[];
|
|
341
|
-
ancestors: (selector: string) =>
|
|
343
|
+
ancestors: (selector: string) => ParentNode[];
|
|
342
344
|
attribute: (qualifiedName: string) => string | null;
|
|
343
345
|
style: (property: string) => string;
|
|
344
346
|
classNames: () => string[];
|
|
345
|
-
matches: (selector: string | undefined) => boolean;
|
|
346
347
|
checked: () => any;
|
|
347
348
|
selected: () => any;
|
|
348
349
|
readonly: () => any;
|
|
349
|
-
|
|
350
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
350
|
+
parents: (selector: string) => ParentNode[];
|
|
351
351
|
} & {
|
|
352
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
352
353
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
353
354
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
354
355
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -386,7 +387,6 @@ export declare const PositionLocator: {
|
|
|
386
387
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
387
388
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
388
389
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
389
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
390
390
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
391
391
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
392
392
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -436,24 +436,28 @@ export declare const PositionLocator: {
|
|
|
436
436
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
437
437
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
438
438
|
} & {
|
|
439
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
440
|
+
highlight: boolean;
|
|
441
|
+
} | undefined) => string;
|
|
442
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
443
|
+
children: (selector: string) => Element[];
|
|
444
|
+
title: () => string | null | undefined;
|
|
445
|
+
id: () => string;
|
|
446
|
+
tagName: () => string;
|
|
447
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
448
|
+
getBoundingClientRect: () => DOMRect;
|
|
449
|
+
matches: (selector: string | undefined) => boolean;
|
|
439
450
|
visible: () => boolean;
|
|
440
451
|
value: () => string | null;
|
|
441
452
|
disabled: () => string | null;
|
|
442
453
|
role: () => string | null;
|
|
443
|
-
id: () => string;
|
|
444
454
|
label: () => string | null | undefined;
|
|
445
|
-
title: () => string | null | undefined;
|
|
446
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
447
|
-
highlight: boolean;
|
|
448
|
-
} | undefined) => string;
|
|
449
455
|
getId: () => string;
|
|
450
456
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
451
457
|
getOwnerDocument: () => Document;
|
|
452
458
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
453
459
|
getTagName: () => string;
|
|
454
|
-
tagName: () => string;
|
|
455
460
|
typeIn: (text: string) => Promise<void>;
|
|
456
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
457
461
|
getDOMNode: () => Element;
|
|
458
462
|
node: () => Element;
|
|
459
463
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -461,9 +465,8 @@ export declare const PositionLocator: {
|
|
|
461
465
|
} | undefined) => void;
|
|
462
466
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
463
467
|
getTextContent: () => string | null;
|
|
464
|
-
getParentNode: () =>
|
|
465
|
-
parent: () =>
|
|
466
|
-
getBoundingClientRect: () => DOMRect;
|
|
468
|
+
getParentNode: () => ParentNode | null;
|
|
469
|
+
parent: () => ParentNode | null;
|
|
467
470
|
rect: () => DOMRect;
|
|
468
471
|
hasClass: (classname: string) => boolean;
|
|
469
472
|
containsFocus: () => boolean;
|
|
@@ -475,19 +478,17 @@ export declare const PositionLocator: {
|
|
|
475
478
|
exists: () => boolean;
|
|
476
479
|
text: () => string | null;
|
|
477
480
|
empty: () => boolean;
|
|
478
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
479
481
|
descendants: (selector: string) => Element[];
|
|
480
|
-
ancestors: (selector: string) =>
|
|
482
|
+
ancestors: (selector: string) => ParentNode[];
|
|
481
483
|
attribute: (qualifiedName: string) => string | null;
|
|
482
484
|
style: (property: string) => string;
|
|
483
485
|
classNames: () => string[];
|
|
484
|
-
matches: (selector: string | undefined) => boolean;
|
|
485
486
|
checked: () => any;
|
|
486
487
|
selected: () => any;
|
|
487
488
|
readonly: () => any;
|
|
488
|
-
|
|
489
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
489
|
+
parents: (selector: string) => ParentNode[];
|
|
490
490
|
} & {
|
|
491
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
491
492
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
492
493
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
493
494
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -525,7 +526,6 @@ export declare const PositionLocator: {
|
|
|
525
526
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
526
527
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
527
528
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
528
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
529
529
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
530
530
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
531
531
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -582,24 +582,28 @@ export declare const PositionLocator: {
|
|
|
582
582
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
583
583
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
584
584
|
} & {
|
|
585
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
586
|
+
highlight: boolean;
|
|
587
|
+
} | undefined) => string;
|
|
588
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
589
|
+
children: (selector: string) => Element[];
|
|
590
|
+
title: () => string | null | undefined;
|
|
591
|
+
id: () => string;
|
|
592
|
+
tagName: () => string;
|
|
593
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
594
|
+
getBoundingClientRect: () => DOMRect;
|
|
595
|
+
matches: (selector: string | undefined) => boolean;
|
|
585
596
|
visible: () => boolean;
|
|
586
597
|
value: () => string | null;
|
|
587
598
|
disabled: () => string | null;
|
|
588
599
|
role: () => string | null;
|
|
589
|
-
id: () => string;
|
|
590
600
|
label: () => string | null | undefined;
|
|
591
|
-
title: () => string | null | undefined;
|
|
592
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
593
|
-
highlight: boolean;
|
|
594
|
-
} | undefined) => string;
|
|
595
601
|
getId: () => string;
|
|
596
602
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
597
603
|
getOwnerDocument: () => Document;
|
|
598
604
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
599
605
|
getTagName: () => string;
|
|
600
|
-
tagName: () => string;
|
|
601
606
|
typeIn: (text: string) => Promise<void>;
|
|
602
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
603
607
|
getDOMNode: () => Element;
|
|
604
608
|
node: () => Element;
|
|
605
609
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -607,9 +611,8 @@ export declare const PositionLocator: {
|
|
|
607
611
|
} | undefined) => void;
|
|
608
612
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
609
613
|
getTextContent: () => string | null;
|
|
610
|
-
getParentNode: () =>
|
|
611
|
-
parent: () =>
|
|
612
|
-
getBoundingClientRect: () => DOMRect;
|
|
614
|
+
getParentNode: () => ParentNode | null;
|
|
615
|
+
parent: () => ParentNode | null;
|
|
613
616
|
rect: () => DOMRect;
|
|
614
617
|
hasClass: (classname: string) => boolean;
|
|
615
618
|
containsFocus: () => boolean;
|
|
@@ -621,19 +624,17 @@ export declare const PositionLocator: {
|
|
|
621
624
|
exists: () => boolean;
|
|
622
625
|
text: () => string | null;
|
|
623
626
|
empty: () => boolean;
|
|
624
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
625
627
|
descendants: (selector: string) => Element[];
|
|
626
|
-
ancestors: (selector: string) =>
|
|
628
|
+
ancestors: (selector: string) => ParentNode[];
|
|
627
629
|
attribute: (qualifiedName: string) => string | null;
|
|
628
630
|
style: (property: string) => string;
|
|
629
631
|
classNames: () => string[];
|
|
630
|
-
matches: (selector: string | undefined) => boolean;
|
|
631
632
|
checked: () => any;
|
|
632
633
|
selected: () => any;
|
|
633
634
|
readonly: () => any;
|
|
634
|
-
|
|
635
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
635
|
+
parents: (selector: string) => ParentNode[];
|
|
636
636
|
} & {
|
|
637
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
637
638
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
638
639
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
639
640
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -671,7 +672,6 @@ export declare const PositionLocator: {
|
|
|
671
672
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
672
673
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
673
674
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
674
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
675
675
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
676
676
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
677
677
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -721,24 +721,28 @@ export declare const PositionLocator: {
|
|
|
721
721
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
722
722
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
723
723
|
} & {
|
|
724
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
725
|
+
highlight: boolean;
|
|
726
|
+
} | undefined) => string;
|
|
727
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
728
|
+
children: (selector: string) => Element[];
|
|
729
|
+
title: () => string | null | undefined;
|
|
730
|
+
id: () => string;
|
|
731
|
+
tagName: () => string;
|
|
732
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
733
|
+
getBoundingClientRect: () => DOMRect;
|
|
734
|
+
matches: (selector: string | undefined) => boolean;
|
|
724
735
|
visible: () => boolean;
|
|
725
736
|
value: () => string | null;
|
|
726
737
|
disabled: () => string | null;
|
|
727
738
|
role: () => string | null;
|
|
728
|
-
id: () => string;
|
|
729
739
|
label: () => string | null | undefined;
|
|
730
|
-
title: () => string | null | undefined;
|
|
731
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
732
|
-
highlight: boolean;
|
|
733
|
-
} | undefined) => string;
|
|
734
740
|
getId: () => string;
|
|
735
741
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
736
742
|
getOwnerDocument: () => Document;
|
|
737
743
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
738
744
|
getTagName: () => string;
|
|
739
|
-
tagName: () => string;
|
|
740
745
|
typeIn: (text: string) => Promise<void>;
|
|
741
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
742
746
|
getDOMNode: () => Element;
|
|
743
747
|
node: () => Element;
|
|
744
748
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -746,9 +750,8 @@ export declare const PositionLocator: {
|
|
|
746
750
|
} | undefined) => void;
|
|
747
751
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
748
752
|
getTextContent: () => string | null;
|
|
749
|
-
getParentNode: () =>
|
|
750
|
-
parent: () =>
|
|
751
|
-
getBoundingClientRect: () => DOMRect;
|
|
753
|
+
getParentNode: () => ParentNode | null;
|
|
754
|
+
parent: () => ParentNode | null;
|
|
752
755
|
rect: () => DOMRect;
|
|
753
756
|
hasClass: (classname: string) => boolean;
|
|
754
757
|
containsFocus: () => boolean;
|
|
@@ -760,19 +763,17 @@ export declare const PositionLocator: {
|
|
|
760
763
|
exists: () => boolean;
|
|
761
764
|
text: () => string | null;
|
|
762
765
|
empty: () => boolean;
|
|
763
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
764
766
|
descendants: (selector: string) => Element[];
|
|
765
|
-
ancestors: (selector: string) =>
|
|
767
|
+
ancestors: (selector: string) => ParentNode[];
|
|
766
768
|
attribute: (qualifiedName: string) => string | null;
|
|
767
769
|
style: (property: string) => string;
|
|
768
770
|
classNames: () => string[];
|
|
769
|
-
matches: (selector: string | undefined) => boolean;
|
|
770
771
|
checked: () => any;
|
|
771
772
|
selected: () => any;
|
|
772
773
|
readonly: () => any;
|
|
773
|
-
|
|
774
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
774
|
+
parents: (selector: string) => ParentNode[];
|
|
775
775
|
} & {
|
|
776
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
776
777
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
777
778
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
778
779
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -810,7 +811,6 @@ export declare const PositionLocator: {
|
|
|
810
811
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
811
812
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
812
813
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
813
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
814
814
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
815
815
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
816
816
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -860,24 +860,28 @@ export declare const PositionLocator: {
|
|
|
860
860
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
861
861
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
862
862
|
} & {
|
|
863
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
864
|
+
highlight: boolean;
|
|
865
|
+
} | undefined) => string;
|
|
866
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
867
|
+
children: (selector: string) => Element[];
|
|
868
|
+
title: () => string | null | undefined;
|
|
869
|
+
id: () => string;
|
|
870
|
+
tagName: () => string;
|
|
871
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
872
|
+
getBoundingClientRect: () => DOMRect;
|
|
873
|
+
matches: (selector: string | undefined) => boolean;
|
|
863
874
|
visible: () => boolean;
|
|
864
875
|
value: () => string | null;
|
|
865
876
|
disabled: () => string | null;
|
|
866
877
|
role: () => string | null;
|
|
867
|
-
id: () => string;
|
|
868
878
|
label: () => string | null | undefined;
|
|
869
|
-
title: () => string | null | undefined;
|
|
870
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
871
|
-
highlight: boolean;
|
|
872
|
-
} | undefined) => string;
|
|
873
879
|
getId: () => string;
|
|
874
880
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
875
881
|
getOwnerDocument: () => Document;
|
|
876
882
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
877
883
|
getTagName: () => string;
|
|
878
|
-
tagName: () => string;
|
|
879
884
|
typeIn: (text: string) => Promise<void>;
|
|
880
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
881
885
|
getDOMNode: () => Element;
|
|
882
886
|
node: () => Element;
|
|
883
887
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -885,9 +889,8 @@ export declare const PositionLocator: {
|
|
|
885
889
|
} | undefined) => void;
|
|
886
890
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
887
891
|
getTextContent: () => string | null;
|
|
888
|
-
getParentNode: () =>
|
|
889
|
-
parent: () =>
|
|
890
|
-
getBoundingClientRect: () => DOMRect;
|
|
892
|
+
getParentNode: () => ParentNode | null;
|
|
893
|
+
parent: () => ParentNode | null;
|
|
891
894
|
rect: () => DOMRect;
|
|
892
895
|
hasClass: (classname: string) => boolean;
|
|
893
896
|
containsFocus: () => boolean;
|
|
@@ -899,19 +902,17 @@ export declare const PositionLocator: {
|
|
|
899
902
|
exists: () => boolean;
|
|
900
903
|
text: () => string | null;
|
|
901
904
|
empty: () => boolean;
|
|
902
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
903
905
|
descendants: (selector: string) => Element[];
|
|
904
|
-
ancestors: (selector: string) =>
|
|
906
|
+
ancestors: (selector: string) => ParentNode[];
|
|
905
907
|
attribute: (qualifiedName: string) => string | null;
|
|
906
908
|
style: (property: string) => string;
|
|
907
909
|
classNames: () => string[];
|
|
908
|
-
matches: (selector: string | undefined) => boolean;
|
|
909
910
|
checked: () => any;
|
|
910
911
|
selected: () => any;
|
|
911
912
|
readonly: () => any;
|
|
912
|
-
|
|
913
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
913
|
+
parents: (selector: string) => ParentNode[];
|
|
914
914
|
} & {
|
|
915
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
915
916
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
916
917
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
917
918
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -949,7 +950,6 @@ export declare const PositionLocator: {
|
|
|
949
950
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
950
951
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
951
952
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
952
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
953
953
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
954
954
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
955
955
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1000,24 +1000,28 @@ export declare const PositionLocator: {
|
|
|
1000
1000
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1001
1001
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1002
1002
|
} & {
|
|
1003
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
1004
|
+
highlight: boolean;
|
|
1005
|
+
} | undefined) => string;
|
|
1006
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1007
|
+
children: (selector: string) => Element[];
|
|
1008
|
+
title: () => string | null | undefined;
|
|
1009
|
+
id: () => string;
|
|
1010
|
+
tagName: () => string;
|
|
1011
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
1012
|
+
getBoundingClientRect: () => DOMRect;
|
|
1013
|
+
matches: (selector: string | undefined) => boolean;
|
|
1003
1014
|
visible: () => boolean;
|
|
1004
1015
|
value: () => string | null;
|
|
1005
1016
|
disabled: () => string | null;
|
|
1006
1017
|
role: () => string | null;
|
|
1007
|
-
id: () => string;
|
|
1008
1018
|
label: () => string | null | undefined;
|
|
1009
|
-
title: () => string | null | undefined;
|
|
1010
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
1011
|
-
highlight: boolean;
|
|
1012
|
-
} | undefined) => string;
|
|
1013
1019
|
getId: () => string;
|
|
1014
1020
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1015
1021
|
getOwnerDocument: () => Document;
|
|
1016
1022
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
1017
1023
|
getTagName: () => string;
|
|
1018
|
-
tagName: () => string;
|
|
1019
1024
|
typeIn: (text: string) => Promise<void>;
|
|
1020
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
1021
1025
|
getDOMNode: () => Element;
|
|
1022
1026
|
node: () => Element;
|
|
1023
1027
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -1025,9 +1029,8 @@ export declare const PositionLocator: {
|
|
|
1025
1029
|
} | undefined) => void;
|
|
1026
1030
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
1027
1031
|
getTextContent: () => string | null;
|
|
1028
|
-
getParentNode: () =>
|
|
1029
|
-
parent: () =>
|
|
1030
|
-
getBoundingClientRect: () => DOMRect;
|
|
1032
|
+
getParentNode: () => ParentNode | null;
|
|
1033
|
+
parent: () => ParentNode | null;
|
|
1031
1034
|
rect: () => DOMRect;
|
|
1032
1035
|
hasClass: (classname: string) => boolean;
|
|
1033
1036
|
containsFocus: () => boolean;
|
|
@@ -1039,19 +1042,17 @@ export declare const PositionLocator: {
|
|
|
1039
1042
|
exists: () => boolean;
|
|
1040
1043
|
text: () => string | null;
|
|
1041
1044
|
empty: () => boolean;
|
|
1042
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1043
1045
|
descendants: (selector: string) => Element[];
|
|
1044
|
-
ancestors: (selector: string) =>
|
|
1046
|
+
ancestors: (selector: string) => ParentNode[];
|
|
1045
1047
|
attribute: (qualifiedName: string) => string | null;
|
|
1046
1048
|
style: (property: string) => string;
|
|
1047
1049
|
classNames: () => string[];
|
|
1048
|
-
matches: (selector: string | undefined) => boolean;
|
|
1049
1050
|
checked: () => any;
|
|
1050
1051
|
selected: () => any;
|
|
1051
1052
|
readonly: () => any;
|
|
1052
|
-
|
|
1053
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
1053
|
+
parents: (selector: string) => ParentNode[];
|
|
1054
1054
|
} & {
|
|
1055
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1055
1056
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1056
1057
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1057
1058
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1089,7 +1090,6 @@ export declare const PositionLocator: {
|
|
|
1089
1090
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1090
1091
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1091
1092
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1092
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1093
1093
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1094
1094
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1095
1095
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1139,24 +1139,28 @@ export declare const PositionLocator: {
|
|
|
1139
1139
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1140
1140
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1141
1141
|
} & {
|
|
1142
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
1143
|
+
highlight: boolean;
|
|
1144
|
+
} | undefined) => string;
|
|
1145
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1146
|
+
children: (selector: string) => Element[];
|
|
1147
|
+
title: () => string | null | undefined;
|
|
1148
|
+
id: () => string;
|
|
1149
|
+
tagName: () => string;
|
|
1150
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
1151
|
+
getBoundingClientRect: () => DOMRect;
|
|
1152
|
+
matches: (selector: string | undefined) => boolean;
|
|
1142
1153
|
visible: () => boolean;
|
|
1143
1154
|
value: () => string | null;
|
|
1144
1155
|
disabled: () => string | null;
|
|
1145
1156
|
role: () => string | null;
|
|
1146
|
-
id: () => string;
|
|
1147
1157
|
label: () => string | null | undefined;
|
|
1148
|
-
title: () => string | null | undefined;
|
|
1149
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
1150
|
-
highlight: boolean;
|
|
1151
|
-
} | undefined) => string;
|
|
1152
1158
|
getId: () => string;
|
|
1153
1159
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1154
1160
|
getOwnerDocument: () => Document;
|
|
1155
1161
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
1156
1162
|
getTagName: () => string;
|
|
1157
|
-
tagName: () => string;
|
|
1158
1163
|
typeIn: (text: string) => Promise<void>;
|
|
1159
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
1160
1164
|
getDOMNode: () => Element;
|
|
1161
1165
|
node: () => Element;
|
|
1162
1166
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -1164,9 +1168,8 @@ export declare const PositionLocator: {
|
|
|
1164
1168
|
} | undefined) => void;
|
|
1165
1169
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
1166
1170
|
getTextContent: () => string | null;
|
|
1167
|
-
getParentNode: () =>
|
|
1168
|
-
parent: () =>
|
|
1169
|
-
getBoundingClientRect: () => DOMRect;
|
|
1171
|
+
getParentNode: () => ParentNode | null;
|
|
1172
|
+
parent: () => ParentNode | null;
|
|
1170
1173
|
rect: () => DOMRect;
|
|
1171
1174
|
hasClass: (classname: string) => boolean;
|
|
1172
1175
|
containsFocus: () => boolean;
|
|
@@ -1178,19 +1181,17 @@ export declare const PositionLocator: {
|
|
|
1178
1181
|
exists: () => boolean;
|
|
1179
1182
|
text: () => string | null;
|
|
1180
1183
|
empty: () => boolean;
|
|
1181
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1182
1184
|
descendants: (selector: string) => Element[];
|
|
1183
|
-
ancestors: (selector: string) =>
|
|
1185
|
+
ancestors: (selector: string) => ParentNode[];
|
|
1184
1186
|
attribute: (qualifiedName: string) => string | null;
|
|
1185
1187
|
style: (property: string) => string;
|
|
1186
1188
|
classNames: () => string[];
|
|
1187
|
-
matches: (selector: string | undefined) => boolean;
|
|
1188
1189
|
checked: () => any;
|
|
1189
1190
|
selected: () => any;
|
|
1190
1191
|
readonly: () => any;
|
|
1191
|
-
|
|
1192
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
1192
|
+
parents: (selector: string) => ParentNode[];
|
|
1193
1193
|
} & {
|
|
1194
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1194
1195
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1195
1196
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1196
1197
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1228,7 +1229,6 @@ export declare const PositionLocator: {
|
|
|
1228
1229
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1229
1230
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1230
1231
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1231
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1232
1232
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1233
1233
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1234
1234
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1278,24 +1278,28 @@ export declare const PositionLocator: {
|
|
|
1278
1278
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1279
1279
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1280
1280
|
} & {
|
|
1281
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
1282
|
+
highlight: boolean;
|
|
1283
|
+
} | undefined) => string;
|
|
1284
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1285
|
+
children: (selector: string) => Element[];
|
|
1286
|
+
title: () => string | null | undefined;
|
|
1287
|
+
id: () => string;
|
|
1288
|
+
tagName: () => string;
|
|
1289
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
1290
|
+
getBoundingClientRect: () => DOMRect;
|
|
1291
|
+
matches: (selector: string | undefined) => boolean;
|
|
1281
1292
|
visible: () => boolean;
|
|
1282
1293
|
value: () => string | null;
|
|
1283
1294
|
disabled: () => string | null;
|
|
1284
1295
|
role: () => string | null;
|
|
1285
|
-
id: () => string;
|
|
1286
1296
|
label: () => string | null | undefined;
|
|
1287
|
-
title: () => string | null | undefined;
|
|
1288
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
1289
|
-
highlight: boolean;
|
|
1290
|
-
} | undefined) => string;
|
|
1291
1297
|
getId: () => string;
|
|
1292
1298
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1293
1299
|
getOwnerDocument: () => Document;
|
|
1294
1300
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
1295
1301
|
getTagName: () => string;
|
|
1296
|
-
tagName: () => string;
|
|
1297
1302
|
typeIn: (text: string) => Promise<void>;
|
|
1298
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
1299
1303
|
getDOMNode: () => Element;
|
|
1300
1304
|
node: () => Element;
|
|
1301
1305
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -1303,9 +1307,8 @@ export declare const PositionLocator: {
|
|
|
1303
1307
|
} | undefined) => void;
|
|
1304
1308
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
1305
1309
|
getTextContent: () => string | null;
|
|
1306
|
-
getParentNode: () =>
|
|
1307
|
-
parent: () =>
|
|
1308
|
-
getBoundingClientRect: () => DOMRect;
|
|
1310
|
+
getParentNode: () => ParentNode | null;
|
|
1311
|
+
parent: () => ParentNode | null;
|
|
1309
1312
|
rect: () => DOMRect;
|
|
1310
1313
|
hasClass: (classname: string) => boolean;
|
|
1311
1314
|
containsFocus: () => boolean;
|
|
@@ -1317,19 +1320,17 @@ export declare const PositionLocator: {
|
|
|
1317
1320
|
exists: () => boolean;
|
|
1318
1321
|
text: () => string | null;
|
|
1319
1322
|
empty: () => boolean;
|
|
1320
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1321
1323
|
descendants: (selector: string) => Element[];
|
|
1322
|
-
ancestors: (selector: string) =>
|
|
1324
|
+
ancestors: (selector: string) => ParentNode[];
|
|
1323
1325
|
attribute: (qualifiedName: string) => string | null;
|
|
1324
1326
|
style: (property: string) => string;
|
|
1325
1327
|
classNames: () => string[];
|
|
1326
|
-
matches: (selector: string | undefined) => boolean;
|
|
1327
1328
|
checked: () => any;
|
|
1328
1329
|
selected: () => any;
|
|
1329
1330
|
readonly: () => any;
|
|
1330
|
-
|
|
1331
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
1331
|
+
parents: (selector: string) => ParentNode[];
|
|
1332
1332
|
} & {
|
|
1333
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1333
1334
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1334
1335
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1335
1336
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1367,7 +1368,6 @@ export declare const PositionLocator: {
|
|
|
1367
1368
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1368
1369
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1369
1370
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1370
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1371
1371
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1372
1372
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1373
1373
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1418,24 +1418,28 @@ export declare const PositionLocator: {
|
|
|
1418
1418
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1419
1419
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1420
1420
|
} & {
|
|
1421
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
1422
|
+
highlight: boolean;
|
|
1423
|
+
} | undefined) => string;
|
|
1424
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1425
|
+
children: (selector: string) => Element[];
|
|
1426
|
+
title: () => string | null | undefined;
|
|
1427
|
+
id: () => string;
|
|
1428
|
+
tagName: () => string;
|
|
1429
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
1430
|
+
getBoundingClientRect: () => DOMRect;
|
|
1431
|
+
matches: (selector: string | undefined) => boolean;
|
|
1421
1432
|
visible: () => boolean;
|
|
1422
1433
|
value: () => string | null;
|
|
1423
1434
|
disabled: () => string | null;
|
|
1424
1435
|
role: () => string | null;
|
|
1425
|
-
id: () => string;
|
|
1426
1436
|
label: () => string | null | undefined;
|
|
1427
|
-
title: () => string | null | undefined;
|
|
1428
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
1429
|
-
highlight: boolean;
|
|
1430
|
-
} | undefined) => string;
|
|
1431
1437
|
getId: () => string;
|
|
1432
1438
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1433
1439
|
getOwnerDocument: () => Document;
|
|
1434
1440
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
1435
1441
|
getTagName: () => string;
|
|
1436
|
-
tagName: () => string;
|
|
1437
1442
|
typeIn: (text: string) => Promise<void>;
|
|
1438
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
1439
1443
|
getDOMNode: () => Element;
|
|
1440
1444
|
node: () => Element;
|
|
1441
1445
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -1443,9 +1447,8 @@ export declare const PositionLocator: {
|
|
|
1443
1447
|
} | undefined) => void;
|
|
1444
1448
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
1445
1449
|
getTextContent: () => string | null;
|
|
1446
|
-
getParentNode: () =>
|
|
1447
|
-
parent: () =>
|
|
1448
|
-
getBoundingClientRect: () => DOMRect;
|
|
1450
|
+
getParentNode: () => ParentNode | null;
|
|
1451
|
+
parent: () => ParentNode | null;
|
|
1449
1452
|
rect: () => DOMRect;
|
|
1450
1453
|
hasClass: (classname: string) => boolean;
|
|
1451
1454
|
containsFocus: () => boolean;
|
|
@@ -1457,19 +1460,17 @@ export declare const PositionLocator: {
|
|
|
1457
1460
|
exists: () => boolean;
|
|
1458
1461
|
text: () => string | null;
|
|
1459
1462
|
empty: () => boolean;
|
|
1460
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1461
1463
|
descendants: (selector: string) => Element[];
|
|
1462
|
-
ancestors: (selector: string) =>
|
|
1464
|
+
ancestors: (selector: string) => ParentNode[];
|
|
1463
1465
|
attribute: (qualifiedName: string) => string | null;
|
|
1464
1466
|
style: (property: string) => string;
|
|
1465
1467
|
classNames: () => string[];
|
|
1466
|
-
matches: (selector: string | undefined) => boolean;
|
|
1467
1468
|
checked: () => any;
|
|
1468
1469
|
selected: () => any;
|
|
1469
1470
|
readonly: () => any;
|
|
1470
|
-
|
|
1471
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
1471
|
+
parents: (selector: string) => ParentNode[];
|
|
1472
1472
|
} & {
|
|
1473
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1473
1474
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1474
1475
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1475
1476
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1507,7 +1508,6 @@ export declare const PositionLocator: {
|
|
|
1507
1508
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1508
1509
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1509
1510
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1510
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1511
1511
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1512
1512
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1513
1513
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1557,24 +1557,28 @@ export declare const PositionLocator: {
|
|
|
1557
1557
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1558
1558
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1559
1559
|
} & {
|
|
1560
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
1561
|
+
highlight: boolean;
|
|
1562
|
+
} | undefined) => string;
|
|
1563
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1564
|
+
children: (selector: string) => Element[];
|
|
1565
|
+
title: () => string | null | undefined;
|
|
1566
|
+
id: () => string;
|
|
1567
|
+
tagName: () => string;
|
|
1568
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
1569
|
+
getBoundingClientRect: () => DOMRect;
|
|
1570
|
+
matches: (selector: string | undefined) => boolean;
|
|
1560
1571
|
visible: () => boolean;
|
|
1561
1572
|
value: () => string | null;
|
|
1562
1573
|
disabled: () => string | null;
|
|
1563
1574
|
role: () => string | null;
|
|
1564
|
-
id: () => string;
|
|
1565
1575
|
label: () => string | null | undefined;
|
|
1566
|
-
title: () => string | null | undefined;
|
|
1567
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
1568
|
-
highlight: boolean;
|
|
1569
|
-
} | undefined) => string;
|
|
1570
1576
|
getId: () => string;
|
|
1571
1577
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1572
1578
|
getOwnerDocument: () => Document;
|
|
1573
1579
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
1574
1580
|
getTagName: () => string;
|
|
1575
|
-
tagName: () => string;
|
|
1576
1581
|
typeIn: (text: string) => Promise<void>;
|
|
1577
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
1578
1582
|
getDOMNode: () => Element;
|
|
1579
1583
|
node: () => Element;
|
|
1580
1584
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -1582,9 +1586,8 @@ export declare const PositionLocator: {
|
|
|
1582
1586
|
} | undefined) => void;
|
|
1583
1587
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
1584
1588
|
getTextContent: () => string | null;
|
|
1585
|
-
getParentNode: () =>
|
|
1586
|
-
parent: () =>
|
|
1587
|
-
getBoundingClientRect: () => DOMRect;
|
|
1589
|
+
getParentNode: () => ParentNode | null;
|
|
1590
|
+
parent: () => ParentNode | null;
|
|
1588
1591
|
rect: () => DOMRect;
|
|
1589
1592
|
hasClass: (classname: string) => boolean;
|
|
1590
1593
|
containsFocus: () => boolean;
|
|
@@ -1596,19 +1599,17 @@ export declare const PositionLocator: {
|
|
|
1596
1599
|
exists: () => boolean;
|
|
1597
1600
|
text: () => string | null;
|
|
1598
1601
|
empty: () => boolean;
|
|
1599
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1600
1602
|
descendants: (selector: string) => Element[];
|
|
1601
|
-
ancestors: (selector: string) =>
|
|
1603
|
+
ancestors: (selector: string) => ParentNode[];
|
|
1602
1604
|
attribute: (qualifiedName: string) => string | null;
|
|
1603
1605
|
style: (property: string) => string;
|
|
1604
1606
|
classNames: () => string[];
|
|
1605
|
-
matches: (selector: string | undefined) => boolean;
|
|
1606
1607
|
checked: () => any;
|
|
1607
1608
|
selected: () => any;
|
|
1608
1609
|
readonly: () => any;
|
|
1609
|
-
|
|
1610
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
1610
|
+
parents: (selector: string) => ParentNode[];
|
|
1611
1611
|
} & {
|
|
1612
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1612
1613
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1613
1614
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1614
1615
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1646,7 +1647,6 @@ export declare const PositionLocator: {
|
|
|
1646
1647
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1647
1648
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1648
1649
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1649
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1650
1650
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1651
1651
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1652
1652
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1696,24 +1696,28 @@ export declare const PositionLocator: {
|
|
|
1696
1696
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1697
1697
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1698
1698
|
} & {
|
|
1699
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
1700
|
+
highlight: boolean;
|
|
1701
|
+
} | undefined) => string;
|
|
1702
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1703
|
+
children: (selector: string) => Element[];
|
|
1704
|
+
title: () => string | null | undefined;
|
|
1705
|
+
id: () => string;
|
|
1706
|
+
tagName: () => string;
|
|
1707
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
1708
|
+
getBoundingClientRect: () => DOMRect;
|
|
1709
|
+
matches: (selector: string | undefined) => boolean;
|
|
1699
1710
|
visible: () => boolean;
|
|
1700
1711
|
value: () => string | null;
|
|
1701
1712
|
disabled: () => string | null;
|
|
1702
1713
|
role: () => string | null;
|
|
1703
|
-
id: () => string;
|
|
1704
1714
|
label: () => string | null | undefined;
|
|
1705
|
-
title: () => string | null | undefined;
|
|
1706
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
1707
|
-
highlight: boolean;
|
|
1708
|
-
} | undefined) => string;
|
|
1709
1715
|
getId: () => string;
|
|
1710
1716
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1711
1717
|
getOwnerDocument: () => Document;
|
|
1712
1718
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
1713
1719
|
getTagName: () => string;
|
|
1714
|
-
tagName: () => string;
|
|
1715
1720
|
typeIn: (text: string) => Promise<void>;
|
|
1716
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
1717
1721
|
getDOMNode: () => Element;
|
|
1718
1722
|
node: () => Element;
|
|
1719
1723
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -1721,9 +1725,8 @@ export declare const PositionLocator: {
|
|
|
1721
1725
|
} | undefined) => void;
|
|
1722
1726
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
1723
1727
|
getTextContent: () => string | null;
|
|
1724
|
-
getParentNode: () =>
|
|
1725
|
-
parent: () =>
|
|
1726
|
-
getBoundingClientRect: () => DOMRect;
|
|
1728
|
+
getParentNode: () => ParentNode | null;
|
|
1729
|
+
parent: () => ParentNode | null;
|
|
1727
1730
|
rect: () => DOMRect;
|
|
1728
1731
|
hasClass: (classname: string) => boolean;
|
|
1729
1732
|
containsFocus: () => boolean;
|
|
@@ -1735,19 +1738,17 @@ export declare const PositionLocator: {
|
|
|
1735
1738
|
exists: () => boolean;
|
|
1736
1739
|
text: () => string | null;
|
|
1737
1740
|
empty: () => boolean;
|
|
1738
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1739
1741
|
descendants: (selector: string) => Element[];
|
|
1740
|
-
ancestors: (selector: string) =>
|
|
1742
|
+
ancestors: (selector: string) => ParentNode[];
|
|
1741
1743
|
attribute: (qualifiedName: string) => string | null;
|
|
1742
1744
|
style: (property: string) => string;
|
|
1743
1745
|
classNames: () => string[];
|
|
1744
|
-
matches: (selector: string | undefined) => boolean;
|
|
1745
1746
|
checked: () => any;
|
|
1746
1747
|
selected: () => any;
|
|
1747
1748
|
readonly: () => any;
|
|
1748
|
-
|
|
1749
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
1749
|
+
parents: (selector: string) => ParentNode[];
|
|
1750
1750
|
} & {
|
|
1751
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1751
1752
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1752
1753
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1753
1754
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1785,7 +1786,6 @@ export declare const PositionLocator: {
|
|
|
1785
1786
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1786
1787
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1787
1788
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1788
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1789
1789
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1790
1790
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1791
1791
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1836,24 +1836,28 @@ export declare const PositionLocator: {
|
|
|
1836
1836
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1837
1837
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1838
1838
|
} & {
|
|
1839
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
1840
|
+
highlight: boolean;
|
|
1841
|
+
} | undefined) => string;
|
|
1842
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1843
|
+
children: (selector: string) => Element[];
|
|
1844
|
+
title: () => string | null | undefined;
|
|
1845
|
+
id: () => string;
|
|
1846
|
+
tagName: () => string;
|
|
1847
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
1848
|
+
getBoundingClientRect: () => DOMRect;
|
|
1849
|
+
matches: (selector: string | undefined) => boolean;
|
|
1839
1850
|
visible: () => boolean;
|
|
1840
1851
|
value: () => string | null;
|
|
1841
1852
|
disabled: () => string | null;
|
|
1842
1853
|
role: () => string | null;
|
|
1843
|
-
id: () => string;
|
|
1844
1854
|
label: () => string | null | undefined;
|
|
1845
|
-
title: () => string | null | undefined;
|
|
1846
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
1847
|
-
highlight: boolean;
|
|
1848
|
-
} | undefined) => string;
|
|
1849
1855
|
getId: () => string;
|
|
1850
1856
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1851
1857
|
getOwnerDocument: () => Document;
|
|
1852
1858
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
1853
1859
|
getTagName: () => string;
|
|
1854
|
-
tagName: () => string;
|
|
1855
1860
|
typeIn: (text: string) => Promise<void>;
|
|
1856
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
1857
1861
|
getDOMNode: () => Element;
|
|
1858
1862
|
node: () => Element;
|
|
1859
1863
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -1861,9 +1865,8 @@ export declare const PositionLocator: {
|
|
|
1861
1865
|
} | undefined) => void;
|
|
1862
1866
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
1863
1867
|
getTextContent: () => string | null;
|
|
1864
|
-
getParentNode: () =>
|
|
1865
|
-
parent: () =>
|
|
1866
|
-
getBoundingClientRect: () => DOMRect;
|
|
1868
|
+
getParentNode: () => ParentNode | null;
|
|
1869
|
+
parent: () => ParentNode | null;
|
|
1867
1870
|
rect: () => DOMRect;
|
|
1868
1871
|
hasClass: (classname: string) => boolean;
|
|
1869
1872
|
containsFocus: () => boolean;
|
|
@@ -1875,19 +1878,17 @@ export declare const PositionLocator: {
|
|
|
1875
1878
|
exists: () => boolean;
|
|
1876
1879
|
text: () => string | null;
|
|
1877
1880
|
empty: () => boolean;
|
|
1878
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1879
1881
|
descendants: (selector: string) => Element[];
|
|
1880
|
-
ancestors: (selector: string) =>
|
|
1882
|
+
ancestors: (selector: string) => ParentNode[];
|
|
1881
1883
|
attribute: (qualifiedName: string) => string | null;
|
|
1882
1884
|
style: (property: string) => string;
|
|
1883
1885
|
classNames: () => string[];
|
|
1884
|
-
matches: (selector: string | undefined) => boolean;
|
|
1885
1886
|
checked: () => any;
|
|
1886
1887
|
selected: () => any;
|
|
1887
1888
|
readonly: () => any;
|
|
1888
|
-
|
|
1889
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
1889
|
+
parents: (selector: string) => ParentNode[];
|
|
1890
1890
|
} & {
|
|
1891
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1891
1892
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1892
1893
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1893
1894
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1925,7 +1926,6 @@ export declare const PositionLocator: {
|
|
|
1925
1926
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1926
1927
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1927
1928
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1928
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1929
1929
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1930
1930
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1931
1931
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1975,24 +1975,28 @@ export declare const PositionLocator: {
|
|
|
1975
1975
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1976
1976
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1977
1977
|
} & {
|
|
1978
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
1979
|
+
highlight: boolean;
|
|
1980
|
+
} | undefined) => string;
|
|
1981
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1982
|
+
children: (selector: string) => Element[];
|
|
1983
|
+
title: () => string | null | undefined;
|
|
1984
|
+
id: () => string;
|
|
1985
|
+
tagName: () => string;
|
|
1986
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
1987
|
+
getBoundingClientRect: () => DOMRect;
|
|
1988
|
+
matches: (selector: string | undefined) => boolean;
|
|
1978
1989
|
visible: () => boolean;
|
|
1979
1990
|
value: () => string | null;
|
|
1980
1991
|
disabled: () => string | null;
|
|
1981
1992
|
role: () => string | null;
|
|
1982
|
-
id: () => string;
|
|
1983
1993
|
label: () => string | null | undefined;
|
|
1984
|
-
title: () => string | null | undefined;
|
|
1985
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
1986
|
-
highlight: boolean;
|
|
1987
|
-
} | undefined) => string;
|
|
1988
1994
|
getId: () => string;
|
|
1989
1995
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1990
1996
|
getOwnerDocument: () => Document;
|
|
1991
1997
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
1992
1998
|
getTagName: () => string;
|
|
1993
|
-
tagName: () => string;
|
|
1994
1999
|
typeIn: (text: string) => Promise<void>;
|
|
1995
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
1996
2000
|
getDOMNode: () => Element;
|
|
1997
2001
|
node: () => Element;
|
|
1998
2002
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -2000,9 +2004,8 @@ export declare const PositionLocator: {
|
|
|
2000
2004
|
} | undefined) => void;
|
|
2001
2005
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
2002
2006
|
getTextContent: () => string | null;
|
|
2003
|
-
getParentNode: () =>
|
|
2004
|
-
parent: () =>
|
|
2005
|
-
getBoundingClientRect: () => DOMRect;
|
|
2007
|
+
getParentNode: () => ParentNode | null;
|
|
2008
|
+
parent: () => ParentNode | null;
|
|
2006
2009
|
rect: () => DOMRect;
|
|
2007
2010
|
hasClass: (classname: string) => boolean;
|
|
2008
2011
|
containsFocus: () => boolean;
|
|
@@ -2014,19 +2017,17 @@ export declare const PositionLocator: {
|
|
|
2014
2017
|
exists: () => boolean;
|
|
2015
2018
|
text: () => string | null;
|
|
2016
2019
|
empty: () => boolean;
|
|
2017
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
2018
2020
|
descendants: (selector: string) => Element[];
|
|
2019
|
-
ancestors: (selector: string) =>
|
|
2021
|
+
ancestors: (selector: string) => ParentNode[];
|
|
2020
2022
|
attribute: (qualifiedName: string) => string | null;
|
|
2021
2023
|
style: (property: string) => string;
|
|
2022
2024
|
classNames: () => string[];
|
|
2023
|
-
matches: (selector: string | undefined) => boolean;
|
|
2024
2025
|
checked: () => any;
|
|
2025
2026
|
selected: () => any;
|
|
2026
2027
|
readonly: () => any;
|
|
2027
|
-
|
|
2028
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
2028
|
+
parents: (selector: string) => ParentNode[];
|
|
2029
2029
|
} & {
|
|
2030
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
2030
2031
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
2031
2032
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
2032
2033
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -2064,7 +2065,6 @@ export declare const PositionLocator: {
|
|
|
2064
2065
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
2065
2066
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
2066
2067
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
2067
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
2068
2068
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
2069
2069
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
2070
2070
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -2114,24 +2114,28 @@ export declare const PositionLocator: {
|
|
|
2114
2114
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
2115
2115
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
2116
2116
|
} & {
|
|
2117
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
2118
|
+
highlight: boolean;
|
|
2119
|
+
} | undefined) => string;
|
|
2120
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
2121
|
+
children: (selector: string) => Element[];
|
|
2122
|
+
title: () => string | null | undefined;
|
|
2123
|
+
id: () => string;
|
|
2124
|
+
tagName: () => string;
|
|
2125
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
2126
|
+
getBoundingClientRect: () => DOMRect;
|
|
2127
|
+
matches: (selector: string | undefined) => boolean;
|
|
2117
2128
|
visible: () => boolean;
|
|
2118
2129
|
value: () => string | null;
|
|
2119
2130
|
disabled: () => string | null;
|
|
2120
2131
|
role: () => string | null;
|
|
2121
|
-
id: () => string;
|
|
2122
2132
|
label: () => string | null | undefined;
|
|
2123
|
-
title: () => string | null | undefined;
|
|
2124
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
2125
|
-
highlight: boolean;
|
|
2126
|
-
} | undefined) => string;
|
|
2127
2133
|
getId: () => string;
|
|
2128
2134
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
2129
2135
|
getOwnerDocument: () => Document;
|
|
2130
2136
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
2131
2137
|
getTagName: () => string;
|
|
2132
|
-
tagName: () => string;
|
|
2133
2138
|
typeIn: (text: string) => Promise<void>;
|
|
2134
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
2135
2139
|
getDOMNode: () => Element;
|
|
2136
2140
|
node: () => Element;
|
|
2137
2141
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -2139,9 +2143,8 @@ export declare const PositionLocator: {
|
|
|
2139
2143
|
} | undefined) => void;
|
|
2140
2144
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
2141
2145
|
getTextContent: () => string | null;
|
|
2142
|
-
getParentNode: () =>
|
|
2143
|
-
parent: () =>
|
|
2144
|
-
getBoundingClientRect: () => DOMRect;
|
|
2146
|
+
getParentNode: () => ParentNode | null;
|
|
2147
|
+
parent: () => ParentNode | null;
|
|
2145
2148
|
rect: () => DOMRect;
|
|
2146
2149
|
hasClass: (classname: string) => boolean;
|
|
2147
2150
|
containsFocus: () => boolean;
|
|
@@ -2153,19 +2156,17 @@ export declare const PositionLocator: {
|
|
|
2153
2156
|
exists: () => boolean;
|
|
2154
2157
|
text: () => string | null;
|
|
2155
2158
|
empty: () => boolean;
|
|
2156
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
2157
2159
|
descendants: (selector: string) => Element[];
|
|
2158
|
-
ancestors: (selector: string) =>
|
|
2160
|
+
ancestors: (selector: string) => ParentNode[];
|
|
2159
2161
|
attribute: (qualifiedName: string) => string | null;
|
|
2160
2162
|
style: (property: string) => string;
|
|
2161
2163
|
classNames: () => string[];
|
|
2162
|
-
matches: (selector: string | undefined) => boolean;
|
|
2163
2164
|
checked: () => any;
|
|
2164
2165
|
selected: () => any;
|
|
2165
2166
|
readonly: () => any;
|
|
2166
|
-
|
|
2167
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
2167
|
+
parents: (selector: string) => ParentNode[];
|
|
2168
2168
|
} & {
|
|
2169
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
2169
2170
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
2170
2171
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
2171
2172
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -2203,7 +2204,6 @@ export declare const PositionLocator: {
|
|
|
2203
2204
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
2204
2205
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
2205
2206
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
2206
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
2207
2207
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
2208
2208
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
2209
2209
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|