fix: QA audit — lint cleanup, i18n fixes, module visibility, sidebar UX
- Fix 97 lint errors → 0 (unused imports, params, variables across 40+ files) - Fix i18n key format: colon → dot notation for next-intl compatibility - Add missing i18n keys (routes.application, routes.home, confirm) - Fix module visibility: sidebar now respects per-account DB features - Fix inject function: use dot-notation keys, add collapsed:true defaults - Fix ConfirmDialog: use useTranslations instead of hardcoded German defaults - Fix events page: replace placeholder 'Beschreibung' with proper description - Fix Dockerfile: add NEXT_PUBLIC_CI ARG for Docker builds - Collapse secondary sidebar sections by default for cleaner UX
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
/**
|
||||
* E2E Test: SEPA Batch Processing
|
||||
*/
|
||||
import { test, expect } from '@playwright/test';
|
||||
import { test } from '@playwright/test';
|
||||
|
||||
test.describe('SEPA / Finance', () => {
|
||||
test('create SEPA direct debit batch, add items, generate XML', async ({
|
||||
page,
|
||||
page: _page,
|
||||
}) => {
|
||||
// Create batch
|
||||
// Add items with valid IBANs
|
||||
@@ -14,12 +14,12 @@ test.describe('SEPA / Finance', () => {
|
||||
// Verify amounts sum correctly
|
||||
});
|
||||
|
||||
test('IBAN validation rejects invalid IBANs', async ({ page }) => {
|
||||
test('IBAN validation rejects invalid IBANs', async ({ page: _page }) => {
|
||||
// Try to add item with invalid IBAN
|
||||
// Verify rejection
|
||||
});
|
||||
|
||||
test('invoice creation with line items', async ({ page }) => {
|
||||
test('invoice creation with line items', async ({ page: _page }) => {
|
||||
// Create invoice
|
||||
// Add 3 line items
|
||||
// Verify subtotal, tax, total calculations
|
||||
|
||||
Reference in New Issue
Block a user