355 — should upload profile image, logout and check image¶
Description¶
Verifies that the uploaded profile avatar is persisted on the server across logout and re-login, while the locally typed name fields are not retained (they reset to empty).
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¶
- Upload
profilePicture.jpegas the profile avatar. Expected: an "Updated" toast appears. - Fill in the First Name and Last Name fields with a generated first and last name.
- Click "Log out" from the wizard.
- Log back in with the same email and password.
- Expected: the user lands back on Step 1 of 2 with the "Set personal info" heading.
- Expected: the First Name and Last Name fields are empty (these are local form state and reset on logout).
- Expected: the language selector still shows "English" and the avatar still shows the previously uploaded
profilePicture.jpeg(the image is stored server-side).
Related¶
- Spec:
playwright/tests/integration/onboarding.spec.ts(line 110)