Skip to content

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

  1. Upload companyLogo.png as the organization logo. Expected: an "Updated" toast appears and the logo preview matches the original file.
  2. Click the delete (X) button on the organization logo.
  3. Expected: an "Updated" confirmation toast appears.
  4. Reload the page.
  5. Expected: the organization logo slot is empty — no logo image is shown.
  • Spec: playwright/tests/integration/onboarding.spec.ts (line 215)