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 01and the user on the Invoices list page.
Steps¶
- Click Create invoice, pick
Client 01, click Next. - Toggle Footer note off. Expected: the footer note field is hidden. Toggle it back on. Expected: the field is visible.
- Set language to
Português (Portuguese)and click Fill by language. Expected: the footer note readsInformamos que, em caso de descumprimento da data de vencimento indicada na fatura, poderemos cobrar juros de mora legais. - Set language to
Español (Spanish)and click Fill by language. Expected: the footer note readsLe informamos que, en caso de incumplimiento de la fecha de vencimiento indicada en la factura, podremos cobrarle intereses de demora legales. - Set language to
Deutsch (German)and click Fill by language. Expected: the footer note readsBitte beachten Sie, dass wir im Falle der Nichteinhaltung des auf der Rechnung angegebenen Fälligkeitsdatums gesetzliche Verzugszinsen berechnen können. - Set language to
Englishand click Fill by language. Expected: the footer note readsPlease be advised that in the event of non-compliance with the due date stated on the invoice, we may charge you statutory default interest.
Related¶
- Spec:
playwright/tests/integration/invoice.spec.ts(line 286)