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¶
- Click Add client and enter the title and code prefix.
- 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.
- Open the new client's detail. Expected: every billing field shows the value entered, and the header reads
"<city>, Czechia". - Click Delete billing details and then Save. Expected: an "updated" confirmation toast appears.
- Reload the page. Expected: the Billing details section is disabled and the address is shown as "not set".
Related¶
- Spec:
playwright/tests/integration/client.spec.ts(line 187)