Initial commit: unionflow-mobile-apps
Application Flutter complète (sans build artifacts). Signed-off-by: lions dev Team
This commit is contained in:
37
integration_test/helpers/test_config.dart
Normal file
37
integration_test/helpers/test_config.dart
Normal file
@@ -0,0 +1,37 @@
|
||||
/// 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;
|
||||
}
|
||||
Reference in New Issue
Block a user