Skip to content

Commit 40ba176

Browse files
committed
fix: update tests
1 parent 24ea786 commit 40ba176

File tree

11 files changed

+63
-61
lines changed

11 files changed

+63
-61
lines changed

packages/form/src/components/DateInputField/__tests__/__snapshots__/index.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ exports[`dateInputField > should clear field 1`] = `
6464
class="uv_705z6f0 uv_9rlyg91 uv_w40vpo4 null"
6565
id="_r_3k_"
6666
role="dialog"
67-
style="--uv_ozfz3c0: -5px; --uv_ozfz3c1: 0px; --uv_ozfz3c2: rotate(180deg); --uv_ozfz3c4: translate3d(0px, 4px, 0); --uv_ozfz3c5: 0ms; --uv_ozfz3c6: translate3d(0px, 4px, 0); --uv_ozfz3c7: 16.5rem; opacity: 1;"
67+
style="--uv_ozfz3c0: -5px; --uv_ozfz3c1: 0px; --uv_ozfz3c2: rotate(180deg); --uv_ozfz3c4: translate3d(0px, 4px, 0); --uv_ozfz3c5: 0ms; --uv_ozfz3c6: translate3d(0px, 4px, 0); --uv_ozfz3c7: 16.5rem; opacity: 1;"
6868
>
6969
<div
7070
class="uv_w40vpo2"

packages/form/src/components/SelectInputField/__tests__/__snapshots__/index.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ exports[`selectInputField > should display right value on grouped options 1`] =
6060
class="uv_5kpm8k0 uv_w40vpo4 null"
6161
id="_r_l_"
6262
role="dialog"
63-
style="--uv_ozfz3c0: -5px; --uv_ozfz3c1: 0px; --uv_ozfz3c2: rotate(180deg); --uv_ozfz3c4: translate3d(0px, 4px, 0); --uv_ozfz3c5: 0ms; --uv_ozfz3c6: translate3d(0px, 4px, 0); --uv_ozfz3c7: 100%; opacity: 1;"
63+
style="--uv_ozfz3c0: -5px; --uv_ozfz3c1: 0px; --uv_ozfz3c2: rotate(180deg); --uv_ozfz3c4: translate3d(0px, 4px, 0); --uv_ozfz3c5: 0ms; --uv_ozfz3c6: translate3d(0px, 4px, 0); --uv_ozfz3c7: 100%; opacity: 1;"
6464
>
6565
<div
6666
class="uv_w40vpo2"

packages/ui/src/components/Avatar/__tests__/__snapshots__/index.test.tsx.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ exports[`avatar > renders correctly with shape circle > renders correctly with s
9696
<div
9797
class="styles__19x8y1k0 styles_sentiment_primary__19x8y1k7 styles_shape_circle__19x8y1k1 styles_size_large__19x8y1k3"
9898
data-has-background="false"
99-
style="background-image: url(/src/components/Avatar/__stories__/assets/avatar.svg); background-size: cover;"
99+
style="background-image: url("/src/components/Avatar/__stories__/assets/avatar.svg"); background-size: cover;"
100100
/>
101101
</div>
102102
</DocumentFragment>
@@ -338,7 +338,7 @@ exports[`avatar > renders correctly with shape circle > renders correctly with s
338338
<div
339339
class="styles__19x8y1k0 styles_sentiment_primary__19x8y1k7 styles_shape_circle__19x8y1k1 styles_size_medium__19x8y1k4"
340340
data-has-background="false"
341-
style="background-image: url(/src/components/Avatar/__stories__/assets/avatar.svg); background-size: cover;"
341+
style="background-image: url("/src/components/Avatar/__stories__/assets/avatar.svg"); background-size: cover;"
342342
/>
343343
</div>
344344
</DocumentFragment>
@@ -580,7 +580,7 @@ exports[`avatar > renders correctly with shape circle > renders correctly with s
580580
<div
581581
class="styles__19x8y1k0 styles_sentiment_primary__19x8y1k7 styles_shape_circle__19x8y1k1 styles_size_small__19x8y1k5"
582582
data-has-background="false"
583-
style="background-image: url(/src/components/Avatar/__stories__/assets/avatar.svg); background-size: cover;"
583+
style="background-image: url("/src/components/Avatar/__stories__/assets/avatar.svg"); background-size: cover;"
584584
/>
585585
</div>
586586
</DocumentFragment>
@@ -822,7 +822,7 @@ exports[`avatar > renders correctly with shape circle > renders correctly with s
822822
<div
823823
class="styles__19x8y1k0 styles_sentiment_primary__19x8y1k7 styles_shape_circle__19x8y1k1 styles_size_xsmall__19x8y1k6"
824824
data-has-background="false"
825-
style="background-image: url(/src/components/Avatar/__stories__/assets/avatar.svg); background-size: cover;"
825+
style="background-image: url("/src/components/Avatar/__stories__/assets/avatar.svg"); background-size: cover;"
826826
/>
827827
</div>
828828
</DocumentFragment>
@@ -1064,7 +1064,7 @@ exports[`avatar > renders correctly with shape square > renders correctly with s
10641064
<div
10651065
class="styles__19x8y1k0 styles_sentiment_primary__19x8y1k7 styles_shape_square__19x8y1k2 styles_size_large__19x8y1k3 styles_undefined_compound_0__19x8y1k9"
10661066
data-has-background="false"
1067-
style="background-image: url(/src/components/Avatar/__stories__/assets/avatar.svg); background-size: cover;"
1067+
style="background-image: url("/src/components/Avatar/__stories__/assets/avatar.svg"); background-size: cover;"
10681068
/>
10691069
</div>
10701070
</DocumentFragment>
@@ -1306,7 +1306,7 @@ exports[`avatar > renders correctly with shape square > renders correctly with s
13061306
<div
13071307
class="styles__19x8y1k0 styles_sentiment_primary__19x8y1k7 styles_shape_square__19x8y1k2 styles_size_medium__19x8y1k4 styles_undefined_compound_1__19x8y1ka"
13081308
data-has-background="false"
1309-
style="background-image: url(/src/components/Avatar/__stories__/assets/avatar.svg); background-size: cover;"
1309+
style="background-image: url("/src/components/Avatar/__stories__/assets/avatar.svg"); background-size: cover;"
13101310
/>
13111311
</div>
13121312
</DocumentFragment>
@@ -1548,7 +1548,7 @@ exports[`avatar > renders correctly with shape square > renders correctly with s
15481548
<div
15491549
class="styles__19x8y1k0 styles_sentiment_primary__19x8y1k7 styles_shape_square__19x8y1k2 styles_size_small__19x8y1k5 styles_undefined_compound_2__19x8y1kb"
15501550
data-has-background="false"
1551-
style="background-image: url(/src/components/Avatar/__stories__/assets/avatar.svg); background-size: cover;"
1551+
style="background-image: url("/src/components/Avatar/__stories__/assets/avatar.svg"); background-size: cover;"
15521552
/>
15531553
</div>
15541554
</DocumentFragment>
@@ -1790,7 +1790,7 @@ exports[`avatar > renders correctly with shape square > renders correctly with s
17901790
<div
17911791
class="styles__19x8y1k0 styles_sentiment_primary__19x8y1k7 styles_shape_square__19x8y1k2 styles_size_xsmall__19x8y1k6 styles_undefined_compound_3__19x8y1kc"
17921792
data-has-background="false"
1793-
style="background-image: url(/src/components/Avatar/__stories__/assets/avatar.svg); background-size: cover;"
1793+
style="background-image: url("/src/components/Avatar/__stories__/assets/avatar.svg"); background-size: cover;"
17941794
/>
17951795
</div>
17961796
</DocumentFragment>

packages/ui/src/components/Banner/__tests__/__snapshots__/index.test.tsx.snap

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ exports[`banner > renders correctly with a button 1`] = `
1818
</div>
1919
<div
2020
class="styles__toi52u0 styles_alignItems_start_xxsmall__toi52u3j styles_flexDirection_column_xxsmall__toi52u2d styles_flexWrap_nowrap_xxsmall__toi52u7d styles_gap_1rem_xxsmall__toi52ud styles_justifyContent_space-between_xxsmall__toi52u6p"
21-
style="flex: 1;"
21+
style="flex: 1 1 0%;"
2222
>
2323
<div
2424
class="styles__toi52u0 styles_alignItems_normal_xxsmall__toi52u31 styles_flexDirection_column_xxsmall__toi52u2d styles_flexWrap_nowrap_xxsmall__toi52u7d styles_gap_0.25rem_xxsmall__toi52u1v styles_justifyContent_center_xxsmall__toi52u5j"
25-
style="flex: 1;"
25+
style="flex: 1 1 0%;"
2626
>
2727
<p
2828
class="style__m4c9ow0 style_strikeThrough_false__m4c9ow2 style_italic_false__m4c9ow4 style_underline_false__m4c9ow6 style_oneLine_false__m4c9ow8 style_sentiment_primary__m4c9ow9 style_prominence_default__m4c9owi style_variant_headingSmall__m4c9ow15 style_disabled_false__m4c9ow1b style_undefined_compound_0__m4c9ow1c style_undefined_compound_72__m4c9ow3c"
@@ -83,11 +83,11 @@ exports[`banner > renders correctly with a link 1`] = `
8383
</div>
8484
<div
8585
class="styles__toi52u0 styles_alignItems_start_xxsmall__toi52u3j styles_flexDirection_column_xxsmall__toi52u2d styles_flexWrap_nowrap_xxsmall__toi52u7d styles_gap_1rem_xxsmall__toi52ud styles_justifyContent_space-between_xxsmall__toi52u6p"
86-
style="flex: 1;"
86+
style="flex: 1 1 0%;"
8787
>
8888
<div
8989
class="styles__toi52u0 styles_alignItems_normal_xxsmall__toi52u31 styles_flexDirection_column_xxsmall__toi52u2d styles_flexWrap_nowrap_xxsmall__toi52u7d styles_gap_0.25rem_xxsmall__toi52u1v styles_justifyContent_center_xxsmall__toi52u5j"
90-
style="flex: 1;"
90+
style="flex: 1 1 0%;"
9191
>
9292
<p
9393
class="style__m4c9ow0 style_strikeThrough_false__m4c9ow2 style_italic_false__m4c9ow4 style_underline_false__m4c9ow6 style_oneLine_false__m4c9ow8 style_sentiment_primary__m4c9ow9 style_prominence_default__m4c9owi style_variant_headingSmall__m4c9ow15 style_disabled_false__m4c9ow1b style_undefined_compound_0__m4c9ow1c style_undefined_compound_72__m4c9ow3c"
@@ -166,11 +166,11 @@ exports[`banner > renders correctly with closable to false 1`] = `
166166
</div>
167167
<div
168168
class="styles__toi52u0 styles_alignItems_center_xxsmall__toi52u3d styles_flexDirection_row_xxsmall__toi52u2j styles_flexWrap_nowrap_xxsmall__toi52u7d styles_gap_1rem_xxsmall__toi52ud styles_justifyContent_space-between_xxsmall__toi52u6p"
169-
style="flex: 1;"
169+
style="flex: 1 1 0%;"
170170
>
171171
<div
172172
class="styles__toi52u0 styles_alignItems_normal_xxsmall__toi52u31 styles_flexDirection_column_xxsmall__toi52u2d styles_flexWrap_nowrap_xxsmall__toi52u7d styles_gap_0.25rem_xxsmall__toi52u1v styles_justifyContent_center_xxsmall__toi52u5j"
173-
style="flex: 1;"
173+
style="flex: 1 1 0%;"
174174
>
175175
<p
176176
class="style__m4c9ow0 style_strikeThrough_false__m4c9ow2 style_italic_false__m4c9ow4 style_underline_false__m4c9ow6 style_oneLine_false__m4c9ow8 style_sentiment_primary__m4c9ow9 style_prominence_default__m4c9owi style_variant_headingSmall__m4c9ow15 style_disabled_false__m4c9ow1b style_undefined_compound_0__m4c9ow1c style_undefined_compound_72__m4c9ow3c"
@@ -207,11 +207,11 @@ exports[`banner > renders correctly with default values 1`] = `
207207
</div>
208208
<div
209209
class="styles__toi52u0 styles_alignItems_start_xxsmall__toi52u3j styles_flexDirection_column_xxsmall__toi52u2d styles_flexWrap_nowrap_xxsmall__toi52u7d styles_gap_1rem_xxsmall__toi52ud styles_justifyContent_space-between_xxsmall__toi52u6p"
210-
style="flex: 1;"
210+
style="flex: 1 1 0%;"
211211
>
212212
<div
213213
class="styles__toi52u0 styles_alignItems_normal_xxsmall__toi52u31 styles_flexDirection_column_xxsmall__toi52u2d styles_flexWrap_nowrap_xxsmall__toi52u7d styles_gap_0.25rem_xxsmall__toi52u1v styles_justifyContent_center_xxsmall__toi52u5j"
214-
style="flex: 1;"
214+
style="flex: 1 1 0%;"
215215
>
216216
<p
217217
class="style__m4c9ow0 style_strikeThrough_false__m4c9ow2 style_italic_false__m4c9ow4 style_underline_false__m4c9ow6 style_oneLine_false__m4c9ow8 style_sentiment_primary__m4c9ow9 style_prominence_default__m4c9owi style_variant_headingSmall__m4c9ow15 style_disabled_false__m4c9ow1b style_undefined_compound_0__m4c9ow1c style_undefined_compound_72__m4c9ow3c"
@@ -262,11 +262,11 @@ exports[`banner > renders correctly with direction row 1`] = `
262262
</div>
263263
<div
264264
class="styles__toi52u0 styles_alignItems_center_xxsmall__toi52u3d styles_flexDirection_row_xxsmall__toi52u2j styles_flexWrap_nowrap_xxsmall__toi52u7d styles_gap_1rem_xxsmall__toi52ud styles_justifyContent_space-between_xxsmall__toi52u6p"
265-
style="flex: 1;"
265+
style="flex: 1 1 0%;"
266266
>
267267
<div
268268
class="styles__toi52u0 styles_alignItems_normal_xxsmall__toi52u31 styles_flexDirection_column_xxsmall__toi52u2d styles_flexWrap_nowrap_xxsmall__toi52u7d styles_gap_0.25rem_xxsmall__toi52u1v styles_justifyContent_center_xxsmall__toi52u5j"
269-
style="flex: 1;"
269+
style="flex: 1 1 0%;"
270270
>
271271
<p
272272
class="style__m4c9ow0 style_strikeThrough_false__m4c9ow2 style_italic_false__m4c9ow4 style_underline_false__m4c9ow6 style_oneLine_false__m4c9ow8 style_sentiment_primary__m4c9ow9 style_prominence_default__m4c9owi style_variant_headingSmall__m4c9ow15 style_disabled_false__m4c9ow1b style_undefined_compound_0__m4c9ow1c style_undefined_compound_72__m4c9ow3c"
@@ -317,11 +317,11 @@ exports[`banner > should render correctly with dark theme 1`] = `
317317
</div>
318318
<div
319319
class="styles__toi52u0 styles_alignItems_start_xxsmall__toi52u3j styles_flexDirection_column_xxsmall__toi52u2d styles_flexWrap_nowrap_xxsmall__toi52u7d styles_gap_1rem_xxsmall__toi52ud styles_justifyContent_space-between_xxsmall__toi52u6p"
320-
style="flex: 1;"
320+
style="flex: 1 1 0%;"
321321
>
322322
<div
323323
class="styles__toi52u0 styles_alignItems_normal_xxsmall__toi52u31 styles_flexDirection_column_xxsmall__toi52u2d styles_flexWrap_nowrap_xxsmall__toi52u7d styles_gap_0.25rem_xxsmall__toi52u1v styles_justifyContent_center_xxsmall__toi52u5j"
324-
style="flex: 1;"
324+
style="flex: 1 1 0%;"
325325
>
326326
<p
327327
class="style__m4c9ow0 style_strikeThrough_false__m4c9ow2 style_italic_false__m4c9ow4 style_underline_false__m4c9ow6 style_oneLine_false__m4c9ow8 style_sentiment_primary__m4c9ow9 style_prominence_default__m4c9owi style_variant_headingSmall__m4c9ow15 style_disabled_false__m4c9ow1b style_undefined_compound_0__m4c9ow1c style_undefined_compound_72__m4c9ow3c"
@@ -400,11 +400,11 @@ exports[`banner > sizes and variants > renders correctly with size medium and va
400400
</div>
401401
<div
402402
class="styles__toi52u0 styles_alignItems_start_xxsmall__toi52u3j styles_flexDirection_column_xxsmall__toi52u2d styles_flexWrap_nowrap_xxsmall__toi52u7d styles_gap_1rem_xxsmall__toi52ud styles_justifyContent_space-between_xxsmall__toi52u6p"
403-
style="flex: 1;"
403+
style="flex: 1 1 0%;"
404404
>
405405
<div
406406
class="styles__toi52u0 styles_alignItems_normal_xxsmall__toi52u31 styles_flexDirection_column_xxsmall__toi52u2d styles_flexWrap_nowrap_xxsmall__toi52u7d styles_gap_0.25rem_xxsmall__toi52u1v styles_justifyContent_center_xxsmall__toi52u5j"
407-
style="flex: 1;"
407+
style="flex: 1 1 0%;"
408408
>
409409
<p
410410
class="style__m4c9ow0 style_strikeThrough_false__m4c9ow2 style_italic_false__m4c9ow4 style_underline_false__m4c9ow6 style_oneLine_false__m4c9ow8 style_sentiment_primary__m4c9ow9 style_prominence_default__m4c9owi style_variant_headingSmall__m4c9ow15 style_disabled_false__m4c9ow1b style_undefined_compound_0__m4c9ow1c style_undefined_compound_72__m4c9ow3c"
@@ -455,11 +455,11 @@ exports[`banner > sizes and variants > renders correctly with size medium and va
455455
</div>
456456
<div
457457
class="styles__toi52u0 styles_alignItems_start_xxsmall__toi52u3j styles_flexDirection_column_xxsmall__toi52u2d styles_flexWrap_nowrap_xxsmall__toi52u7d styles_gap_1rem_xxsmall__toi52ud styles_justifyContent_space-between_xxsmall__toi52u6p"
458-
style="flex: 1;"
458+
style="flex: 1 1 0%;"
459459
>
460460
<div
461461
class="styles__toi52u0 styles_alignItems_normal_xxsmall__toi52u31 styles_flexDirection_column_xxsmall__toi52u2d styles_flexWrap_nowrap_xxsmall__toi52u7d styles_gap_0.25rem_xxsmall__toi52u1v styles_justifyContent_center_xxsmall__toi52u5j"
462-
style="flex: 1;"
462+
style="flex: 1 1 0%;"
463463
>
464464
<p
465465
class="style__m4c9ow0 style_strikeThrough_false__m4c9ow2 style_italic_false__m4c9ow4 style_underline_false__m4c9ow6 style_oneLine_false__m4c9ow8 style_sentiment_white__m4c9owh style_prominence_strong__m4c9owj style_variant_headingSmall__m4c9ow15 style_disabled_false__m4c9ow1b style_undefined_compound_33__m4c9ow29 style_undefined_compound_73__m4c9ow3d"
@@ -510,11 +510,11 @@ exports[`banner > sizes and variants > renders correctly with size small and var
510510
</div>
511511
<div
512512
class="styles__toi52u0 styles_alignItems_start_xxsmall__toi52u3j styles_flexDirection_column_xxsmall__toi52u2d styles_flexWrap_nowrap_xxsmall__toi52u7d styles_gap_1rem_xxsmall__toi52ud styles_justifyContent_space-between_xxsmall__toi52u6p"
513-
style="flex: 1;"
513+
style="flex: 1 1 0%;"
514514
>
515515
<div
516516
class="styles__toi52u0 styles_alignItems_normal_xxsmall__toi52u31 styles_flexDirection_column_xxsmall__toi52u2d styles_flexWrap_nowrap_xxsmall__toi52u7d styles_gap_0.25rem_xxsmall__toi52u1v styles_justifyContent_center_xxsmall__toi52u5j"
517-
style="flex: 1;"
517+
style="flex: 1 1 0%;"
518518
>
519519
<p
520520
class="style__m4c9ow0 style_strikeThrough_false__m4c9ow2 style_italic_false__m4c9ow4 style_underline_false__m4c9ow6 style_oneLine_false__m4c9ow8 style_sentiment_primary__m4c9ow9 style_prominence_default__m4c9owi style_variant_bodyStronger__m4c9owr style_disabled_false__m4c9ow1b style_undefined_compound_0__m4c9ow1c style_undefined_compound_72__m4c9ow3c"
@@ -565,11 +565,11 @@ exports[`banner > sizes and variants > renders correctly with size small and var
565565
</div>
566566
<div
567567
class="styles__toi52u0 styles_alignItems_start_xxsmall__toi52u3j styles_flexDirection_column_xxsmall__toi52u2d styles_flexWrap_nowrap_xxsmall__toi52u7d styles_gap_1rem_xxsmall__toi52ud styles_justifyContent_space-between_xxsmall__toi52u6p"
568-
style="flex: 1;"
568+
style="flex: 1 1 0%;"
569569
>
570570
<div
571571
class="styles__toi52u0 styles_alignItems_normal_xxsmall__toi52u31 styles_flexDirection_column_xxsmall__toi52u2d styles_flexWrap_nowrap_xxsmall__toi52u7d styles_gap_0.25rem_xxsmall__toi52u1v styles_justifyContent_center_xxsmall__toi52u5j"
572-
style="flex: 1;"
572+
style="flex: 1 1 0%;"
573573
>
574574
<p
575575
class="style__m4c9ow0 style_strikeThrough_false__m4c9ow2 style_italic_false__m4c9ow4 style_underline_false__m4c9ow6 style_oneLine_false__m4c9ow8 style_sentiment_white__m4c9owh style_prominence_strong__m4c9owj style_variant_bodyStronger__m4c9owr style_disabled_false__m4c9ow1b style_undefined_compound_33__m4c9ow29 style_undefined_compound_73__m4c9ow3d"

0 commit comments

Comments
 (0)