326 — numbering preview: YY + month + END placement, hyphen, no prefix¶
Description¶
Verifies that the invoice numbering-sequence preview correctly renders this combination — 2-digit year (YY), with month, serial number at the END, hyphen separator, 4 serial digits, no prefix — and that the sequence can be saved and confirmed.
Preconditions¶
- Signed-in tenant on the Invoice settings page.
Steps¶
- Click Edit numbering sequence.
- Apply the sequence: year format
YY, Show month on, serial placement at the End, 4 serial digits, separator-(hyphen), no prefix. - Expected: the live preview matches the value built by
buildInvoicePreviewfor this sequence (e.g.<YY>-<MM>-0001). - Click Save on the numbering sequence editor. Expected: the numbering-sequence update confirmation prompt appears.
- Click Confirm. Expected: the new numbering sequence is saved without error.
Related¶
- Spec:
playwright/tests/integration/invoice.spec.ts(line 789)