406 — should upload avatar, change some field save and check it¶
Description¶
Verifies that an uploaded avatar survives a subsequent profile edit + save (i.e. saving a name change doesn't wipe the photo).
Preconditions¶
- A fresh user is signed in with no avatar (seeded
mainProfiledata only). - The Account Settings → Personal Info page is open.
- A test image file
profilePicture.jpegis available locally.
Steps¶
- Click "Upload a new photo" and pick
profilePicture.jpeg. Expected: an "Updated" confirmation toast appears. - Change the First name to "FirstName" and click Save. Expected: a "Saved" confirmation toast appears.
- Reload the page. Expected: the First name field still reads "FirstName" and every avatar image still matches the uploaded
profilePicture.jpegpixel-wise.
Related¶
- Spec:
playwright/tests/integration/personal.info.spec.ts(line 173)