Skip to content

308 — should hide bank/symbol fields when payment method is cash

Description

Verifies that switching the payment method to Payment in cash hides the bank-account, constant-symbol, and variable-symbol fields, since those only apply to bank transfers.

Preconditions

  • Signed-in tenant with Client 01, a seeded bank account, and the user on the Invoices list page.

Steps

  1. Click Create invoice, pick Client 01, click Next.
  2. Expected: the bank account field, constant-symbol field, and variable-symbol field are all visible.
  3. Switch the payment method to Payment in cash.
  4. Expected: the bank account field, constant-symbol field, and variable-symbol field are all hidden.
  • Spec: playwright/tests/integration/invoice.spec.ts (line 271)