mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-08 08:54:21 +00:00
Add DeleteFileModal and CommitMessageModal tests with accessibility improvements
This commit is contained in:
@@ -43,6 +43,7 @@ const LoginPage: React.FC = () => {
|
||||
type="email"
|
||||
label="Email"
|
||||
placeholder="your@email.com"
|
||||
data-testid="email-input"
|
||||
required
|
||||
value={email}
|
||||
onChange={(event) => setEmail(event.currentTarget.value)}
|
||||
@@ -51,12 +52,13 @@ const LoginPage: React.FC = () => {
|
||||
<PasswordInput
|
||||
label="Password"
|
||||
placeholder="Your password"
|
||||
data-testid="password-input"
|
||||
required
|
||||
value={password}
|
||||
onChange={(event) => setPassword(event.currentTarget.value)}
|
||||
/>
|
||||
|
||||
<Button type="submit" loading={loading}>
|
||||
<Button type="submit" loading={loading} data-testid="login-button">
|
||||
Sign in
|
||||
</Button>
|
||||
</Stack>
|
||||
|
||||
Reference in New Issue
Block a user