You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New suite apps/e2e/tests/invoicing/ (unattended - source orders synthesized via a REST source, KSeF test env + inFakt sandbox as external systems). Scenarios:
inFakt provider run: issue -> submitted -> accepted via inFakt (observed E2E latency ~90 s); the invoice carries the shipping line and totals match the order (reuse assertInvoiceAmounts).
Payment marking, both directions: mark-as-paid in OL propagates to inFakt (PaymentMarker); the inFakt marked-as-paid webhook updates OL.
Bulk issue + resend + e-mail: bulk issuance from the orders list; resend a rejected document; e-mail send affordance.
Problem / Context
S8 covers a single invoicing configuration: KSeF direct, one VAT document, happy path. Recently merged and untested at the E2E level:
PaymentMarker(feat(invoicing): outbound mark-as-paid (PaymentMarker) for inFakt #1475), plus the UX batch (bulk issue, resend-to-KSeF, e-mail - [FEATURE] Integration/Frontend — Infakt: send invoice to buyer by email (one click, no inFakt dashboard) #1353-[FEATURE] Integration/Frontend — Infakt: 'Resend to KSeF' action for rejected invoices (adapter method exists) #1356).CorrectionIssuerKOR path (Wire CorrectionIssuer capability onto KsefInvoicingAdapter #1288) with the issuance-time line snapshot semantics ([TECH-DEBT] CORE — Persist issuance-time line snapshot on InvoiceRecord for safe KSeF corrections #1297).BankAccountsReader/BankAccountDefaultSetter([TECH-DEBT] Integration — Infakt payment_method hardcoded and inconsistent between issueInvoice/issueCorrection #1303 follow-up).Proposed Solution
New suite
apps/e2e/tests/invoicing/(unattended - source orders synthesized via a REST source, KSeF test env + inFakt sandbox as external systems). Scenarios:assertInvoiceAmounts).PaymentMarker); the inFakt marked-as-paid webhook updates OL.issuedLineSnapshot, [TECH-DEBT] CORE — Persist issuance-time line snapshot on InvoiceRecord for safe KSeF corrections #1297), not the order's current state.Classification
Type: DX
Layer: Test infrastructure (
apps/e2e)File(s):
apps/e2e/tests/invoicing/*.spec.ts,apps/e2e/src/pages/invoice-panel.page.ts,apps/e2e/src/support/parity.ts,apps/e2e/src/api/api-client.tsDependencies
1479-apps-e2e-playwright-framework(PR feat(e2e): apps/e2e Playwright framework + golden paths S1-S4 (unattended) and S0-S9 (attended, all 6 systems) #1480).Assumptions
Acceptance Criteria
1479-apps-e2e-playwright-frameworkPart of epic #1570.