Add DeleteFileModal and CommitMessageModal tests with accessibility improvements

This commit is contained in:
2025-05-31 20:00:34 +02:00
parent 2964963f98
commit e279cd4535
8 changed files with 1174 additions and 90 deletions

View File

@@ -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>