Skip to content

Commit 8e3494a

Browse files
committed
chore: update snapshot
1 parent 1c13c64 commit 8e3494a

1 file changed

Lines changed: 36 additions & 25 deletions

File tree

apps/meteor/client/components/CreateDiscussion/__snapshots__/CreateDiscussion.spec.tsx.snap

Lines changed: 36 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exports[`CreateDiscussion renders Default without crashing 1`] = `
44
<body>
55
<div>
66
<dialog
7-
aria-labelledby=":r6:-title"
7+
aria-labelledby=":r1:-title"
88
aria-modal="true"
99
class="rcx-box rcx-box--full rcx-modal"
1010
open=""
@@ -23,7 +23,7 @@ exports[`CreateDiscussion renders Default without crashing 1`] = `
2323
>
2424
<h2
2525
class="rcx-box rcx-box--full rcx-modal__title"
26-
id=":r6:-title"
26+
id=":r1:-title"
2727
>
2828
Discussion_title
2929
</h2>
@@ -63,7 +63,7 @@ exports[`CreateDiscussion renders Default without crashing 1`] = `
6363
>
6464
<label
6565
class="rcx-box rcx-box--full rcx-field__label rcx-label"
66-
for=":r0:"
66+
for="react-aria-:r2:-label"
6767
>
6868
Parent channel or team
6969
<span
@@ -84,11 +84,10 @@ exports[`CreateDiscussion renders Default without crashing 1`] = `
8484
role="group"
8585
>
8686
<input
87-
aria-describedby=":r0:-error"
8887
aria-invalid="false"
88+
aria-label="Parent channel or team"
8989
aria-required="true"
9090
class="rcx-box rcx-box--full rcx-box--animated rcx-input-box--undecorated rcx-input-box rcx-css-trljwa rcx-css-rcil7k"
91-
id=":r0:"
9291
name="parentRoom"
9392
placeholder="Search_options"
9493
value=""
@@ -112,7 +111,7 @@ exports[`CreateDiscussion renders Default without crashing 1`] = `
112111
>
113112
<label
114113
class="rcx-box rcx-box--full rcx-field__label rcx-label"
115-
for=":r2:"
114+
for="react-aria-:r3:-label"
116115
>
117116
Name
118117
<span
@@ -129,10 +128,11 @@ exports[`CreateDiscussion renders Default without crashing 1`] = `
129128
class="rcx-box rcx-box--full rcx-label rcx-box rcx-box--full rcx-box--animated rcx-input-box__wrapper"
130129
>
131130
<input
131+
aria-describedby=""
132132
aria-invalid="false"
133133
aria-required="true"
134134
class="rcx-box rcx-box--full rcx-box--animated rcx-input-box--undecorated rcx-input-box--type-text rcx-input-box"
135-
id=":r2:"
135+
id="react-aria-:r3:-label"
136136
name="name"
137137
size="1"
138138
type="text"
@@ -156,17 +156,18 @@ exports[`CreateDiscussion renders Default without crashing 1`] = `
156156
>
157157
<label
158158
class="rcx-box rcx-box--full rcx-field__label rcx-label"
159-
for=":r5:"
159+
for="react-aria-:r4:-label"
160160
>
161161
Topic
162162
</label>
163163
<span
164164
class="rcx-box rcx-box--full rcx-field__row"
165165
>
166166
<input
167-
aria-describedby=":r5:-hint"
167+
aria-describedby="react-aria-:r4:-hint"
168+
aria-invalid="false"
168169
class="rcx-box rcx-box--full rcx-box--animated rcx-input-box--type-text rcx-input-box"
169-
id=":r5:"
170+
id="react-aria-:r4:-label"
170171
name="topic"
171172
size="1"
172173
type="text"
@@ -178,7 +179,7 @@ exports[`CreateDiscussion renders Default without crashing 1`] = `
178179
>
179180
<span
180181
class="rcx-box rcx-box--full rcx-field__hint"
181-
id=":r5:-hint"
182+
id="react-aria-:r4:-hint"
182183
>
183184
Displayed_next_to_name
184185
</span>
@@ -187,12 +188,12 @@ exports[`CreateDiscussion renders Default without crashing 1`] = `
187188
<div
188189
class="rcx-box rcx-box--full rcx-field rcx-field-group__item"
189190
>
190-
<label
191+
<span
191192
class="rcx-box rcx-box--full rcx-field__label rcx-label"
192-
for=":r3:"
193+
id="react-aria-:r5:-label"
193194
>
194195
Members
195-
</label>
196+
</span>
196197
<span
197198
class="rcx-box rcx-box--full rcx-field__row"
198199
>
@@ -206,11 +207,14 @@ exports[`CreateDiscussion renders Default without crashing 1`] = `
206207
class="rcx-box rcx-box--full rcx-css-w398ts"
207208
>
208209
<input
209-
aria-controls=":r3:-listbox"
210+
aria-controls="react-aria-:r5:-listbox"
211+
aria-describedby=""
210212
aria-expanded="false"
211213
aria-haspopup="listbox"
214+
aria-invalid="false"
215+
aria-labelledby="react-aria-:r5:-label"
212216
class="rcx-box rcx-box--full rcx-box--animated rcx-input-box--undecorated rcx-input-box rcx-css-trljwa rcx-css-pqpp8q"
213-
id=":r3:"
217+
id="react-aria-:r5:"
214218
name="usernames"
215219
placeholder="Add_people"
216220
role="combobox"
@@ -236,26 +240,27 @@ exports[`CreateDiscussion renders Default without crashing 1`] = `
236240
>
237241
<label
238242
class="rcx-box rcx-box--full rcx-field__label rcx-label"
239-
for=":r4:"
243+
for="react-aria-:r6:-label"
240244
>
241245
Message
242246
</label>
243247
<span
244248
class="rcx-box rcx-box--full rcx-field__row"
245249
>
246250
<textarea
247-
aria-describedby=":r4:-hint"
251+
aria-describedby="react-aria-:r6:-hint"
252+
aria-invalid="false"
248253
class="rcx-box rcx-box--full rcx-box--animated rcx-input-box--type-textarea rcx-input-box"
249254
cols="1"
250-
id=":r4:"
255+
id="react-aria-:r6:-label"
251256
name="firstMessage"
252257
rows="5"
253258
size="1"
254259
/>
255260
</span>
256261
<span
257262
class="rcx-box rcx-box--full rcx-field__hint"
258-
id=":r4:-hint"
263+
id="react-aria-:r6:-hint"
259264
>
260265
First_message_hint
261266
</span>
@@ -266,18 +271,24 @@ exports[`CreateDiscussion renders Default without crashing 1`] = `
266271
<span
267272
class="rcx-box rcx-box--full rcx-field__row"
268273
>
269-
<label
274+
<span
270275
class="rcx-box rcx-box--full rcx-field__label rcx-label"
271-
for=":r1:"
272276
>
273277
Encrypted
274-
</label>
278+
</span>
275279
<label
276280
class="rcx-box rcx-box--full rcx-toggle-switch"
277281
>
282+
<div
283+
style="border: 0px; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; white-space: nowrap;"
284+
>
285+
Encrypted
286+
</div>
278287
<input
288+
aria-describedby="react-aria-:r7:-hint"
289+
aria-invalid="false"
279290
class="rcx-box rcx-box--full rcx-toggle-switch__input"
280-
id=":r1:"
291+
id="react-aria-:r7:-label"
281292
name="encrypted"
282293
type="checkbox"
283294
/>
@@ -289,7 +300,7 @@ exports[`CreateDiscussion renders Default without crashing 1`] = `
289300
</span>
290301
<span
291302
class="rcx-box rcx-box--full rcx-field__hint"
292-
id=":r1:-hint"
303+
id="react-aria-:r7:-hint"
293304
>
294305
Not_available_for_this_workspace
295306
</span>

0 commit comments

Comments
 (0)