Files
unionflow-mobile-apps/test_integration/helpers/test_config.dart
dahoud d094d6db9c Initial commit: unionflow-mobile-apps
Application Flutter complète (sans build artifacts).

Signed-off-by: lions dev Team
2026-03-15 16:30:08 +00:00

38 lines
1.2 KiB
Dart

/// Configuration pour les tests d'intégration
library test_config;
/// Configuration des tests d'intégration
class TestConfig {
/// URL de base de l'API backend (environnement de test)
static const String apiBaseUrl = 'http://localhost:8085';
/// URL de Keycloak (environnement de test)
static const String keycloakUrl = 'http://localhost:8180';
/// Realm Keycloak
static const String keycloakRealm = 'unionflow';
/// Client ID Keycloak
static const String keycloakClientId = 'unionflow-mobile';
/// Credentials utilisateur de test (SUPER_ADMIN)
static const String testAdminUsername = 'admin@unionflow.test';
static const String testAdminPassword = 'Admin@123';
/// Credentials utilisateur de test (ORG_ADMIN)
static const String testOrgAdminUsername = 'orgadmin@unionflow.test';
static const String testOrgAdminPassword = 'OrgAdmin@123';
/// ID d'organisation de test
static const String testOrganizationId = '00000000-0000-0000-0000-000000000001';
/// Timeout pour les requêtes HTTP (ms)
static const int httpTimeout = 30000;
/// Délai d'attente entre les tests (ms)
static const int delayBetweenTests = 500;
/// Active les logs détaillés
static const bool enableDetailedLogs = true;
}