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¶
- Dismiss the "Recover change" modal by clicking Cancel if it appears.
- Click "Add address" and fill the full address form with
orgData.address. - Click Save. Expected: the "Organization updated" success toast appears.
- Reload the page so the saved address is loaded from the server.
- Trigger the delete-address action to remove the whole address block.
- Click Save. Expected: the "Organization updated" success toast appears.
- Reload the page. Expected: the Country field (and the rest of the address block) is no longer visible — the address has been deleted.
Related¶
- Spec:
playwright/tests/integration/organization.info.spec.ts(line 110)