Skip to content

Commit 34a5f1c

Browse files
committed
Updated test snapshots.
1 parent 5770013 commit 34a5f1c

File tree

2 files changed

+40
-16
lines changed

2 files changed

+40
-16
lines changed

web-ui/src/components/pulse/__snapshots__/Pulse.test.jsx.snap

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@ exports[`renders correctly 1`] = `
66
<div
77
class="pulse"
88
>
9-
<h6
10-
class="MuiTypography-root MuiTypography-h6 css-2ulfj5-MuiTypography-root"
9+
<div
10+
class="title-row"
1111
>
12-
How are you feeling about work today? (*)
13-
</h6>
12+
<h6
13+
class="MuiTypography-root MuiTypography-h6 css-2ulfj5-MuiTypography-root"
14+
>
15+
How are you feeling about work today? (*)
16+
</h6>
17+
</div>
1418
<div
1519
class="icon-row"
1620
>
@@ -203,7 +207,6 @@ exports[`renders correctly 1`] = `
203207
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputMultiline css-1sqnrkk-MuiInputBase-input-MuiOutlinedInput-input"
204208
id=":r5:"
205209
placeholder="Comment"
206-
rows="4"
207210
style="height: 0px; overflow: hidden;"
208211
>
209212
Just testing

web-ui/src/pages/__snapshots__/PulsePage.test.jsx.snap

Lines changed: 32 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,20 @@ exports[`renders correctly 1`] = `
88
<div
99
class="pulse"
1010
>
11-
<h6
12-
class="MuiTypography-root MuiTypography-h6 css-2ulfj5-MuiTypography-root"
11+
<div
12+
class="title-row"
1313
>
14-
How are you feeling about work today? (*)
15-
</h6>
14+
<h6
15+
class="MuiTypography-root MuiTypography-h6 css-2ulfj5-MuiTypography-root"
16+
>
17+
How are you feeling about work today?
18+
</h6>
19+
<h6
20+
class="MuiTypography-root MuiTypography-h6 css-1i2vuon-MuiTypography-root"
21+
>
22+
*
23+
</h6>
24+
</div>
1625
<div
1726
class="icon-row"
1827
>
@@ -190,12 +199,19 @@ exports[`renders correctly 1`] = `
190199
data-testid="comment-input"
191200
>
192201
<label
193-
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined css-14s5rfu-MuiFormLabel-root-MuiInputLabel-root"
202+
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary Mui-required MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined css-14s5rfu-MuiFormLabel-root-MuiInputLabel-root"
194203
data-shrink="false"
195204
for=":r5:"
196205
id=":r5:-label"
197206
>
198207
Comment
208+
<span
209+
aria-hidden="true"
210+
class="MuiFormLabel-asterisk MuiInputLabel-asterisk css-wgai2y-MuiFormLabel-asterisk"
211+
>
212+
213+
*
214+
</span>
199215
</label>
200216
<div
201217
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-multiline css-8ewcdo-MuiInputBase-root-MuiOutlinedInput-root"
@@ -205,7 +221,7 @@ exports[`renders correctly 1`] = `
205221
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputMultiline css-1sqnrkk-MuiInputBase-input-MuiOutlinedInput-input"
206222
id=":r5:"
207223
placeholder="Comment"
208-
rows="4"
224+
required=""
209225
style="height: 0px; overflow: hidden;"
210226
/>
211227
<textarea
@@ -224,6 +240,8 @@ exports[`renders correctly 1`] = `
224240
>
225241
<span>
226242
Comment
243+
244+
*
227245
</span>
228246
</legend>
229247
</fieldset>
@@ -233,11 +251,15 @@ exports[`renders correctly 1`] = `
233251
<div
234252
class="pulse"
235253
>
236-
<h6
237-
class="MuiTypography-root MuiTypography-h6 css-2ulfj5-MuiTypography-root"
254+
<div
255+
class="title-row"
238256
>
239-
How are you feeling about life outside of work?
240-
</h6>
257+
<h6
258+
class="MuiTypography-root MuiTypography-h6 css-2ulfj5-MuiTypography-root"
259+
>
260+
How are you feeling about life outside of work?
261+
</h6>
262+
</div>
241263
<div
242264
class="icon-row"
243265
>
@@ -430,7 +452,6 @@ exports[`renders correctly 1`] = `
430452
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputMultiline css-1sqnrkk-MuiInputBase-input-MuiOutlinedInput-input"
431453
id=":rb:"
432454
placeholder="Comment"
433-
rows="4"
434455
style="height: 0px; overflow: hidden;"
435456
/>
436457
<textarea

0 commit comments

Comments
 (0)