@instructure/ui-navigation 8.10.2 → 8.10.3-snapshot.10
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 +25 -24
- package/src/Navigation/NavigationItem/index.tsx +1 -1
- package/types/AppNav/AppNavLocator.d.ts +224 -224
- package/types/AppNav/Item/AppNavItemLocator.d.ts +64 -64
- package/types/Navigation/NavigationItem/NavigationItemLocator.d.ts +64 -64
- package/types/Navigation/NavigationLocator.d.ts +224 -224
|
@@ -15,24 +15,28 @@ export declare const NavigationLocator: {
|
|
|
15
15
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
16
16
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
17
17
|
} & {
|
|
18
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
19
|
+
highlight: boolean;
|
|
20
|
+
} | undefined) => string;
|
|
21
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
22
|
+
children: (selector: string) => Element[];
|
|
23
|
+
title: () => string | null | undefined;
|
|
24
|
+
id: () => string;
|
|
25
|
+
tagName: () => string;
|
|
26
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
27
|
+
getBoundingClientRect: () => DOMRect;
|
|
28
|
+
matches: (selector: string | undefined) => boolean;
|
|
18
29
|
visible: () => boolean;
|
|
19
30
|
value: () => string | null;
|
|
20
31
|
disabled: () => string | null;
|
|
21
32
|
role: () => string | null;
|
|
22
|
-
id: () => string;
|
|
23
33
|
label: () => string | null | undefined;
|
|
24
|
-
title: () => string | null | undefined;
|
|
25
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
26
|
-
highlight: boolean;
|
|
27
|
-
} | undefined) => string;
|
|
28
34
|
getId: () => string;
|
|
29
35
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
30
36
|
getOwnerDocument: () => Document;
|
|
31
37
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
32
38
|
getTagName: () => string;
|
|
33
|
-
tagName: () => string;
|
|
34
39
|
typeIn: (text: string) => Promise<void>;
|
|
35
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
36
40
|
getDOMNode: () => Element;
|
|
37
41
|
node: () => Element;
|
|
38
42
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -40,9 +44,8 @@ export declare const NavigationLocator: {
|
|
|
40
44
|
} | undefined) => void;
|
|
41
45
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
42
46
|
getTextContent: () => string | null;
|
|
43
|
-
getParentNode: () =>
|
|
44
|
-
parent: () =>
|
|
45
|
-
getBoundingClientRect: () => DOMRect;
|
|
47
|
+
getParentNode: () => ParentNode | null;
|
|
48
|
+
parent: () => ParentNode | null;
|
|
46
49
|
rect: () => DOMRect;
|
|
47
50
|
hasClass: (classname: string) => boolean;
|
|
48
51
|
containsFocus: () => boolean;
|
|
@@ -54,19 +57,17 @@ export declare const NavigationLocator: {
|
|
|
54
57
|
exists: () => boolean;
|
|
55
58
|
text: () => string | null;
|
|
56
59
|
empty: () => boolean;
|
|
57
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
58
60
|
descendants: (selector: string) => Element[];
|
|
59
|
-
ancestors: (selector: string) =>
|
|
61
|
+
ancestors: (selector: string) => ParentNode[];
|
|
60
62
|
attribute: (qualifiedName: string) => string | null;
|
|
61
63
|
style: (property: string) => string;
|
|
62
64
|
classNames: () => string[];
|
|
63
|
-
matches: (selector: string | undefined) => boolean;
|
|
64
65
|
checked: () => any;
|
|
65
66
|
selected: () => any;
|
|
66
67
|
readonly: () => any;
|
|
67
|
-
|
|
68
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
68
|
+
parents: (selector: string) => ParentNode[];
|
|
69
69
|
} & {
|
|
70
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
70
71
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
71
72
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
72
73
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -104,7 +105,6 @@ export declare const NavigationLocator: {
|
|
|
104
105
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
105
106
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
106
107
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
107
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
108
108
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
109
109
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
110
110
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -156,24 +156,28 @@ export declare const NavigationLocator: {
|
|
|
156
156
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
157
157
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
158
158
|
} & {
|
|
159
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
160
|
+
highlight: boolean;
|
|
161
|
+
} | undefined) => string;
|
|
162
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
163
|
+
children: (selector: string) => Element[];
|
|
164
|
+
title: () => string | null | undefined;
|
|
165
|
+
id: () => string;
|
|
166
|
+
tagName: () => string;
|
|
167
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
168
|
+
getBoundingClientRect: () => DOMRect;
|
|
169
|
+
matches: (selector: string | undefined) => boolean;
|
|
159
170
|
visible: () => boolean;
|
|
160
171
|
value: () => string | null;
|
|
161
172
|
disabled: () => string | null;
|
|
162
173
|
role: () => string | null;
|
|
163
|
-
id: () => string;
|
|
164
174
|
label: () => string | null | undefined;
|
|
165
|
-
title: () => string | null | undefined;
|
|
166
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
167
|
-
highlight: boolean;
|
|
168
|
-
} | undefined) => string;
|
|
169
175
|
getId: () => string;
|
|
170
176
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
171
177
|
getOwnerDocument: () => Document;
|
|
172
178
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
173
179
|
getTagName: () => string;
|
|
174
|
-
tagName: () => string;
|
|
175
180
|
typeIn: (text: string) => Promise<void>;
|
|
176
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
177
181
|
getDOMNode: () => Element;
|
|
178
182
|
node: () => Element;
|
|
179
183
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -181,9 +185,8 @@ export declare const NavigationLocator: {
|
|
|
181
185
|
} | undefined) => void;
|
|
182
186
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
183
187
|
getTextContent: () => string | null;
|
|
184
|
-
getParentNode: () =>
|
|
185
|
-
parent: () =>
|
|
186
|
-
getBoundingClientRect: () => DOMRect;
|
|
188
|
+
getParentNode: () => ParentNode | null;
|
|
189
|
+
parent: () => ParentNode | null;
|
|
187
190
|
rect: () => DOMRect;
|
|
188
191
|
hasClass: (classname: string) => boolean;
|
|
189
192
|
containsFocus: () => boolean;
|
|
@@ -195,19 +198,17 @@ export declare const NavigationLocator: {
|
|
|
195
198
|
exists: () => boolean;
|
|
196
199
|
text: () => string | null;
|
|
197
200
|
empty: () => boolean;
|
|
198
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
199
201
|
descendants: (selector: string) => Element[];
|
|
200
|
-
ancestors: (selector: string) =>
|
|
202
|
+
ancestors: (selector: string) => ParentNode[];
|
|
201
203
|
attribute: (qualifiedName: string) => string | null;
|
|
202
204
|
style: (property: string) => string;
|
|
203
205
|
classNames: () => string[];
|
|
204
|
-
matches: (selector: string | undefined) => boolean;
|
|
205
206
|
checked: () => any;
|
|
206
207
|
selected: () => any;
|
|
207
208
|
readonly: () => any;
|
|
208
|
-
|
|
209
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
209
|
+
parents: (selector: string) => ParentNode[];
|
|
210
210
|
} & {
|
|
211
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
211
212
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
212
213
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
213
214
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -245,7 +246,6 @@ export declare const NavigationLocator: {
|
|
|
245
246
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
246
247
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
247
248
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
248
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
249
249
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
250
250
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
251
251
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -304,24 +304,28 @@ export declare const NavigationLocator: {
|
|
|
304
304
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
305
305
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
306
306
|
} & {
|
|
307
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
308
|
+
highlight: boolean;
|
|
309
|
+
} | undefined) => string;
|
|
310
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
311
|
+
children: (selector: string) => Element[];
|
|
312
|
+
title: () => string | null | undefined;
|
|
313
|
+
id: () => string;
|
|
314
|
+
tagName: () => string;
|
|
315
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
316
|
+
getBoundingClientRect: () => DOMRect;
|
|
317
|
+
matches: (selector: string | undefined) => boolean;
|
|
307
318
|
visible: () => boolean;
|
|
308
319
|
value: () => string | null;
|
|
309
320
|
disabled: () => string | null;
|
|
310
321
|
role: () => string | null;
|
|
311
|
-
id: () => string;
|
|
312
322
|
label: () => string | null | undefined;
|
|
313
|
-
title: () => string | null | undefined;
|
|
314
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
315
|
-
highlight: boolean;
|
|
316
|
-
} | undefined) => string;
|
|
317
323
|
getId: () => string;
|
|
318
324
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
319
325
|
getOwnerDocument: () => Document;
|
|
320
326
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
321
327
|
getTagName: () => string;
|
|
322
|
-
tagName: () => string;
|
|
323
328
|
typeIn: (text: string) => Promise<void>;
|
|
324
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
325
329
|
getDOMNode: () => Element;
|
|
326
330
|
node: () => Element;
|
|
327
331
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -329,9 +333,8 @@ export declare const NavigationLocator: {
|
|
|
329
333
|
} | undefined) => void;
|
|
330
334
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
331
335
|
getTextContent: () => string | null;
|
|
332
|
-
getParentNode: () =>
|
|
333
|
-
parent: () =>
|
|
334
|
-
getBoundingClientRect: () => DOMRect;
|
|
336
|
+
getParentNode: () => ParentNode | null;
|
|
337
|
+
parent: () => ParentNode | null;
|
|
335
338
|
rect: () => DOMRect;
|
|
336
339
|
hasClass: (classname: string) => boolean;
|
|
337
340
|
containsFocus: () => boolean;
|
|
@@ -343,19 +346,17 @@ export declare const NavigationLocator: {
|
|
|
343
346
|
exists: () => boolean;
|
|
344
347
|
text: () => string | null;
|
|
345
348
|
empty: () => boolean;
|
|
346
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
347
349
|
descendants: (selector: string) => Element[];
|
|
348
|
-
ancestors: (selector: string) =>
|
|
350
|
+
ancestors: (selector: string) => ParentNode[];
|
|
349
351
|
attribute: (qualifiedName: string) => string | null;
|
|
350
352
|
style: (property: string) => string;
|
|
351
353
|
classNames: () => string[];
|
|
352
|
-
matches: (selector: string | undefined) => boolean;
|
|
353
354
|
checked: () => any;
|
|
354
355
|
selected: () => any;
|
|
355
356
|
readonly: () => any;
|
|
356
|
-
|
|
357
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
357
|
+
parents: (selector: string) => ParentNode[];
|
|
358
358
|
} & {
|
|
359
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
359
360
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
360
361
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
361
362
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -393,7 +394,6 @@ export declare const NavigationLocator: {
|
|
|
393
394
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
394
395
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
395
396
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
396
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
397
397
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
398
398
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
399
399
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -443,24 +443,28 @@ export declare const NavigationLocator: {
|
|
|
443
443
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
444
444
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
445
445
|
} & {
|
|
446
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
447
|
+
highlight: boolean;
|
|
448
|
+
} | undefined) => string;
|
|
449
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
450
|
+
children: (selector: string) => Element[];
|
|
451
|
+
title: () => string | null | undefined;
|
|
452
|
+
id: () => string;
|
|
453
|
+
tagName: () => string;
|
|
454
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
455
|
+
getBoundingClientRect: () => DOMRect;
|
|
456
|
+
matches: (selector: string | undefined) => boolean;
|
|
446
457
|
visible: () => boolean;
|
|
447
458
|
value: () => string | null;
|
|
448
459
|
disabled: () => string | null;
|
|
449
460
|
role: () => string | null;
|
|
450
|
-
id: () => string;
|
|
451
461
|
label: () => string | null | undefined;
|
|
452
|
-
title: () => string | null | undefined;
|
|
453
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
454
|
-
highlight: boolean;
|
|
455
|
-
} | undefined) => string;
|
|
456
462
|
getId: () => string;
|
|
457
463
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
458
464
|
getOwnerDocument: () => Document;
|
|
459
465
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
460
466
|
getTagName: () => string;
|
|
461
|
-
tagName: () => string;
|
|
462
467
|
typeIn: (text: string) => Promise<void>;
|
|
463
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
464
468
|
getDOMNode: () => Element;
|
|
465
469
|
node: () => Element;
|
|
466
470
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -468,9 +472,8 @@ export declare const NavigationLocator: {
|
|
|
468
472
|
} | undefined) => void;
|
|
469
473
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
470
474
|
getTextContent: () => string | null;
|
|
471
|
-
getParentNode: () =>
|
|
472
|
-
parent: () =>
|
|
473
|
-
getBoundingClientRect: () => DOMRect;
|
|
475
|
+
getParentNode: () => ParentNode | null;
|
|
476
|
+
parent: () => ParentNode | null;
|
|
474
477
|
rect: () => DOMRect;
|
|
475
478
|
hasClass: (classname: string) => boolean;
|
|
476
479
|
containsFocus: () => boolean;
|
|
@@ -482,19 +485,17 @@ export declare const NavigationLocator: {
|
|
|
482
485
|
exists: () => boolean;
|
|
483
486
|
text: () => string | null;
|
|
484
487
|
empty: () => boolean;
|
|
485
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
486
488
|
descendants: (selector: string) => Element[];
|
|
487
|
-
ancestors: (selector: string) =>
|
|
489
|
+
ancestors: (selector: string) => ParentNode[];
|
|
488
490
|
attribute: (qualifiedName: string) => string | null;
|
|
489
491
|
style: (property: string) => string;
|
|
490
492
|
classNames: () => string[];
|
|
491
|
-
matches: (selector: string | undefined) => boolean;
|
|
492
493
|
checked: () => any;
|
|
493
494
|
selected: () => any;
|
|
494
495
|
readonly: () => any;
|
|
495
|
-
|
|
496
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
496
|
+
parents: (selector: string) => ParentNode[];
|
|
497
497
|
} & {
|
|
498
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
498
499
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
499
500
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
500
501
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -532,7 +533,6 @@ export declare const NavigationLocator: {
|
|
|
532
533
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
533
534
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
534
535
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
535
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
536
536
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
537
537
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
538
538
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -584,24 +584,28 @@ export declare const NavigationLocator: {
|
|
|
584
584
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
585
585
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
586
586
|
} & {
|
|
587
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
588
|
+
highlight: boolean;
|
|
589
|
+
} | undefined) => string;
|
|
590
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
591
|
+
children: (selector: string) => Element[];
|
|
592
|
+
title: () => string | null | undefined;
|
|
593
|
+
id: () => string;
|
|
594
|
+
tagName: () => string;
|
|
595
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
596
|
+
getBoundingClientRect: () => DOMRect;
|
|
597
|
+
matches: (selector: string | undefined) => boolean;
|
|
587
598
|
visible: () => boolean;
|
|
588
599
|
value: () => string | null;
|
|
589
600
|
disabled: () => string | null;
|
|
590
601
|
role: () => string | null;
|
|
591
|
-
id: () => string;
|
|
592
602
|
label: () => string | null | undefined;
|
|
593
|
-
title: () => string | null | undefined;
|
|
594
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
595
|
-
highlight: boolean;
|
|
596
|
-
} | undefined) => string;
|
|
597
603
|
getId: () => string;
|
|
598
604
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
599
605
|
getOwnerDocument: () => Document;
|
|
600
606
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
601
607
|
getTagName: () => string;
|
|
602
|
-
tagName: () => string;
|
|
603
608
|
typeIn: (text: string) => Promise<void>;
|
|
604
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
605
609
|
getDOMNode: () => Element;
|
|
606
610
|
node: () => Element;
|
|
607
611
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -609,9 +613,8 @@ export declare const NavigationLocator: {
|
|
|
609
613
|
} | undefined) => void;
|
|
610
614
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
611
615
|
getTextContent: () => string | null;
|
|
612
|
-
getParentNode: () =>
|
|
613
|
-
parent: () =>
|
|
614
|
-
getBoundingClientRect: () => DOMRect;
|
|
616
|
+
getParentNode: () => ParentNode | null;
|
|
617
|
+
parent: () => ParentNode | null;
|
|
615
618
|
rect: () => DOMRect;
|
|
616
619
|
hasClass: (classname: string) => boolean;
|
|
617
620
|
containsFocus: () => boolean;
|
|
@@ -623,19 +626,17 @@ export declare const NavigationLocator: {
|
|
|
623
626
|
exists: () => boolean;
|
|
624
627
|
text: () => string | null;
|
|
625
628
|
empty: () => boolean;
|
|
626
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
627
629
|
descendants: (selector: string) => Element[];
|
|
628
|
-
ancestors: (selector: string) =>
|
|
630
|
+
ancestors: (selector: string) => ParentNode[];
|
|
629
631
|
attribute: (qualifiedName: string) => string | null;
|
|
630
632
|
style: (property: string) => string;
|
|
631
633
|
classNames: () => string[];
|
|
632
|
-
matches: (selector: string | undefined) => boolean;
|
|
633
634
|
checked: () => any;
|
|
634
635
|
selected: () => any;
|
|
635
636
|
readonly: () => any;
|
|
636
|
-
|
|
637
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
637
|
+
parents: (selector: string) => ParentNode[];
|
|
638
638
|
} & {
|
|
639
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
639
640
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
640
641
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
641
642
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -673,7 +674,6 @@ export declare const NavigationLocator: {
|
|
|
673
674
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
674
675
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
675
676
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
676
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
677
677
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
678
678
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
679
679
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -726,24 +726,28 @@ export declare const NavigationLocator: {
|
|
|
726
726
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
727
727
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
728
728
|
} & {
|
|
729
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
730
|
+
highlight: boolean;
|
|
731
|
+
} | undefined) => string;
|
|
732
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
733
|
+
children: (selector: string) => Element[];
|
|
734
|
+
title: () => string | null | undefined;
|
|
735
|
+
id: () => string;
|
|
736
|
+
tagName: () => string;
|
|
737
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
738
|
+
getBoundingClientRect: () => DOMRect;
|
|
739
|
+
matches: (selector: string | undefined) => boolean;
|
|
729
740
|
visible: () => boolean;
|
|
730
741
|
value: () => string | null;
|
|
731
742
|
disabled: () => string | null;
|
|
732
743
|
role: () => string | null;
|
|
733
|
-
id: () => string;
|
|
734
744
|
label: () => string | null | undefined;
|
|
735
|
-
title: () => string | null | undefined;
|
|
736
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
737
|
-
highlight: boolean;
|
|
738
|
-
} | undefined) => string;
|
|
739
745
|
getId: () => string;
|
|
740
746
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
741
747
|
getOwnerDocument: () => Document;
|
|
742
748
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
743
749
|
getTagName: () => string;
|
|
744
|
-
tagName: () => string;
|
|
745
750
|
typeIn: (text: string) => Promise<void>;
|
|
746
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
747
751
|
getDOMNode: () => Element;
|
|
748
752
|
node: () => Element;
|
|
749
753
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -751,9 +755,8 @@ export declare const NavigationLocator: {
|
|
|
751
755
|
} | undefined) => void;
|
|
752
756
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
753
757
|
getTextContent: () => string | null;
|
|
754
|
-
getParentNode: () =>
|
|
755
|
-
parent: () =>
|
|
756
|
-
getBoundingClientRect: () => DOMRect;
|
|
758
|
+
getParentNode: () => ParentNode | null;
|
|
759
|
+
parent: () => ParentNode | null;
|
|
757
760
|
rect: () => DOMRect;
|
|
758
761
|
hasClass: (classname: string) => boolean;
|
|
759
762
|
containsFocus: () => boolean;
|
|
@@ -765,19 +768,17 @@ export declare const NavigationLocator: {
|
|
|
765
768
|
exists: () => boolean;
|
|
766
769
|
text: () => string | null;
|
|
767
770
|
empty: () => boolean;
|
|
768
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
769
771
|
descendants: (selector: string) => Element[];
|
|
770
|
-
ancestors: (selector: string) =>
|
|
772
|
+
ancestors: (selector: string) => ParentNode[];
|
|
771
773
|
attribute: (qualifiedName: string) => string | null;
|
|
772
774
|
style: (property: string) => string;
|
|
773
775
|
classNames: () => string[];
|
|
774
|
-
matches: (selector: string | undefined) => boolean;
|
|
775
776
|
checked: () => any;
|
|
776
777
|
selected: () => any;
|
|
777
778
|
readonly: () => any;
|
|
778
|
-
|
|
779
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
779
|
+
parents: (selector: string) => ParentNode[];
|
|
780
780
|
} & {
|
|
781
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
781
782
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
782
783
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
783
784
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -815,7 +816,6 @@ export declare const NavigationLocator: {
|
|
|
815
816
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
816
817
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
817
818
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
818
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
819
819
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
820
820
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
821
821
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -865,24 +865,28 @@ export declare const NavigationLocator: {
|
|
|
865
865
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
866
866
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
867
867
|
} & {
|
|
868
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
869
|
+
highlight: boolean;
|
|
870
|
+
} | undefined) => string;
|
|
871
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
872
|
+
children: (selector: string) => Element[];
|
|
873
|
+
title: () => string | null | undefined;
|
|
874
|
+
id: () => string;
|
|
875
|
+
tagName: () => string;
|
|
876
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
877
|
+
getBoundingClientRect: () => DOMRect;
|
|
878
|
+
matches: (selector: string | undefined) => boolean;
|
|
868
879
|
visible: () => boolean;
|
|
869
880
|
value: () => string | null;
|
|
870
881
|
disabled: () => string | null;
|
|
871
882
|
role: () => string | null;
|
|
872
|
-
id: () => string;
|
|
873
883
|
label: () => string | null | undefined;
|
|
874
|
-
title: () => string | null | undefined;
|
|
875
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
876
|
-
highlight: boolean;
|
|
877
|
-
} | undefined) => string;
|
|
878
884
|
getId: () => string;
|
|
879
885
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
880
886
|
getOwnerDocument: () => Document;
|
|
881
887
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
882
888
|
getTagName: () => string;
|
|
883
|
-
tagName: () => string;
|
|
884
889
|
typeIn: (text: string) => Promise<void>;
|
|
885
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
886
890
|
getDOMNode: () => Element;
|
|
887
891
|
node: () => Element;
|
|
888
892
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -890,9 +894,8 @@ export declare const NavigationLocator: {
|
|
|
890
894
|
} | undefined) => void;
|
|
891
895
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
892
896
|
getTextContent: () => string | null;
|
|
893
|
-
getParentNode: () =>
|
|
894
|
-
parent: () =>
|
|
895
|
-
getBoundingClientRect: () => DOMRect;
|
|
897
|
+
getParentNode: () => ParentNode | null;
|
|
898
|
+
parent: () => ParentNode | null;
|
|
896
899
|
rect: () => DOMRect;
|
|
897
900
|
hasClass: (classname: string) => boolean;
|
|
898
901
|
containsFocus: () => boolean;
|
|
@@ -904,19 +907,17 @@ export declare const NavigationLocator: {
|
|
|
904
907
|
exists: () => boolean;
|
|
905
908
|
text: () => string | null;
|
|
906
909
|
empty: () => boolean;
|
|
907
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
908
910
|
descendants: (selector: string) => Element[];
|
|
909
|
-
ancestors: (selector: string) =>
|
|
911
|
+
ancestors: (selector: string) => ParentNode[];
|
|
910
912
|
attribute: (qualifiedName: string) => string | null;
|
|
911
913
|
style: (property: string) => string;
|
|
912
914
|
classNames: () => string[];
|
|
913
|
-
matches: (selector: string | undefined) => boolean;
|
|
914
915
|
checked: () => any;
|
|
915
916
|
selected: () => any;
|
|
916
917
|
readonly: () => any;
|
|
917
|
-
|
|
918
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
918
|
+
parents: (selector: string) => ParentNode[];
|
|
919
919
|
} & {
|
|
920
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
920
921
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
921
922
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
922
923
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -954,7 +955,6 @@ export declare const NavigationLocator: {
|
|
|
954
955
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
955
956
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
956
957
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
957
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
958
958
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
959
959
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
960
960
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1006,24 +1006,28 @@ export declare const NavigationLocator: {
|
|
|
1006
1006
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1007
1007
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1008
1008
|
} & {
|
|
1009
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
1010
|
+
highlight: boolean;
|
|
1011
|
+
} | undefined) => string;
|
|
1012
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1013
|
+
children: (selector: string) => Element[];
|
|
1014
|
+
title: () => string | null | undefined;
|
|
1015
|
+
id: () => string;
|
|
1016
|
+
tagName: () => string;
|
|
1017
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
1018
|
+
getBoundingClientRect: () => DOMRect;
|
|
1019
|
+
matches: (selector: string | undefined) => boolean;
|
|
1009
1020
|
visible: () => boolean;
|
|
1010
1021
|
value: () => string | null;
|
|
1011
1022
|
disabled: () => string | null;
|
|
1012
1023
|
role: () => string | null;
|
|
1013
|
-
id: () => string;
|
|
1014
1024
|
label: () => string | null | undefined;
|
|
1015
|
-
title: () => string | null | undefined;
|
|
1016
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
1017
|
-
highlight: boolean;
|
|
1018
|
-
} | undefined) => string;
|
|
1019
1025
|
getId: () => string;
|
|
1020
1026
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1021
1027
|
getOwnerDocument: () => Document;
|
|
1022
1028
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
1023
1029
|
getTagName: () => string;
|
|
1024
|
-
tagName: () => string;
|
|
1025
1030
|
typeIn: (text: string) => Promise<void>;
|
|
1026
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
1027
1031
|
getDOMNode: () => Element;
|
|
1028
1032
|
node: () => Element;
|
|
1029
1033
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -1031,9 +1035,8 @@ export declare const NavigationLocator: {
|
|
|
1031
1035
|
} | undefined) => void;
|
|
1032
1036
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
1033
1037
|
getTextContent: () => string | null;
|
|
1034
|
-
getParentNode: () =>
|
|
1035
|
-
parent: () =>
|
|
1036
|
-
getBoundingClientRect: () => DOMRect;
|
|
1038
|
+
getParentNode: () => ParentNode | null;
|
|
1039
|
+
parent: () => ParentNode | null;
|
|
1037
1040
|
rect: () => DOMRect;
|
|
1038
1041
|
hasClass: (classname: string) => boolean;
|
|
1039
1042
|
containsFocus: () => boolean;
|
|
@@ -1045,19 +1048,17 @@ export declare const NavigationLocator: {
|
|
|
1045
1048
|
exists: () => boolean;
|
|
1046
1049
|
text: () => string | null;
|
|
1047
1050
|
empty: () => boolean;
|
|
1048
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1049
1051
|
descendants: (selector: string) => Element[];
|
|
1050
|
-
ancestors: (selector: string) =>
|
|
1052
|
+
ancestors: (selector: string) => ParentNode[];
|
|
1051
1053
|
attribute: (qualifiedName: string) => string | null;
|
|
1052
1054
|
style: (property: string) => string;
|
|
1053
1055
|
classNames: () => string[];
|
|
1054
|
-
matches: (selector: string | undefined) => boolean;
|
|
1055
1056
|
checked: () => any;
|
|
1056
1057
|
selected: () => any;
|
|
1057
1058
|
readonly: () => any;
|
|
1058
|
-
|
|
1059
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
1059
|
+
parents: (selector: string) => ParentNode[];
|
|
1060
1060
|
} & {
|
|
1061
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1061
1062
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1062
1063
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1063
1064
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1095,7 +1096,6 @@ export declare const NavigationLocator: {
|
|
|
1095
1096
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1096
1097
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1097
1098
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1098
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1099
1099
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1100
1100
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1101
1101
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1148,24 +1148,28 @@ export declare const NavigationLocator: {
|
|
|
1148
1148
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1149
1149
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1150
1150
|
} & {
|
|
1151
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
1152
|
+
highlight: boolean;
|
|
1153
|
+
} | undefined) => string;
|
|
1154
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1155
|
+
children: (selector: string) => Element[];
|
|
1156
|
+
title: () => string | null | undefined;
|
|
1157
|
+
id: () => string;
|
|
1158
|
+
tagName: () => string;
|
|
1159
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
1160
|
+
getBoundingClientRect: () => DOMRect;
|
|
1161
|
+
matches: (selector: string | undefined) => boolean;
|
|
1151
1162
|
visible: () => boolean;
|
|
1152
1163
|
value: () => string | null;
|
|
1153
1164
|
disabled: () => string | null;
|
|
1154
1165
|
role: () => string | null;
|
|
1155
|
-
id: () => string;
|
|
1156
1166
|
label: () => string | null | undefined;
|
|
1157
|
-
title: () => string | null | undefined;
|
|
1158
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
1159
|
-
highlight: boolean;
|
|
1160
|
-
} | undefined) => string;
|
|
1161
1167
|
getId: () => string;
|
|
1162
1168
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1163
1169
|
getOwnerDocument: () => Document;
|
|
1164
1170
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
1165
1171
|
getTagName: () => string;
|
|
1166
|
-
tagName: () => string;
|
|
1167
1172
|
typeIn: (text: string) => Promise<void>;
|
|
1168
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
1169
1173
|
getDOMNode: () => Element;
|
|
1170
1174
|
node: () => Element;
|
|
1171
1175
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -1173,9 +1177,8 @@ export declare const NavigationLocator: {
|
|
|
1173
1177
|
} | undefined) => void;
|
|
1174
1178
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
1175
1179
|
getTextContent: () => string | null;
|
|
1176
|
-
getParentNode: () =>
|
|
1177
|
-
parent: () =>
|
|
1178
|
-
getBoundingClientRect: () => DOMRect;
|
|
1180
|
+
getParentNode: () => ParentNode | null;
|
|
1181
|
+
parent: () => ParentNode | null;
|
|
1179
1182
|
rect: () => DOMRect;
|
|
1180
1183
|
hasClass: (classname: string) => boolean;
|
|
1181
1184
|
containsFocus: () => boolean;
|
|
@@ -1187,19 +1190,17 @@ export declare const NavigationLocator: {
|
|
|
1187
1190
|
exists: () => boolean;
|
|
1188
1191
|
text: () => string | null;
|
|
1189
1192
|
empty: () => boolean;
|
|
1190
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1191
1193
|
descendants: (selector: string) => Element[];
|
|
1192
|
-
ancestors: (selector: string) =>
|
|
1194
|
+
ancestors: (selector: string) => ParentNode[];
|
|
1193
1195
|
attribute: (qualifiedName: string) => string | null;
|
|
1194
1196
|
style: (property: string) => string;
|
|
1195
1197
|
classNames: () => string[];
|
|
1196
|
-
matches: (selector: string | undefined) => boolean;
|
|
1197
1198
|
checked: () => any;
|
|
1198
1199
|
selected: () => any;
|
|
1199
1200
|
readonly: () => any;
|
|
1200
|
-
|
|
1201
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
1201
|
+
parents: (selector: string) => ParentNode[];
|
|
1202
1202
|
} & {
|
|
1203
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1203
1204
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1204
1205
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1205
1206
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1237,7 +1238,6 @@ export declare const NavigationLocator: {
|
|
|
1237
1238
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1238
1239
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1239
1240
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1240
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1241
1241
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1242
1242
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1243
1243
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1287,24 +1287,28 @@ export declare const NavigationLocator: {
|
|
|
1287
1287
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1288
1288
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1289
1289
|
} & {
|
|
1290
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
1291
|
+
highlight: boolean;
|
|
1292
|
+
} | undefined) => string;
|
|
1293
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1294
|
+
children: (selector: string) => Element[];
|
|
1295
|
+
title: () => string | null | undefined;
|
|
1296
|
+
id: () => string;
|
|
1297
|
+
tagName: () => string;
|
|
1298
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
1299
|
+
getBoundingClientRect: () => DOMRect;
|
|
1300
|
+
matches: (selector: string | undefined) => boolean;
|
|
1290
1301
|
visible: () => boolean;
|
|
1291
1302
|
value: () => string | null;
|
|
1292
1303
|
disabled: () => string | null;
|
|
1293
1304
|
role: () => string | null;
|
|
1294
|
-
id: () => string;
|
|
1295
1305
|
label: () => string | null | undefined;
|
|
1296
|
-
title: () => string | null | undefined;
|
|
1297
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
1298
|
-
highlight: boolean;
|
|
1299
|
-
} | undefined) => string;
|
|
1300
1306
|
getId: () => string;
|
|
1301
1307
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1302
1308
|
getOwnerDocument: () => Document;
|
|
1303
1309
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
1304
1310
|
getTagName: () => string;
|
|
1305
|
-
tagName: () => string;
|
|
1306
1311
|
typeIn: (text: string) => Promise<void>;
|
|
1307
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
1308
1312
|
getDOMNode: () => Element;
|
|
1309
1313
|
node: () => Element;
|
|
1310
1314
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -1312,9 +1316,8 @@ export declare const NavigationLocator: {
|
|
|
1312
1316
|
} | undefined) => void;
|
|
1313
1317
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
1314
1318
|
getTextContent: () => string | null;
|
|
1315
|
-
getParentNode: () =>
|
|
1316
|
-
parent: () =>
|
|
1317
|
-
getBoundingClientRect: () => DOMRect;
|
|
1319
|
+
getParentNode: () => ParentNode | null;
|
|
1320
|
+
parent: () => ParentNode | null;
|
|
1318
1321
|
rect: () => DOMRect;
|
|
1319
1322
|
hasClass: (classname: string) => boolean;
|
|
1320
1323
|
containsFocus: () => boolean;
|
|
@@ -1326,19 +1329,17 @@ export declare const NavigationLocator: {
|
|
|
1326
1329
|
exists: () => boolean;
|
|
1327
1330
|
text: () => string | null;
|
|
1328
1331
|
empty: () => boolean;
|
|
1329
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1330
1332
|
descendants: (selector: string) => Element[];
|
|
1331
|
-
ancestors: (selector: string) =>
|
|
1333
|
+
ancestors: (selector: string) => ParentNode[];
|
|
1332
1334
|
attribute: (qualifiedName: string) => string | null;
|
|
1333
1335
|
style: (property: string) => string;
|
|
1334
1336
|
classNames: () => string[];
|
|
1335
|
-
matches: (selector: string | undefined) => boolean;
|
|
1336
1337
|
checked: () => any;
|
|
1337
1338
|
selected: () => any;
|
|
1338
1339
|
readonly: () => any;
|
|
1339
|
-
|
|
1340
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
1340
|
+
parents: (selector: string) => ParentNode[];
|
|
1341
1341
|
} & {
|
|
1342
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1342
1343
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1343
1344
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1344
1345
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1376,7 +1377,6 @@ export declare const NavigationLocator: {
|
|
|
1376
1377
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1377
1378
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1378
1379
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1379
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1380
1380
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1381
1381
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1382
1382
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1428,24 +1428,28 @@ export declare const NavigationLocator: {
|
|
|
1428
1428
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1429
1429
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1430
1430
|
} & {
|
|
1431
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
1432
|
+
highlight: boolean;
|
|
1433
|
+
} | undefined) => string;
|
|
1434
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1435
|
+
children: (selector: string) => Element[];
|
|
1436
|
+
title: () => string | null | undefined;
|
|
1437
|
+
id: () => string;
|
|
1438
|
+
tagName: () => string;
|
|
1439
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
1440
|
+
getBoundingClientRect: () => DOMRect;
|
|
1441
|
+
matches: (selector: string | undefined) => boolean;
|
|
1431
1442
|
visible: () => boolean;
|
|
1432
1443
|
value: () => string | null;
|
|
1433
1444
|
disabled: () => string | null;
|
|
1434
1445
|
role: () => string | null;
|
|
1435
|
-
id: () => string;
|
|
1436
1446
|
label: () => string | null | undefined;
|
|
1437
|
-
title: () => string | null | undefined;
|
|
1438
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
1439
|
-
highlight: boolean;
|
|
1440
|
-
} | undefined) => string;
|
|
1441
1447
|
getId: () => string;
|
|
1442
1448
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1443
1449
|
getOwnerDocument: () => Document;
|
|
1444
1450
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
1445
1451
|
getTagName: () => string;
|
|
1446
|
-
tagName: () => string;
|
|
1447
1452
|
typeIn: (text: string) => Promise<void>;
|
|
1448
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
1449
1453
|
getDOMNode: () => Element;
|
|
1450
1454
|
node: () => Element;
|
|
1451
1455
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -1453,9 +1457,8 @@ export declare const NavigationLocator: {
|
|
|
1453
1457
|
} | undefined) => void;
|
|
1454
1458
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
1455
1459
|
getTextContent: () => string | null;
|
|
1456
|
-
getParentNode: () =>
|
|
1457
|
-
parent: () =>
|
|
1458
|
-
getBoundingClientRect: () => DOMRect;
|
|
1460
|
+
getParentNode: () => ParentNode | null;
|
|
1461
|
+
parent: () => ParentNode | null;
|
|
1459
1462
|
rect: () => DOMRect;
|
|
1460
1463
|
hasClass: (classname: string) => boolean;
|
|
1461
1464
|
containsFocus: () => boolean;
|
|
@@ -1467,19 +1470,17 @@ export declare const NavigationLocator: {
|
|
|
1467
1470
|
exists: () => boolean;
|
|
1468
1471
|
text: () => string | null;
|
|
1469
1472
|
empty: () => boolean;
|
|
1470
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1471
1473
|
descendants: (selector: string) => Element[];
|
|
1472
|
-
ancestors: (selector: string) =>
|
|
1474
|
+
ancestors: (selector: string) => ParentNode[];
|
|
1473
1475
|
attribute: (qualifiedName: string) => string | null;
|
|
1474
1476
|
style: (property: string) => string;
|
|
1475
1477
|
classNames: () => string[];
|
|
1476
|
-
matches: (selector: string | undefined) => boolean;
|
|
1477
1478
|
checked: () => any;
|
|
1478
1479
|
selected: () => any;
|
|
1479
1480
|
readonly: () => any;
|
|
1480
|
-
|
|
1481
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
1481
|
+
parents: (selector: string) => ParentNode[];
|
|
1482
1482
|
} & {
|
|
1483
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1483
1484
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1484
1485
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1485
1486
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1517,7 +1518,6 @@ export declare const NavigationLocator: {
|
|
|
1517
1518
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1518
1519
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1519
1520
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1520
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1521
1521
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1522
1522
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1523
1523
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1570,24 +1570,28 @@ export declare const NavigationLocator: {
|
|
|
1570
1570
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1571
1571
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1572
1572
|
} & {
|
|
1573
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
1574
|
+
highlight: boolean;
|
|
1575
|
+
} | undefined) => string;
|
|
1576
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1577
|
+
children: (selector: string) => Element[];
|
|
1578
|
+
title: () => string | null | undefined;
|
|
1579
|
+
id: () => string;
|
|
1580
|
+
tagName: () => string;
|
|
1581
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
1582
|
+
getBoundingClientRect: () => DOMRect;
|
|
1583
|
+
matches: (selector: string | undefined) => boolean;
|
|
1573
1584
|
visible: () => boolean;
|
|
1574
1585
|
value: () => string | null;
|
|
1575
1586
|
disabled: () => string | null;
|
|
1576
1587
|
role: () => string | null;
|
|
1577
|
-
id: () => string;
|
|
1578
1588
|
label: () => string | null | undefined;
|
|
1579
|
-
title: () => string | null | undefined;
|
|
1580
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
1581
|
-
highlight: boolean;
|
|
1582
|
-
} | undefined) => string;
|
|
1583
1589
|
getId: () => string;
|
|
1584
1590
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1585
1591
|
getOwnerDocument: () => Document;
|
|
1586
1592
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
1587
1593
|
getTagName: () => string;
|
|
1588
|
-
tagName: () => string;
|
|
1589
1594
|
typeIn: (text: string) => Promise<void>;
|
|
1590
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
1591
1595
|
getDOMNode: () => Element;
|
|
1592
1596
|
node: () => Element;
|
|
1593
1597
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -1595,9 +1599,8 @@ export declare const NavigationLocator: {
|
|
|
1595
1599
|
} | undefined) => void;
|
|
1596
1600
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
1597
1601
|
getTextContent: () => string | null;
|
|
1598
|
-
getParentNode: () =>
|
|
1599
|
-
parent: () =>
|
|
1600
|
-
getBoundingClientRect: () => DOMRect;
|
|
1602
|
+
getParentNode: () => ParentNode | null;
|
|
1603
|
+
parent: () => ParentNode | null;
|
|
1601
1604
|
rect: () => DOMRect;
|
|
1602
1605
|
hasClass: (classname: string) => boolean;
|
|
1603
1606
|
containsFocus: () => boolean;
|
|
@@ -1609,19 +1612,17 @@ export declare const NavigationLocator: {
|
|
|
1609
1612
|
exists: () => boolean;
|
|
1610
1613
|
text: () => string | null;
|
|
1611
1614
|
empty: () => boolean;
|
|
1612
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1613
1615
|
descendants: (selector: string) => Element[];
|
|
1614
|
-
ancestors: (selector: string) =>
|
|
1616
|
+
ancestors: (selector: string) => ParentNode[];
|
|
1615
1617
|
attribute: (qualifiedName: string) => string | null;
|
|
1616
1618
|
style: (property: string) => string;
|
|
1617
1619
|
classNames: () => string[];
|
|
1618
|
-
matches: (selector: string | undefined) => boolean;
|
|
1619
1620
|
checked: () => any;
|
|
1620
1621
|
selected: () => any;
|
|
1621
1622
|
readonly: () => any;
|
|
1622
|
-
|
|
1623
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
1623
|
+
parents: (selector: string) => ParentNode[];
|
|
1624
1624
|
} & {
|
|
1625
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1625
1626
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1626
1627
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1627
1628
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1659,7 +1660,6 @@ export declare const NavigationLocator: {
|
|
|
1659
1660
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1660
1661
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1661
1662
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1662
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1663
1663
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1664
1664
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1665
1665
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1709,24 +1709,28 @@ export declare const NavigationLocator: {
|
|
|
1709
1709
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1710
1710
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1711
1711
|
} & {
|
|
1712
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
1713
|
+
highlight: boolean;
|
|
1714
|
+
} | undefined) => string;
|
|
1715
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1716
|
+
children: (selector: string) => Element[];
|
|
1717
|
+
title: () => string | null | undefined;
|
|
1718
|
+
id: () => string;
|
|
1719
|
+
tagName: () => string;
|
|
1720
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
1721
|
+
getBoundingClientRect: () => DOMRect;
|
|
1722
|
+
matches: (selector: string | undefined) => boolean;
|
|
1712
1723
|
visible: () => boolean;
|
|
1713
1724
|
value: () => string | null;
|
|
1714
1725
|
disabled: () => string | null;
|
|
1715
1726
|
role: () => string | null;
|
|
1716
|
-
id: () => string;
|
|
1717
1727
|
label: () => string | null | undefined;
|
|
1718
|
-
title: () => string | null | undefined;
|
|
1719
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
1720
|
-
highlight: boolean;
|
|
1721
|
-
} | undefined) => string;
|
|
1722
1728
|
getId: () => string;
|
|
1723
1729
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1724
1730
|
getOwnerDocument: () => Document;
|
|
1725
1731
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
1726
1732
|
getTagName: () => string;
|
|
1727
|
-
tagName: () => string;
|
|
1728
1733
|
typeIn: (text: string) => Promise<void>;
|
|
1729
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
1730
1734
|
getDOMNode: () => Element;
|
|
1731
1735
|
node: () => Element;
|
|
1732
1736
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -1734,9 +1738,8 @@ export declare const NavigationLocator: {
|
|
|
1734
1738
|
} | undefined) => void;
|
|
1735
1739
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
1736
1740
|
getTextContent: () => string | null;
|
|
1737
|
-
getParentNode: () =>
|
|
1738
|
-
parent: () =>
|
|
1739
|
-
getBoundingClientRect: () => DOMRect;
|
|
1741
|
+
getParentNode: () => ParentNode | null;
|
|
1742
|
+
parent: () => ParentNode | null;
|
|
1740
1743
|
rect: () => DOMRect;
|
|
1741
1744
|
hasClass: (classname: string) => boolean;
|
|
1742
1745
|
containsFocus: () => boolean;
|
|
@@ -1748,19 +1751,17 @@ export declare const NavigationLocator: {
|
|
|
1748
1751
|
exists: () => boolean;
|
|
1749
1752
|
text: () => string | null;
|
|
1750
1753
|
empty: () => boolean;
|
|
1751
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1752
1754
|
descendants: (selector: string) => Element[];
|
|
1753
|
-
ancestors: (selector: string) =>
|
|
1755
|
+
ancestors: (selector: string) => ParentNode[];
|
|
1754
1756
|
attribute: (qualifiedName: string) => string | null;
|
|
1755
1757
|
style: (property: string) => string;
|
|
1756
1758
|
classNames: () => string[];
|
|
1757
|
-
matches: (selector: string | undefined) => boolean;
|
|
1758
1759
|
checked: () => any;
|
|
1759
1760
|
selected: () => any;
|
|
1760
1761
|
readonly: () => any;
|
|
1761
|
-
|
|
1762
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
1762
|
+
parents: (selector: string) => ParentNode[];
|
|
1763
1763
|
} & {
|
|
1764
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1764
1765
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1765
1766
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1766
1767
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1798,7 +1799,6 @@ export declare const NavigationLocator: {
|
|
|
1798
1799
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1799
1800
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1800
1801
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1801
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1802
1802
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1803
1803
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1804
1804
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1850,24 +1850,28 @@ export declare const NavigationLocator: {
|
|
|
1850
1850
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1851
1851
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1852
1852
|
} & {
|
|
1853
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
1854
|
+
highlight: boolean;
|
|
1855
|
+
} | undefined) => string;
|
|
1856
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1857
|
+
children: (selector: string) => Element[];
|
|
1858
|
+
title: () => string | null | undefined;
|
|
1859
|
+
id: () => string;
|
|
1860
|
+
tagName: () => string;
|
|
1861
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
1862
|
+
getBoundingClientRect: () => DOMRect;
|
|
1863
|
+
matches: (selector: string | undefined) => boolean;
|
|
1853
1864
|
visible: () => boolean;
|
|
1854
1865
|
value: () => string | null;
|
|
1855
1866
|
disabled: () => string | null;
|
|
1856
1867
|
role: () => string | null;
|
|
1857
|
-
id: () => string;
|
|
1858
1868
|
label: () => string | null | undefined;
|
|
1859
|
-
title: () => string | null | undefined;
|
|
1860
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
1861
|
-
highlight: boolean;
|
|
1862
|
-
} | undefined) => string;
|
|
1863
1869
|
getId: () => string;
|
|
1864
1870
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1865
1871
|
getOwnerDocument: () => Document;
|
|
1866
1872
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
1867
1873
|
getTagName: () => string;
|
|
1868
|
-
tagName: () => string;
|
|
1869
1874
|
typeIn: (text: string) => Promise<void>;
|
|
1870
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
1871
1875
|
getDOMNode: () => Element;
|
|
1872
1876
|
node: () => Element;
|
|
1873
1877
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -1875,9 +1879,8 @@ export declare const NavigationLocator: {
|
|
|
1875
1879
|
} | undefined) => void;
|
|
1876
1880
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
1877
1881
|
getTextContent: () => string | null;
|
|
1878
|
-
getParentNode: () =>
|
|
1879
|
-
parent: () =>
|
|
1880
|
-
getBoundingClientRect: () => DOMRect;
|
|
1882
|
+
getParentNode: () => ParentNode | null;
|
|
1883
|
+
parent: () => ParentNode | null;
|
|
1881
1884
|
rect: () => DOMRect;
|
|
1882
1885
|
hasClass: (classname: string) => boolean;
|
|
1883
1886
|
containsFocus: () => boolean;
|
|
@@ -1889,19 +1892,17 @@ export declare const NavigationLocator: {
|
|
|
1889
1892
|
exists: () => boolean;
|
|
1890
1893
|
text: () => string | null;
|
|
1891
1894
|
empty: () => boolean;
|
|
1892
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1893
1895
|
descendants: (selector: string) => Element[];
|
|
1894
|
-
ancestors: (selector: string) =>
|
|
1896
|
+
ancestors: (selector: string) => ParentNode[];
|
|
1895
1897
|
attribute: (qualifiedName: string) => string | null;
|
|
1896
1898
|
style: (property: string) => string;
|
|
1897
1899
|
classNames: () => string[];
|
|
1898
|
-
matches: (selector: string | undefined) => boolean;
|
|
1899
1900
|
checked: () => any;
|
|
1900
1901
|
selected: () => any;
|
|
1901
1902
|
readonly: () => any;
|
|
1902
|
-
|
|
1903
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
1903
|
+
parents: (selector: string) => ParentNode[];
|
|
1904
1904
|
} & {
|
|
1905
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1905
1906
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1906
1907
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1907
1908
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1939,7 +1940,6 @@ export declare const NavigationLocator: {
|
|
|
1939
1940
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1940
1941
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1941
1942
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1942
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1943
1943
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1944
1944
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1945
1945
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|