forked from patternfly/react-component-groups
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBulkSelect.test.tsx.snap
More file actions
208 lines (207 loc) · 6.2 KB
/
BulkSelect.test.tsx.snap
File metadata and controls
208 lines (207 loc) · 6.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`BulkSelect component should render 1`] = `
{
"asFragment": [Function],
"baseElement": <body>
<div>
<div
class="pf-v6-c-menu-toggle pf-m-split-button"
>
<label
class="pf-v6-c-check"
>
<input
aria-invalid="false"
aria-label="Select page"
class="pf-v6-c-check__input"
data-ouia-component-id="BulkSelect-checkbox"
data-ouia-component-type="PF6/MenuToggleCheckbox"
data-ouia-safe="true"
name="BulkSelect-checkbox"
type="checkbox"
/>
<span
aria-hidden="true"
class="pf-v6-c-check__label"
id="BulkSelect-checkbox"
>
<span
data-ouia-component-id="BulkSelect-text"
>
2 selected
</span>
</span>
</label>
<button
aria-expanded="false"
aria-label="Bulk select toggle"
class="pf-v6-c-menu-toggle__button"
data-ouia-component-id="BulkSelect-toggle"
data-ouia-component-type="PF6/MenuToggle"
data-ouia-safe="true"
type="button"
>
<span
class="pf-v6-c-menu-toggle__controls"
>
<span
class="pf-v6-c-menu-toggle__toggle-icon"
>
<svg
aria-hidden="true"
class="pf-v6-svg"
fill="currentColor"
height="1em"
role="img"
width="1em"
>
<svg
class="pf-v6-icon-default"
viewBox="0 0 320 512"
>
<path
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
/>
</svg>
<svg
class="pf-v6-icon-rh-ui"
viewBox="0 0 32 32"
>
<path
d="M16 24.792c-.384 0-.769-.146-1.061-.438L2.293 11.707a.999.999 0 1 1 1.414-1.414L16 22.586l12.293-12.293a.999.999 0 1 1 1.414 1.414L17.061 24.353a1.497 1.497 0 0 1-1.061.438Z"
/>
</svg>
</svg>
</span>
</span>
</button>
</div>
</div>
</body>,
"container": <div>
<div
class="pf-v6-c-menu-toggle pf-m-split-button"
>
<label
class="pf-v6-c-check"
>
<input
aria-invalid="false"
aria-label="Select page"
class="pf-v6-c-check__input"
data-ouia-component-id="BulkSelect-checkbox"
data-ouia-component-type="PF6/MenuToggleCheckbox"
data-ouia-safe="true"
name="BulkSelect-checkbox"
type="checkbox"
/>
<span
aria-hidden="true"
class="pf-v6-c-check__label"
id="BulkSelect-checkbox"
>
<span
data-ouia-component-id="BulkSelect-text"
>
2 selected
</span>
</span>
</label>
<button
aria-expanded="false"
aria-label="Bulk select toggle"
class="pf-v6-c-menu-toggle__button"
data-ouia-component-id="BulkSelect-toggle"
data-ouia-component-type="PF6/MenuToggle"
data-ouia-safe="true"
type="button"
>
<span
class="pf-v6-c-menu-toggle__controls"
>
<span
class="pf-v6-c-menu-toggle__toggle-icon"
>
<svg
aria-hidden="true"
class="pf-v6-svg"
fill="currentColor"
height="1em"
role="img"
width="1em"
>
<svg
class="pf-v6-icon-default"
viewBox="0 0 320 512"
>
<path
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
/>
</svg>
<svg
class="pf-v6-icon-rh-ui"
viewBox="0 0 32 32"
>
<path
d="M16 24.792c-.384 0-.769-.146-1.061-.438L2.293 11.707a.999.999 0 1 1 1.414-1.414L16 22.586l12.293-12.293a.999.999 0 1 1 1.414 1.414L17.061 24.353a1.497 1.497 0 0 1-1.061.438Z"
/>
</svg>
</svg>
</span>
</span>
</button>
</div>
</div>,
"debug": [Function],
"findAllByAltText": [Function],
"findAllByDisplayValue": [Function],
"findAllByLabelText": [Function],
"findAllByPlaceholderText": [Function],
"findAllByRole": [Function],
"findAllByTestId": [Function],
"findAllByText": [Function],
"findAllByTitle": [Function],
"findByAltText": [Function],
"findByDisplayValue": [Function],
"findByLabelText": [Function],
"findByPlaceholderText": [Function],
"findByRole": [Function],
"findByTestId": [Function],
"findByText": [Function],
"findByTitle": [Function],
"getAllByAltText": [Function],
"getAllByDisplayValue": [Function],
"getAllByLabelText": [Function],
"getAllByPlaceholderText": [Function],
"getAllByRole": [Function],
"getAllByTestId": [Function],
"getAllByText": [Function],
"getAllByTitle": [Function],
"getByAltText": [Function],
"getByDisplayValue": [Function],
"getByLabelText": [Function],
"getByPlaceholderText": [Function],
"getByRole": [Function],
"getByTestId": [Function],
"getByText": [Function],
"getByTitle": [Function],
"queryAllByAltText": [Function],
"queryAllByDisplayValue": [Function],
"queryAllByLabelText": [Function],
"queryAllByPlaceholderText": [Function],
"queryAllByRole": [Function],
"queryAllByTestId": [Function],
"queryAllByText": [Function],
"queryAllByTitle": [Function],
"queryByAltText": [Function],
"queryByDisplayValue": [Function],
"queryByLabelText": [Function],
"queryByPlaceholderText": [Function],
"queryByRole": [Function],
"queryByTestId": [Function],
"queryByText": [Function],
"queryByTitle": [Function],
"rerender": [Function],
"unmount": [Function],
}
`;