- Configure workspace Git repository with comprehensive .gitignore - Add Odoo as submodule for ERP reference code - Include documentation: SETUP.md, GIT-STRUCTURE.md - Add gitignore templates for projects (backend, frontend, database) - Structure supports independent repos per project/subproject level Workspace includes: - core/ - Reusable patterns, modules, orchestration system - projects/ - Active projects (erp-suite, gamilit, trading-platform, etc.) - knowledge-base/ - Reference code and patterns (includes Odoo submodule) - devtools/ - Development tools and templates - customers/ - Client implementations template 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
75 lines
1.7 KiB
TypeScript
75 lines
1.7 KiB
TypeScript
/**
|
|
* Test Users Fixtures
|
|
*
|
|
* Define test users for E2E tests.
|
|
* These should correspond to users in your test database.
|
|
*/
|
|
|
|
export interface TestUser {
|
|
email: string;
|
|
password: string;
|
|
role: 'student' | 'teacher' | 'admin';
|
|
displayName?: string;
|
|
expectedDashboard: string;
|
|
}
|
|
|
|
/**
|
|
* Test users for E2E tests
|
|
*
|
|
* IMPORTANT: These users should be seeded in your test database
|
|
* before running E2E tests.
|
|
*/
|
|
export const testUsers: Record<string, TestUser> = {
|
|
student: {
|
|
email: 'student@test.gamilit.com',
|
|
password: 'TestStudent123!',
|
|
role: 'student',
|
|
displayName: 'Test Student',
|
|
expectedDashboard: '/student/dashboard',
|
|
},
|
|
teacher: {
|
|
email: 'teacher@test.gamilit.com',
|
|
password: 'TestTeacher123!',
|
|
role: 'teacher',
|
|
displayName: 'Test Teacher',
|
|
expectedDashboard: '/teacher/dashboard',
|
|
},
|
|
admin: {
|
|
email: 'admin@test.gamilit.com',
|
|
password: 'TestAdmin123!',
|
|
role: 'admin',
|
|
displayName: 'Test Admin',
|
|
expectedDashboard: '/admin/dashboard',
|
|
},
|
|
};
|
|
|
|
/**
|
|
* Test Exercise IDs
|
|
* These should match exercises in your test database
|
|
*/
|
|
export const testExercises = {
|
|
quizTikTok: {
|
|
id: 'quiz-tiktok-marie-curie',
|
|
moduleId: 'module-4',
|
|
title: 'Quiz TikTok: Marie Curie',
|
|
type: 'quiz-tiktok',
|
|
},
|
|
infografia: {
|
|
id: 'infografia-marie-curie',
|
|
moduleId: 'module-4',
|
|
title: 'Infografía Interactiva: Marie Curie',
|
|
type: 'infografia-interactiva',
|
|
},
|
|
};
|
|
|
|
/**
|
|
* Test Classroom Data
|
|
*/
|
|
export const testClassrooms = {
|
|
activeClassroom: {
|
|
id: 'classroom-test-1',
|
|
name: 'Test Classroom 2024',
|
|
code: 'TEST2024',
|
|
},
|
|
};
|