web: set testId on auth input fields

This commit is contained in:
Abdullah Atta
2023-12-26 08:33:19 +05:00
parent 46bf34fb0b
commit aa282b3bf9

View File

@@ -937,6 +937,7 @@ export function AuthField(props: FieldProps) {
<Field
{...props}
name={props.name || props.id}
data-test-id={props["data-test-id"] || props.id}
required
sx={{ mt: 2, width: "100%" }}
styles={{