Fix tests

This commit is contained in:
Alex Gleason 2021-03-25 17:12:31 -05:00
parent 619d298547
commit 1e2b0c9eee
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
3 changed files with 63 additions and 1 deletions

View file

@ -64,4 +64,66 @@ exports[`<LoginPage /> renders correctly on load 1`] = `
</form> </form>
`; `;
exports[`<LoginPage /> renders correctly on load 2`] = `null`; exports[`<LoginPage /> renders correctly on load 2`] = `
<form
className="simple_form new_user"
method="post"
onSubmit={[Function]}
>
<fieldset
disabled={false}
>
<div
className="fields-group"
>
<div
className="input email user_email"
>
<input
aria-label="Username"
autoComplete="off"
className="string email"
name="username"
placeholder="Username"
required={true}
type="text"
/>
</div>
<div
className="input password user_password"
>
<input
aria-label="Password"
autoComplete="off"
className="password"
name="password"
placeholder="Password"
required={true}
type="password"
/>
</div>
<p
className="hint subtle-hint"
>
<a
href="/auth/reset_password"
onClick={[Function]}
>
Trouble logging in?
</a>
</p>
</div>
</fieldset>
<div
className="actions"
>
<button
className="btn button button-primary"
name="button"
type="submit"
>
Log in
</button>
</div>
</form>
`;

Binary file not shown.