405 — should upload avatar, check it and delete avatar¶
Description¶
Verifies that a user can upload a profile photo, that the image is shown everywhere the avatar appears, and that removing the photo clears it across reloads.
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. - Reload the page. Expected: every avatar image on screen visually matches the uploaded
profilePicture.jpeg(compared pixel-wise at 200×200). - Click "Remove photo". Expected: an "Updated" confirmation toast appears.
- Reload the page. Expected: no avatar image is rendered anywhere on the page.
Related¶
- Spec:
playwright/tests/integration/personal.info.spec.ts(line 161)