@instructure/ui-drilldown 10.2.0 → 10.2.1-snapshot-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/es/Drilldown/DrilldownGroup/__new-tests__/DrilldownGroup.test.js +573 -0
  3. package/es/Drilldown/DrilldownOption/__new-tests__/DrilldownOption.test.js +595 -0
  4. package/es/Drilldown/DrilldownPage/__new-tests__/DrilldownPage.test.js +299 -0
  5. package/es/Drilldown/DrilldownSeparator/__new-tests__/DrilldownSeparator.test.js +56 -0
  6. package/es/Drilldown/__new-tests__/Drilldown.test.js +818 -0
  7. package/lib/Drilldown/DrilldownGroup/__new-tests__/DrilldownGroup.test.js +575 -0
  8. package/lib/Drilldown/DrilldownOption/__new-tests__/DrilldownOption.test.js +598 -0
  9. package/lib/Drilldown/DrilldownPage/__new-tests__/DrilldownPage.test.js +301 -0
  10. package/lib/Drilldown/DrilldownSeparator/__new-tests__/DrilldownSeparator.test.js +58 -0
  11. package/lib/Drilldown/__new-tests__/Drilldown.test.js +819 -0
  12. package/package.json +25 -20
  13. package/src/Drilldown/DrilldownGroup/__new-tests__/DrilldownGroup.test.tsx +634 -0
  14. package/src/Drilldown/DrilldownOption/__new-tests__/DrilldownOption.test.tsx +774 -0
  15. package/src/Drilldown/DrilldownPage/__new-tests__/DrilldownPage.test.tsx +352 -0
  16. package/src/Drilldown/{locator.ts → DrilldownSeparator/__new-tests__/DrilldownSeparator.test.tsx} +35 -3
  17. package/src/Drilldown/__new-tests__/Drilldown.test.tsx +979 -0
  18. package/tsconfig.build.json +3 -2
  19. package/tsconfig.build.tsbuildinfo +1 -1
  20. package/types/Drilldown/DrilldownGroup/__new-tests__/DrilldownGroup.test.d.ts +2 -0
  21. package/types/Drilldown/DrilldownGroup/__new-tests__/DrilldownGroup.test.d.ts.map +1 -0
  22. package/types/Drilldown/DrilldownOption/__new-tests__/DrilldownOption.test.d.ts +2 -0
  23. package/types/Drilldown/DrilldownOption/__new-tests__/DrilldownOption.test.d.ts.map +1 -0
  24. package/types/Drilldown/DrilldownPage/__new-tests__/DrilldownPage.test.d.ts +2 -0
  25. package/types/Drilldown/DrilldownPage/__new-tests__/DrilldownPage.test.d.ts.map +1 -0
  26. package/types/Drilldown/DrilldownSeparator/__new-tests__/DrilldownSeparator.test.d.ts +2 -0
  27. package/types/Drilldown/DrilldownSeparator/__new-tests__/DrilldownSeparator.test.d.ts.map +1 -0
  28. package/types/Drilldown/__new-tests__/Drilldown.test.d.ts +2 -0
  29. package/types/Drilldown/__new-tests__/Drilldown.test.d.ts.map +1 -0
  30. package/es/Drilldown/DrilldownLocator.js +0 -99
  31. package/es/Drilldown/locator.js +0 -27
  32. package/lib/Drilldown/DrilldownLocator.js +0 -106
  33. package/lib/Drilldown/locator.js +0 -37
  34. package/src/Drilldown/DrilldownLocator.ts +0 -104
  35. package/types/Drilldown/DrilldownLocator.d.ts +0 -7484
  36. package/types/Drilldown/DrilldownLocator.d.ts.map +0 -1
  37. package/types/Drilldown/locator.d.ts +0 -4
  38. package/types/Drilldown/locator.d.ts.map +0 -1
@@ -0,0 +1,2 @@
1
+ import '@testing-library/jest-dom';
2
+ //# sourceMappingURL=DrilldownGroup.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DrilldownGroup.test.d.ts","sourceRoot":"","sources":["../../../../src/Drilldown/DrilldownGroup/__new-tests__/DrilldownGroup.test.tsx"],"names":[],"mappings":"AA6BA,OAAO,2BAA2B,CAAA"}
@@ -0,0 +1,2 @@
1
+ import '@testing-library/jest-dom';
2
+ //# sourceMappingURL=DrilldownOption.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DrilldownOption.test.d.ts","sourceRoot":"","sources":["../../../../src/Drilldown/DrilldownOption/__new-tests__/DrilldownOption.test.tsx"],"names":[],"mappings":"AA2BA,OAAO,2BAA2B,CAAA"}
@@ -0,0 +1,2 @@
1
+ import '@testing-library/jest-dom';
2
+ //# sourceMappingURL=DrilldownPage.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DrilldownPage.test.d.ts","sourceRoot":"","sources":["../../../../src/Drilldown/DrilldownPage/__new-tests__/DrilldownPage.test.tsx"],"names":[],"mappings":"AA4BA,OAAO,2BAA2B,CAAA"}
@@ -0,0 +1,2 @@
1
+ import '@testing-library/jest-dom';
2
+ //# sourceMappingURL=DrilldownSeparator.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DrilldownSeparator.test.d.ts","sourceRoot":"","sources":["../../../../src/Drilldown/DrilldownSeparator/__new-tests__/DrilldownSeparator.test.tsx"],"names":[],"mappings":"AA0BA,OAAO,2BAA2B,CAAA"}
@@ -0,0 +1,2 @@
1
+ import '@testing-library/jest-dom';
2
+ //# sourceMappingURL=Drilldown.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Drilldown.test.d.ts","sourceRoot":"","sources":["../../../src/Drilldown/__new-tests__/Drilldown.test.tsx"],"names":[],"mappings":"AA4BA,OAAO,2BAA2B,CAAA"}
@@ -1,99 +0,0 @@
1
- /*
2
- * The MIT License (MIT)
3
- *
4
- * Copyright (c) 2015 - present Instructure, Inc.
5
- *
6
- * Permission is hereby granted, free of charge, to any person obtaining a copy
7
- * of this software and associated documentation files (the "Software"), to deal
8
- * in the Software without restriction, including without limitation the rights
9
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- * copies of the Software, and to permit persons to whom the Software is
11
- * furnished to do so, subject to the following conditions:
12
- *
13
- * The above copyright notice and this permission notice shall be included in all
14
- * copies or substantial portions of the Software.
15
- *
16
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- * SOFTWARE.
23
- */
24
-
25
- import { locator } from '@instructure/ui-test-locator';
26
- import { find, findAll, parseQueryArguments } from '@instructure/ui-test-utils';
27
-
28
- /* eslint-disable no-restricted-imports */
29
- // @ts-ignore: Cannot find module
30
- import { OptionsItemLocator } from '@instructure/ui-options/es/Options/Item/OptionsItemLocator';
31
- // @ts-ignore: Cannot find module
32
- import { PopoverLocator } from '@instructure/ui-popover/es/Popover/PopoverLocator';
33
- /* eslint-enable no-restricted-imports */
34
-
35
- import { Drilldown } from './index';
36
- const customMethods = {
37
- // return the wrapper Option.Items
38
- findAllOptions: async (...args) => {
39
- return await findAll('[class$=-optionItem__container]:not([role="presentation"])', ...args);
40
- },
41
- findAllOptionWrappers: async (...args) => {
42
- return await OptionsItemLocator.findAll(...args);
43
- },
44
- findOptionWrapperByOptionId: async (_element, optionId, ...args) => {
45
- return OptionsItemLocator.find(`:has(#${optionId})`, ...args);
46
- },
47
- findSizableContainer: async (...args) => {
48
- return await find('[class$=-drilldown__container]', ...args);
49
- },
50
- findSelectableContainer: async (...args) => {
51
- return await find('[id^=Selectable_][id$=-list]', ...args);
52
- },
53
- findHeaderTitle: async (...args) => {
54
- return await find('[id^=DrilldownHeader-Title]', ...args);
55
- },
56
- findHeaderActionOption: async (...args) => {
57
- return await find('[id^=DrilldownHeader-Action]', ...args);
58
- },
59
- findHeaderBackOption: async (...args) => {
60
- return await find('[id^=DrilldownHeader-Back]', ...args);
61
- },
62
- findHeaderSeparator: async (...args) => {
63
- return await find('[id^=DrilldownHeader-Separator]', ...args);
64
- },
65
- findAllSeparators: async (...args) => {
66
- return await findAll('[class$=-separator]', ...args);
67
- },
68
- findAllGroupLabels: async (...args) => {
69
- return await findAll('[class$=-options__label]', ...args);
70
- },
71
- findLabelInfo: async (...args) => {
72
- return await find('[class$=-drilldown__optionLabelInfo]', ...args);
73
- },
74
- findDescription: async (...args) => {
75
- return await find('[class$=__description]', ...args);
76
- },
77
- findPopoverRoot: (...args) => {
78
- return PopoverLocator.find(...args);
79
- },
80
- findPopoverTrigger: (...args) => {
81
- return PopoverLocator.findTrigger(...args);
82
- },
83
- findPopoverContent: (...args) => {
84
- const _parseQueryArguments = parseQueryArguments(...args),
85
- element = _parseQueryArguments.element,
86
- selector = _parseQueryArguments.selector,
87
- options = _parseQueryArguments.options;
88
- return PopoverLocator.findContent(element, selector, {
89
- ...options,
90
- customMethods: {
91
- ...options.customMethods,
92
- ...customMethods
93
- }
94
- });
95
- }
96
- };
97
-
98
- // @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
99
- export const DrilldownLocator = locator(Drilldown.selector, customMethods);
@@ -1,27 +0,0 @@
1
- /*
2
- * The MIT License (MIT)
3
- *
4
- * Copyright (c) 2015 - present Instructure, Inc.
5
- *
6
- * Permission is hereby granted, free of charge, to any person obtaining a copy
7
- * of this software and associated documentation files (the "Software"), to deal
8
- * in the Software without restriction, including without limitation the rights
9
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- * copies of the Software, and to permit persons to whom the Software is
11
- * furnished to do so, subject to the following conditions:
12
- *
13
- * The above copyright notice and this permission notice shall be included in all
14
- * copies or substantial portions of the Software.
15
- *
16
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- * SOFTWARE.
23
- */
24
-
25
- import { DrilldownLocator } from './DrilldownLocator';
26
- export { DrilldownLocator };
27
- export default DrilldownLocator;
@@ -1,106 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.DrilldownLocator = void 0;
7
- var _locator = require("@instructure/ui-test-locator/lib/utils/locator.js");
8
- var _uiTestUtils = require("@instructure/ui-test-utils");
9
- var _OptionsItemLocator = require("@instructure/ui-options/lib/Options/Item/OptionsItemLocator");
10
- var _PopoverLocator = require("@instructure/ui-popover/lib/Popover/PopoverLocator");
11
- var _index = require("./index");
12
- /*
13
- * The MIT License (MIT)
14
- *
15
- * Copyright (c) 2015 - present Instructure, Inc.
16
- *
17
- * Permission is hereby granted, free of charge, to any person obtaining a copy
18
- * of this software and associated documentation files (the "Software"), to deal
19
- * in the Software without restriction, including without limitation the rights
20
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
21
- * copies of the Software, and to permit persons to whom the Software is
22
- * furnished to do so, subject to the following conditions:
23
- *
24
- * The above copyright notice and this permission notice shall be included in all
25
- * copies or substantial portions of the Software.
26
- *
27
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
28
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
30
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
31
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
32
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
33
- * SOFTWARE.
34
- */
35
-
36
- /* eslint-disable no-restricted-imports */
37
- // @ts-ignore: Cannot find module
38
-
39
- // @ts-ignore: Cannot find module
40
-
41
- /* eslint-enable no-restricted-imports */
42
-
43
- const customMethods = {
44
- // return the wrapper Option.Items
45
- findAllOptions: async (...args) => {
46
- return await (0, _uiTestUtils.findAll)('[class$=-optionItem__container]:not([role="presentation"])', ...args);
47
- },
48
- findAllOptionWrappers: async (...args) => {
49
- return await _OptionsItemLocator.OptionsItemLocator.findAll(...args);
50
- },
51
- findOptionWrapperByOptionId: async (_element, optionId, ...args) => {
52
- return _OptionsItemLocator.OptionsItemLocator.find(`:has(#${optionId})`, ...args);
53
- },
54
- findSizableContainer: async (...args) => {
55
- return await (0, _uiTestUtils.find)('[class$=-drilldown__container]', ...args);
56
- },
57
- findSelectableContainer: async (...args) => {
58
- return await (0, _uiTestUtils.find)('[id^=Selectable_][id$=-list]', ...args);
59
- },
60
- findHeaderTitle: async (...args) => {
61
- return await (0, _uiTestUtils.find)('[id^=DrilldownHeader-Title]', ...args);
62
- },
63
- findHeaderActionOption: async (...args) => {
64
- return await (0, _uiTestUtils.find)('[id^=DrilldownHeader-Action]', ...args);
65
- },
66
- findHeaderBackOption: async (...args) => {
67
- return await (0, _uiTestUtils.find)('[id^=DrilldownHeader-Back]', ...args);
68
- },
69
- findHeaderSeparator: async (...args) => {
70
- return await (0, _uiTestUtils.find)('[id^=DrilldownHeader-Separator]', ...args);
71
- },
72
- findAllSeparators: async (...args) => {
73
- return await (0, _uiTestUtils.findAll)('[class$=-separator]', ...args);
74
- },
75
- findAllGroupLabels: async (...args) => {
76
- return await (0, _uiTestUtils.findAll)('[class$=-options__label]', ...args);
77
- },
78
- findLabelInfo: async (...args) => {
79
- return await (0, _uiTestUtils.find)('[class$=-drilldown__optionLabelInfo]', ...args);
80
- },
81
- findDescription: async (...args) => {
82
- return await (0, _uiTestUtils.find)('[class$=__description]', ...args);
83
- },
84
- findPopoverRoot: (...args) => {
85
- return _PopoverLocator.PopoverLocator.find(...args);
86
- },
87
- findPopoverTrigger: (...args) => {
88
- return _PopoverLocator.PopoverLocator.findTrigger(...args);
89
- },
90
- findPopoverContent: (...args) => {
91
- const _parseQueryArguments = (0, _uiTestUtils.parseQueryArguments)(...args),
92
- element = _parseQueryArguments.element,
93
- selector = _parseQueryArguments.selector,
94
- options = _parseQueryArguments.options;
95
- return _PopoverLocator.PopoverLocator.findContent(element, selector, {
96
- ...options,
97
- customMethods: {
98
- ...options.customMethods,
99
- ...customMethods
100
- }
101
- });
102
- }
103
- };
104
-
105
- // @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
106
- const DrilldownLocator = exports.DrilldownLocator = (0, _locator.locator)(_index.Drilldown.selector, customMethods);
@@ -1,37 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "DrilldownLocator", {
7
- enumerable: true,
8
- get: function () {
9
- return _DrilldownLocator.DrilldownLocator;
10
- }
11
- });
12
- exports.default = void 0;
13
- var _DrilldownLocator = require("./DrilldownLocator");
14
- /*
15
- * The MIT License (MIT)
16
- *
17
- * Copyright (c) 2015 - present Instructure, Inc.
18
- *
19
- * Permission is hereby granted, free of charge, to any person obtaining a copy
20
- * of this software and associated documentation files (the "Software"), to deal
21
- * in the Software without restriction, including without limitation the rights
22
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
23
- * copies of the Software, and to permit persons to whom the Software is
24
- * furnished to do so, subject to the following conditions:
25
- *
26
- * The above copyright notice and this permission notice shall be included in all
27
- * copies or substantial portions of the Software.
28
- *
29
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
31
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
32
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
33
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
34
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
35
- * SOFTWARE.
36
- */
37
- var _default = exports.default = _DrilldownLocator.DrilldownLocator;
@@ -1,104 +0,0 @@
1
- /*
2
- * The MIT License (MIT)
3
- *
4
- * Copyright (c) 2015 - present Instructure, Inc.
5
- *
6
- * Permission is hereby granted, free of charge, to any person obtaining a copy
7
- * of this software and associated documentation files (the "Software"), to deal
8
- * in the Software without restriction, including without limitation the rights
9
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- * copies of the Software, and to permit persons to whom the Software is
11
- * furnished to do so, subject to the following conditions:
12
- *
13
- * The above copyright notice and this permission notice shall be included in all
14
- * copies or substantial portions of the Software.
15
- *
16
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- * SOFTWARE.
23
- */
24
-
25
- import { locator } from '@instructure/ui-test-locator'
26
- import { find, findAll, parseQueryArguments } from '@instructure/ui-test-utils'
27
-
28
- /* eslint-disable no-restricted-imports */
29
- // @ts-ignore: Cannot find module
30
- import { OptionsItemLocator } from '@instructure/ui-options/es/Options/Item/OptionsItemLocator'
31
- // @ts-ignore: Cannot find module
32
- import { PopoverLocator } from '@instructure/ui-popover/es/Popover/PopoverLocator'
33
- /* eslint-enable no-restricted-imports */
34
-
35
- import { Drilldown } from './index'
36
-
37
- const customMethods = {
38
- // return the wrapper Option.Items
39
- findAllOptions: async (...args: any[]) => {
40
- return await findAll(
41
- '[class$=-optionItem__container]:not([role="presentation"])',
42
- ...args
43
- )
44
- },
45
- findAllOptionWrappers: async (...args: any[]) => {
46
- return await OptionsItemLocator.findAll(...args)
47
- },
48
- findOptionWrapperByOptionId: async (
49
- _element: any,
50
- optionId: string,
51
- ...args: any[]
52
- ) => {
53
- return OptionsItemLocator.find(`:has(#${optionId})`, ...args)
54
- },
55
- findSizableContainer: async (...args: any[]) => {
56
- return await find('[class$=-drilldown__container]', ...args)
57
- },
58
- findSelectableContainer: async (...args: any[]) => {
59
- return await find('[id^=Selectable_][id$=-list]', ...args)
60
- },
61
- findHeaderTitle: async (...args: any[]) => {
62
- return await find('[id^=DrilldownHeader-Title]', ...args)
63
- },
64
- findHeaderActionOption: async (...args: any[]) => {
65
- return await find('[id^=DrilldownHeader-Action]', ...args)
66
- },
67
- findHeaderBackOption: async (...args: any[]) => {
68
- return await find('[id^=DrilldownHeader-Back]', ...args)
69
- },
70
- findHeaderSeparator: async (...args: any[]) => {
71
- return await find('[id^=DrilldownHeader-Separator]', ...args)
72
- },
73
- findAllSeparators: async (...args: any[]) => {
74
- return await findAll('[class$=-separator]', ...args)
75
- },
76
- findAllGroupLabels: async (...args: any[]) => {
77
- return await findAll('[class$=-options__label]', ...args)
78
- },
79
- findLabelInfo: async (...args: any[]) => {
80
- return await find('[class$=-drilldown__optionLabelInfo]', ...args)
81
- },
82
- findDescription: async (...args: any[]) => {
83
- return await find('[class$=__description]', ...args)
84
- },
85
- findPopoverRoot: (...args: any[]) => {
86
- return PopoverLocator.find(...args)
87
- },
88
- findPopoverTrigger: (...args: any[]) => {
89
- return PopoverLocator.findTrigger(...args)
90
- },
91
- findPopoverContent: (...args: any[]) => {
92
- const { element, selector, options } = parseQueryArguments(...args)
93
- return PopoverLocator.findContent(element, selector, {
94
- ...options,
95
- customMethods: {
96
- ...options.customMethods,
97
- ...customMethods
98
- }
99
- })
100
- }
101
- }
102
-
103
- // @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
104
- export const DrilldownLocator = locator(Drilldown.selector, customMethods)