Add e2e and unit tests for i18n coverage and POS workflows:
- Introduced i18n key usage validation with `tests/e2e/i18n.views.spec.ts` for deterministic locale coverage. - Added `viewI18nKeyScanner` utility to scan and validate view translation keys. - Created `PosDepartmentStep1` unit tests for duplicate warnings and booking selection flow. - Enhanced POS mobile popup with `SelectOrderBookingPopupProps` and new header close options. - Updated e2e tests with scenarios to verify booking selections, duplicate handling, and locale alignment. - Added new `test:e2e:i18n:views` npm script for targeted i18n test execution.
This commit is contained in:
@@ -340,6 +340,7 @@
|
||||
"details": "Detaljer",
|
||||
"download": "Last ned",
|
||||
"duplicate_order_warning": "Er du sikker på, at dette ikke allerede er oprettet? Mulige dubletter af denne ordre er fundet. Du kan fortsætte med at oprette ordren eller se ordredetaljer.",
|
||||
"hide_order_details": "Skjul ordredetaljer",
|
||||
"duplicates": {
|
||||
"subtitle": "Håndter dubletter",
|
||||
"title": "Dubletter"
|
||||
|
||||
Reference in New Issue
Block a user