359 — should upload org image and delete it¶
Description¶
Verifies that the organization logo uploaded during onboarding Step 2 can be removed, and that the deletion is persisted after a page reload.
Preconditions¶
- A freshly registered and email-verified user account that has not yet completed onboarding.
- The user has already completed Step 1: name filled in, profile avatar (
profilePicture.jpeg) uploaded, language set to English, and has advanced to Step 2 of 2 ("Create organization").
Steps¶
- Upload
companyLogo.pngas the organization logo. Expected: an "Updated" toast appears and the logo preview matches the original file. - Click the delete (X) button on the organization logo.
- Expected: an "Updated" confirmation toast appears.
- Reload the page.
- Expected: the organization logo slot is empty — no logo image is shown.
Related¶
- Spec:
playwright/tests/integration/onboarding.spec.ts(line 215)