Skip to content

174 — should fill billing details and then delete it

Description

Verifies that the Billing details block (tax IDs and full postal address) can be saved on a new client and afterwards cleared via the "delete billing details" action, which disables the section and removes the address from the header.

Preconditions

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

Steps

  1. Click Add client and enter the title and code prefix.
  2. Open the Billing details section and fill in VAT ID, business ID, country (Czechia), city, street, second line, third line, postcode, state and additional address details. Click Create. Expected: a "created" confirmation toast appears.
  3. Open the new client's detail. Expected: every billing field shows the value entered, and the header reads "<city>, Czechia".
  4. Click Delete billing details and then Save. Expected: an "updated" confirmation toast appears.
  5. Reload the page. Expected: the Billing details section is disabled and the address is shown as "not set".
  • Spec: playwright/tests/integration/client.spec.ts (line 187)