Skip to content

368 — should fail when fill and then delete one of required fields

Description

Verifies that clearing a required address field (City) on an already-saved address blocks the save and shows a "required" validation error, even though the rest of the address is filled in.

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. Clear the City field (set it to empty).
  6. Click Save. Expected: a required-field error is shown next to the City field and the save does not succeed.
  • Spec: playwright/tests/integration/organization.info.spec.ts (line 150)