Skip to content

366 — should delete address

Description

Verifies the full delete-address flow: an address can be added, saved, and then completely removed, with the removal also persisting after 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. Click "Add address" and fill the full address form with orgData.address.
  3. Click Save. Expected: the "Organization updated" success toast appears.
  4. Reload the page so the saved address is loaded from the server.
  5. Trigger the delete-address action to remove the whole address block.
  6. Click Save. Expected: the "Organization updated" success toast appears.
  7. Reload the page. Expected: the Country field (and the rest of the address block) is no longer visible — the address has been deleted.
  • Spec: playwright/tests/integration/organization.info.spec.ts (line 110)