Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion containers/login/LoginForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const LoginForm = ({ onSubmit, loading }) => {
value={username}
placeholder={c('Placeholder').t`Username`}
onChange={onChange(setUsername)}
data-cy-login="username"
/>
</Label>
<Label htmlFor="password" className="bl mb1">
Expand All @@ -48,9 +49,10 @@ const LoginForm = ({ onSubmit, loading }) => {
value={password}
placeholder={c('Placeholder').t`Password`}
onChange={onChange(setPassword)}
data-cy-login="password"
/>
</Label>
<Button type="submit" className="pm-button-blue w100" disabled={loading}>
<Button type="submit" className="pm-button-blue w100" disabled={loading} data-cy-login="submit">
Login
</Button>
<p>
Expand Down
3 changes: 2 additions & 1 deletion containers/login/TOTPForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ const TOTPForm = ({ onSubmit, loading }) => {
value={totp}
placeholder={c('Placeholder').t`Two-factor code`}
onChange={onChange(setTotp)}
data-cy-login="TOTP"
/>
</div>
<div>
<Button type="submit" disabled={loading}>
<Button type="submit" disabled={loading} data-cy-login="submit TOTP">
Submit
</Button>
</div>
Expand Down
3 changes: 2 additions & 1 deletion containers/login/UnlockForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ const UnlockForm = ({ onSubmit, loading }) => {
value={password}
placeholder={c('Placeholder').t`Mailbox password`}
onChange={onChange(setPassword)}
data-cy-login="mailbox password"
/>
</div>
<div>
<Button type="submit" disabled={loading}>
<Button type="submit" disabled={loading} data-cy-login="submit mailbox password">
Submit
</Button>
</div>
Expand Down