diff --git a/app/routes/_auth+/onboarding.tsx b/app/routes/_auth+/onboarding.tsx index aaa12a0..072ecee 100644 --- a/app/routes/_auth+/onboarding.tsx +++ b/app/routes/_auth+/onboarding.tsx @@ -173,6 +173,7 @@ export default function OnboardingPage() { htmlFor: fields.username.id, children: 'Username', }} + description="Used for logging in (cannot be an email address)" inputProps={{ ...conform.input(fields.username), autoComplete: 'username', @@ -181,7 +182,6 @@ export default function OnboardingPage() { typeof fields.username.initialError !== 'undefined', }} errors={fields.username.errors} - description="Cannot be an email address" /> { .getByRole('textbox', { name: /^username/i }) .fill(onboardingData.username) - await page.getByRole('textbox', { name: /^name/i }).fill(onboardingData.name) + await page + .getByRole('textbox', { name: /^full name/i }) + .fill(onboardingData.name) await page .getByRole('textbox', { name: /number/i })