Skip to content

175 — should create new client with only required data

Description

Verifies that a client can be created with only the mandatory fields (title and code) and that optional values like industry, ownership and start date display as empty placeholders ("—" / "not set") in the list and on the detail page.

Preconditions

  • Signed-in user inside a freshly registered organization
  • Browser is on the Clients overview page

Steps

  1. Click Add client, enter the title and code prefix, and clear the pre-filled start date using its x button.
  2. Click Create. Expected: a "created" confirmation toast appears.
  3. Reveal the optional code and ownershipType columns. Expected: the new client row shows the title and code, while industry and ownership type both render as .
  4. Open the client detail. Expected: the address and the "Since" date both render as "not set".
  • Spec: playwright/tests/integration/client.spec.ts (line 229)