diff --git a/frontend/src/routes/sponsor/register/stepPersonForm.tsx b/frontend/src/routes/sponsor/register/stepPersonForm.tsx index 6e624ba0adfa7526de6e5d3d5d74f26354ea01d0..ca85cbc8165395f479f865d5eea931546d003ec7 100644 --- a/frontend/src/routes/sponsor/register/stepPersonForm.tsx +++ b/frontend/src/routes/sponsor/register/stepPersonForm.tsx @@ -147,6 +147,7 @@ const StepPersonForm = forwardRef( {...register(`last_name`, { required: t<string>('validation.lastNameRequired'), })} + inputProps={{ 'data-testid': 'lastName-input-field' }} /> <TextField id="email" @@ -156,7 +157,6 @@ const StepPersonForm = forwardRef( {...register(`email`, { validate: isValidEmail, })} - inputProps={{ 'data-testid': 'lastName-input-field' }} /> <Typography variant="h5" sx={{ paddingTop: '1rem' }}>