@open-pioneer/test-utils 1.1.3 → 1.1.4
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/CHANGELOG.md +10 -0
- package/package.json +6 -6
- package/web-components.d.ts +48 -48
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @open-pioneer/test-utils
|
|
2
2
|
|
|
3
|
+
## 1.1.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e0b2fae: Update dependencies
|
|
8
|
+
- Updated dependencies [5c62522]
|
|
9
|
+
- Updated dependencies [e0b2fae]
|
|
10
|
+
- @open-pioneer/chakra-integration@1.1.4
|
|
11
|
+
- @open-pioneer/runtime-react-support@1.0.2
|
|
12
|
+
|
|
3
13
|
## 1.1.3
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@open-pioneer/test-utils",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.4",
|
|
5
5
|
"description": "Contains test utilities that make it easier to test parts of an Open Pioneer Trails application.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"open-pioneer-trails"
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
"directory": "src/packages/test-utils"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@testing-library/react": "^
|
|
17
|
+
"@testing-library/react": "^16.0.0",
|
|
18
18
|
"react": "^18.3.1",
|
|
19
|
-
"react-dom": "^18.
|
|
20
|
-
"@testing-library/dom": "^
|
|
21
|
-
"@formatjs/intl": "^2.
|
|
19
|
+
"react-dom": "^18.3.1",
|
|
20
|
+
"@testing-library/dom": "^10.4.0",
|
|
21
|
+
"@formatjs/intl": "^2.10.4",
|
|
22
22
|
"@open-pioneer/runtime-react-support": "^1.0.2",
|
|
23
|
-
"@open-pioneer/chakra-integration": "^1.1.
|
|
23
|
+
"@open-pioneer/chakra-integration": "^1.1.4"
|
|
24
24
|
},
|
|
25
25
|
"exports": {
|
|
26
26
|
"./package.json": "./package.json",
|
package/web-components.d.ts
CHANGED
|
@@ -26,54 +26,54 @@ export declare function renderComponentShadowDOM(component: CustomElementConstru
|
|
|
26
26
|
shadowRoot: ShadowRoot;
|
|
27
27
|
innerContainer: HTMLElement;
|
|
28
28
|
queries: {
|
|
29
|
-
getByLabelText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined): T
|
|
30
|
-
getAllByLabelText<
|
|
31
|
-
queryByLabelText<
|
|
32
|
-
queryAllByLabelText<
|
|
33
|
-
findByLabelText<
|
|
34
|
-
findAllByLabelText<
|
|
35
|
-
getByPlaceholderText<
|
|
36
|
-
getAllByPlaceholderText<
|
|
37
|
-
queryByPlaceholderText<
|
|
38
|
-
queryAllByPlaceholderText<
|
|
39
|
-
findByPlaceholderText<
|
|
40
|
-
findAllByPlaceholderText<
|
|
41
|
-
getByText<
|
|
42
|
-
getAllByText<
|
|
43
|
-
queryByText<
|
|
44
|
-
queryAllByText<
|
|
45
|
-
findByText<
|
|
46
|
-
findAllByText<
|
|
47
|
-
getByAltText<
|
|
48
|
-
getAllByAltText<
|
|
49
|
-
queryByAltText<
|
|
50
|
-
queryAllByAltText<
|
|
51
|
-
findByAltText<
|
|
52
|
-
findAllByAltText<
|
|
53
|
-
getByTitle<
|
|
54
|
-
getAllByTitle<
|
|
55
|
-
queryByTitle<
|
|
56
|
-
queryAllByTitle<
|
|
57
|
-
findByTitle<
|
|
58
|
-
findAllByTitle<
|
|
59
|
-
getByDisplayValue<
|
|
60
|
-
getAllByDisplayValue<
|
|
61
|
-
queryByDisplayValue<
|
|
62
|
-
queryAllByDisplayValue<
|
|
63
|
-
findByDisplayValue<
|
|
64
|
-
findAllByDisplayValue<
|
|
65
|
-
getByRole<
|
|
66
|
-
getAllByRole<
|
|
67
|
-
queryByRole<
|
|
68
|
-
queryAllByRole<
|
|
69
|
-
findByRole<
|
|
70
|
-
findAllByRole<
|
|
71
|
-
getByTestId<
|
|
72
|
-
getAllByTestId<
|
|
73
|
-
queryByTestId<
|
|
74
|
-
queryAllByTestId<
|
|
75
|
-
findByTestId<
|
|
76
|
-
findAllByTestId<
|
|
29
|
+
getByLabelText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined): ReturnType<import("@testing-library/dom").GetByText<T>>;
|
|
30
|
+
getAllByLabelText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined): ReturnType<import("@testing-library/dom").AllByText<T>>;
|
|
31
|
+
queryByLabelText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined): ReturnType<import("@testing-library/dom").QueryByText<T>>;
|
|
32
|
+
queryAllByLabelText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined): ReturnType<import("@testing-library/dom").AllByText<T>>;
|
|
33
|
+
findByLabelText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<import("@testing-library/dom").FindByText<T>>;
|
|
34
|
+
findAllByLabelText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<import("@testing-library/dom").FindAllByText<T>>;
|
|
35
|
+
getByPlaceholderText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<import("@testing-library/dom").GetByBoundAttribute<T>>;
|
|
36
|
+
getAllByPlaceholderText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>;
|
|
37
|
+
queryByPlaceholderText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<import("@testing-library/dom").QueryByBoundAttribute<T>>;
|
|
38
|
+
queryAllByPlaceholderText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>;
|
|
39
|
+
findByPlaceholderText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<import("@testing-library/dom").FindByBoundAttribute<T>>;
|
|
40
|
+
findAllByPlaceholderText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<import("@testing-library/dom").FindAllByBoundAttribute<T>>;
|
|
41
|
+
getByText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined): ReturnType<import("@testing-library/dom").GetByText<T>>;
|
|
42
|
+
getAllByText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined): ReturnType<import("@testing-library/dom").AllByText<T>>;
|
|
43
|
+
queryByText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined): ReturnType<import("@testing-library/dom").QueryByText<T>>;
|
|
44
|
+
queryAllByText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined): ReturnType<import("@testing-library/dom").AllByText<T>>;
|
|
45
|
+
findByText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<import("@testing-library/dom").FindByText<T>>;
|
|
46
|
+
findAllByText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<import("@testing-library/dom").FindAllByText<T>>;
|
|
47
|
+
getByAltText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<import("@testing-library/dom").GetByBoundAttribute<T>>;
|
|
48
|
+
getAllByAltText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>;
|
|
49
|
+
queryByAltText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<import("@testing-library/dom").QueryByBoundAttribute<T>>;
|
|
50
|
+
queryAllByAltText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>;
|
|
51
|
+
findByAltText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<import("@testing-library/dom").FindByBoundAttribute<T>>;
|
|
52
|
+
findAllByAltText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<import("@testing-library/dom").FindAllByBoundAttribute<T>>;
|
|
53
|
+
getByTitle<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<import("@testing-library/dom").GetByBoundAttribute<T>>;
|
|
54
|
+
getAllByTitle<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>;
|
|
55
|
+
queryByTitle<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<import("@testing-library/dom").QueryByBoundAttribute<T>>;
|
|
56
|
+
queryAllByTitle<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>;
|
|
57
|
+
findByTitle<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<import("@testing-library/dom").FindByBoundAttribute<T>>;
|
|
58
|
+
findAllByTitle<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<import("@testing-library/dom").FindAllByBoundAttribute<T>>;
|
|
59
|
+
getByDisplayValue<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<import("@testing-library/dom").GetByBoundAttribute<T>>;
|
|
60
|
+
getAllByDisplayValue<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>;
|
|
61
|
+
queryByDisplayValue<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<import("@testing-library/dom").QueryByBoundAttribute<T>>;
|
|
62
|
+
queryAllByDisplayValue<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>;
|
|
63
|
+
findByDisplayValue<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<import("@testing-library/dom").FindByBoundAttribute<T>>;
|
|
64
|
+
findAllByDisplayValue<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<import("@testing-library/dom").FindAllByBoundAttribute<T>>;
|
|
65
|
+
getByRole<T extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined): ReturnType<import("@testing-library/dom").GetByRole<T>>;
|
|
66
|
+
getAllByRole<T extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined): ReturnType<import("@testing-library/dom").AllByRole<T>>;
|
|
67
|
+
queryByRole<T extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined): ReturnType<import("@testing-library/dom").QueryByRole<T>>;
|
|
68
|
+
queryAllByRole<T extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined): ReturnType<import("@testing-library/dom").AllByRole<T>>;
|
|
69
|
+
findByRole<T extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<import("@testing-library/dom").FindByRole<T>>;
|
|
70
|
+
findAllByRole<T extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<import("@testing-library/dom").FindAllByRole<T>>;
|
|
71
|
+
getByTestId<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<import("@testing-library/dom").GetByBoundAttribute<T>>;
|
|
72
|
+
getAllByTestId<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>;
|
|
73
|
+
queryByTestId<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<import("@testing-library/dom").QueryByBoundAttribute<T>>;
|
|
74
|
+
queryAllByTestId<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>;
|
|
75
|
+
findByTestId<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<import("@testing-library/dom").FindByBoundAttribute<T>>;
|
|
76
|
+
findAllByTestId<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<import("@testing-library/dom").FindAllByBoundAttribute<T>>;
|
|
77
77
|
} & {
|
|
78
78
|
getByLabelText: (id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement;
|
|
79
79
|
getAllByLabelText: (id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement[];
|