SymphonyElectron/spec/__snapshots__/basicAuth.spec.ts.snap
2019-04-02 10:57:27 +05:30

94 lines
1.7 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`basic auth should render correctly 1`] = `
<div
className="container"
>
<span>
Please provide your login credentials for:
</span>
<span
className="hostname"
>
unknown
</span>
<span
className="credentials-error"
id="credentialsError"
>
Invalid user name/password
</span>
<form
action="Login"
id="basicAuth"
name="Basic Auth"
onSubmit={[Function]}
>
<table
className="form"
>
<tbody>
<tr>
<td
id="username-text"
>
User name:
</td>
<td>
<input
id="username"
name="username"
onChange={[Function]}
required={true}
title="Username"
/>
</td>
</tr>
<tr>
<td
id="password-text"
>
Password:
</td>
<td>
<input
id="password"
name="password"
onChange={[Function]}
required={true}
title="Password"
type="password"
/>
</td>
</tr>
</tbody>
</table>
<div
className="footer"
>
<div
className="button-container"
>
<button
id="login"
type="submit"
>
Log In
</button>
</div>
<div
className="button-container"
>
<button
id="cancel"
onClick={[Function]}
type="button"
>
Cancel
</button>
</div>
</div>
</form>
</div>
`;