Files
myeasycms-v2/apps/e2e/tests/sepa-batch.spec.ts
2026-03-29 19:44:57 +02:00

26 lines
686 B
TypeScript

/**
* E2E Test: SEPA Batch Processing
*/
import { test, expect } from '@playwright/test';
test.describe('SEPA / Finance', () => {
test('create SEPA direct debit batch, add items, generate XML', async ({ page }) => {
// Create batch
// Add items with valid IBANs
// Generate XML
// Verify pain.008.003.02 format
// Verify amounts sum correctly
});
test('IBAN validation rejects invalid IBANs', async ({ page }) => {
// Try to add item with invalid IBAN
// Verify rejection
});
test('invoice creation with line items', async ({ page }) => {
// Create invoice
// Add 3 line items
// Verify subtotal, tax, total calculations
});
});