FactuGES_ERP/tests/e2e/docker-compose.yml
David da362fef64 feat(e2e): implement end-to-end testing framework with database preparation and lifecycle management
- Add E2ESchemaDatabaseConfig interface for database configuration validation.
- Implement assertE2ESchemaDatabaseConfig function to enforce schema requirements.
- Create prepareE2ESchema function to handle schema preparation and initialization.
- Develop E2E lifecycle management functions to provision, prepare, and run tests.
- Introduce Docker Compose setup for E2E database environment.
- Add Playwright configuration for E2E testing.
- Implement various test cases to validate E2E schema preparation and lifecycle.
- Create utility functions for environment variable management and database assertions.
- Establish smoke tests to verify initial data setup and integrity.
2026-09-22 16:49:08 +02:00

16 lines
408 B
YAML

services:
db:
image: mariadb:lts-noble
environment:
MARIADB_DATABASE: ${E2E_DB_NAME}
MARIADB_USER: ${E2E_DB_USER}
MARIADB_PASSWORD: ${E2E_DB_PASS}
MARIADB_ROOT_PASSWORD: ${E2E_DB_ROOT_PASS}
ports:
- "127.0.0.1::3306"
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
interval: 1s
timeout: 5s
retries: 60