Skip to content

372 — should upload logo, change one field, click save and verify organization logo

Description

Verifies that uploading a logo and then editing another organization field (Website) in the same session does not clobber either change: both the logo and the new field value persist after save and reload.

Preconditions

  • Signed in as an admin of a fresh organization.
  • Settings → Organization Info page is open.

Steps

  1. Dismiss the "Recover change" modal by clicking Cancel if it appears.
  2. Trigger the logo upload action and select playwright/files/profilePicture.jpeg from the OS file chooser.
  3. Expected: the generic "updated" success toast appears confirming the logo upload.
  4. Set the Website field to the value Test.
  5. Click Save. Expected: the "Organization updated" success toast appears.
  6. Reload the page. Expected: the Website field still shows Test.
  7. Expected: the displayed organization logo still matches the original profilePicture.jpeg file.
  • Spec: playwright/tests/integration/organization.info.spec.ts (line 197)