Skip to content

354 — should upload profile image and fill names, go to org creation and go back

Description

Verifies that filled-in personal info (avatar, first name, last name, language) is remembered when the user advances to Step 2 (Create Organization) and then returns to Step 1.

Preconditions

  • A freshly registered and email-verified user account that has not yet completed onboarding.
  • The user is logged in and standing on Step 1 of 2 of the onboarding wizard ("Set personal info").

Steps

  1. Upload profilePicture.jpeg as the profile avatar. Expected: an "Updated" toast appears.
  2. Fill in the First Name and Last Name fields with a generated first and last name.
  3. Click the "Next" button.
  4. Expected: the wizard moves to Step 2 of 2 with the "Create organization" heading.
  5. Click the "Back" button.
  6. Expected: the wizard returns to Step 1 of 2 with the "Set personal info" heading.
  7. Expected: the First Name and Last Name fields still contain the values entered in step 2, the language is still "English", and the avatar still shows the uploaded profilePicture.jpeg.
  • Spec: playwright/tests/integration/onboarding.spec.ts (line 92)