chore: add major data-test attributes

This commit is contained in:
Ali BARIN
2022-10-08 23:57:23 +02:00
parent 38bcf6ada0
commit e47c54b336
25 changed files with 59 additions and 20 deletions

View File

@@ -25,6 +25,7 @@ function renderFields(props: { loading: boolean }) {
fullWidth
margin="dense"
autoComplete="username"
data-test="email-text-field"
/>
<TextField
@@ -35,6 +36,7 @@ function renderFields(props: { loading: boolean }) {
fullWidth
margin="dense"
autoComplete="current-password"
data-test="password-text-field"
/>
<LoadingButton
@@ -44,6 +46,7 @@ function renderFields(props: { loading: boolean }) {
sx={{ boxShadow: 2, mt: 3 }}
loading={loading}
fullWidth
data-test="login-button"
>
Login
</LoadingButton>