Skip to content

Commit b5a933f

Browse files
Linda Penglpatmo
authored andcommitted
Update snapshot test
1 parent 034d9d8 commit b5a933f

File tree

1 file changed

+30
-25
lines changed

1 file changed

+30
-25
lines changed

src/components/Auth/__snapshots__/AuthForm.spec.js.snap

Lines changed: 30 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
exports[`AuthForm should render accordingly 1`] = `
44
<DocumentFragment>
55
<div
6-
class="MuiPaper-root MuiBox-root MuiBox-root-1 MuiPaper-elevation3 MuiPaper-rounded"
6+
class="MuiPaper-root MuiPaper-elevation3 MuiBox-root MuiBox-root-2 MuiPaper-rounded"
77
>
88
<form
99
autocomplete="off"
10-
class="MuiBox-root MuiBox-root-2"
10+
class="MuiBox-root MuiBox-root-30"
1111
data-testid="signupForm"
1212
novalidate=""
1313
>
1414
<h1
15-
class="MuiBox-root MuiBox-root-3"
15+
class="MuiBox-root MuiBox-root-31"
1616
>
1717
Create an account
1818
</h1>
@@ -23,7 +23,6 @@ exports[`AuthForm should render accordingly 1`] = `
2323
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-marginDense MuiInputLabel-outlined"
2424
data-shrink="false"
2525
for="first-name"
26-
id="first-name-label"
2726
>
2827
First Name*
2928
</label>
@@ -40,13 +39,15 @@ exports[`AuthForm should render accordingly 1`] = `
4039
/>
4140
<fieldset
4241
aria-hidden="true"
43-
class="PrivateNotchedOutline-root-4 MuiOutlinedInput-notchedOutline"
42+
class="PrivateNotchedOutline-root-91 MuiOutlinedInput-notchedOutline"
43+
style="padding-left: 8px;"
4444
>
4545
<legend
46-
class="PrivateNotchedOutline-legendLabelled-6"
46+
class="PrivateNotchedOutline-legend-92"
47+
style="width: 0.01px;"
4748
>
4849
<span>
49-
First Name*
50+
5051
</span>
5152
</legend>
5253
</fieldset>
@@ -59,7 +60,6 @@ exports[`AuthForm should render accordingly 1`] = `
5960
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-marginDense MuiInputLabel-outlined"
6061
data-shrink="false"
6162
for="last-name"
62-
id="last-name-label"
6363
>
6464
Last Name
6565
</label>
@@ -76,13 +76,15 @@ exports[`AuthForm should render accordingly 1`] = `
7676
/>
7777
<fieldset
7878
aria-hidden="true"
79-
class="PrivateNotchedOutline-root-4 MuiOutlinedInput-notchedOutline"
79+
class="PrivateNotchedOutline-root-91 MuiOutlinedInput-notchedOutline"
80+
style="padding-left: 8px;"
8081
>
8182
<legend
82-
class="PrivateNotchedOutline-legendLabelled-6"
83+
class="PrivateNotchedOutline-legend-92"
84+
style="width: 0.01px;"
8385
>
8486
<span>
85-
Last Name
87+
8688
</span>
8789
</legend>
8890
</fieldset>
@@ -95,7 +97,6 @@ exports[`AuthForm should render accordingly 1`] = `
9597
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-marginDense MuiInputLabel-outlined"
9698
data-shrink="false"
9799
for="username"
98-
id="username-label"
99100
>
100101
Username*
101102
</label>
@@ -112,13 +113,15 @@ exports[`AuthForm should render accordingly 1`] = `
112113
/>
113114
<fieldset
114115
aria-hidden="true"
115-
class="PrivateNotchedOutline-root-4 MuiOutlinedInput-notchedOutline"
116+
class="PrivateNotchedOutline-root-91 MuiOutlinedInput-notchedOutline"
117+
style="padding-left: 8px;"
116118
>
117119
<legend
118-
class="PrivateNotchedOutline-legendLabelled-6"
120+
class="PrivateNotchedOutline-legend-92"
121+
style="width: 0.01px;"
119122
>
120123
<span>
121-
Username*
124+
122125
</span>
123126
</legend>
124127
</fieldset>
@@ -131,7 +134,6 @@ exports[`AuthForm should render accordingly 1`] = `
131134
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-marginDense MuiInputLabel-outlined"
132135
data-shrink="false"
133136
for="email"
134-
id="email-label"
135137
>
136138
Email*
137139
</label>
@@ -148,13 +150,15 @@ exports[`AuthForm should render accordingly 1`] = `
148150
/>
149151
<fieldset
150152
aria-hidden="true"
151-
class="PrivateNotchedOutline-root-4 MuiOutlinedInput-notchedOutline"
153+
class="PrivateNotchedOutline-root-91 MuiOutlinedInput-notchedOutline"
154+
style="padding-left: 8px;"
152155
>
153156
<legend
154-
class="PrivateNotchedOutline-legendLabelled-6"
157+
class="PrivateNotchedOutline-legend-92"
158+
style="width: 0.01px;"
155159
>
156160
<span>
157-
Email*
161+
158162
</span>
159163
</legend>
160164
</fieldset>
@@ -167,7 +171,6 @@ exports[`AuthForm should render accordingly 1`] = `
167171
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-marginDense MuiInputLabel-outlined"
168172
data-shrink="false"
169173
for="password"
170-
id="password-label"
171174
>
172175
Password*
173176
</label>
@@ -184,20 +187,22 @@ exports[`AuthForm should render accordingly 1`] = `
184187
/>
185188
<fieldset
186189
aria-hidden="true"
187-
class="PrivateNotchedOutline-root-4 MuiOutlinedInput-notchedOutline"
190+
class="PrivateNotchedOutline-root-91 MuiOutlinedInput-notchedOutline"
191+
style="padding-left: 8px;"
188192
>
189193
<legend
190-
class="PrivateNotchedOutline-legendLabelled-6"
194+
class="PrivateNotchedOutline-legend-92"
195+
style="width: 0.01px;"
191196
>
192197
<span>
193-
Password*
198+
194199
</span>
195200
</legend>
196201
</fieldset>
197202
</div>
198203
</div>
199204
<div
200-
class="MuiBox-root MuiBox-root-8"
205+
class="MuiBox-root MuiBox-root-93"
201206
>
202207
<button
203208
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
@@ -218,7 +223,7 @@ exports[`AuthForm should render accordingly 1`] = `
218223
<p>
219224
Already have an account?
220225
<button
221-
class="MuiBox-root MuiBox-root-9"
226+
class="MuiBox-root MuiBox-root-125"
222227
>
223228
Log in
224229
</button>

0 commit comments

Comments
 (0)