Skip to content

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 mainProfile data only).
  • The Account Settings → Personal Info page is open.
  • A test image file profilePicture.jpeg is available locally.

Steps

  1. Click "Upload a new photo" and pick profilePicture.jpeg. Expected: an "Updated" confirmation toast appears.
  2. Change the First name to "FirstName" and click Save. Expected: a "Saved" confirmation toast appears.
  3. Reload the page. Expected: the First name field still reads "FirstName" and every avatar image still matches the uploaded profilePicture.jpeg pixel-wise.
  • Spec: playwright/tests/integration/personal.info.spec.ts (line 173)