Skip to content

309 — should fill footer note by selected language

Description

Verifies that the Fill by language action populates the invoice footer note with the correct localized legal-default-interest text for each supported language, and that toggling the footer-note switch shows/hides the field.

Preconditions

  • Signed-in tenant with Client 01 and the user on the Invoices list page.

Steps

  1. Click Create invoice, pick Client 01, click Next.
  2. Toggle Footer note off. Expected: the footer note field is hidden. Toggle it back on. Expected: the field is visible.
  3. Set language to Português (Portuguese) and click Fill by language. Expected: the footer note reads Informamos que, em caso de descumprimento da data de vencimento indicada na fatura, poderemos cobrar juros de mora legais.
  4. Set language to Español (Spanish) and click Fill by language. Expected: the footer note reads Le informamos que, en caso de incumplimiento de la fecha de vencimiento indicada en la factura, podremos cobrarle intereses de demora legales.
  5. Set language to Deutsch (German) and click Fill by language. Expected: the footer note reads Bitte beachten Sie, dass wir im Falle der Nichteinhaltung des auf der Rechnung angegebenen Fälligkeitsdatums gesetzliche Verzugszinsen berechnen können.
  6. Set language to English and click Fill by language. Expected: the footer note reads Please be advised that in the event of non-compliance with the due date stated on the invoice, we may charge you statutory default interest.
  • Spec: playwright/tests/integration/invoice.spec.ts (line 286)