Initial state for GitNexus analysis
This commit is contained in:
25
apps/e2e/tests/course-enrollment.spec.ts
Normal file
25
apps/e2e/tests/course-enrollment.spec.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* E2E Test: Course Enrollment
|
||||
*/
|
||||
import { test, expect } from '@playwright/test';
|
||||
|
||||
test.describe('Course Management', () => {
|
||||
test('create course, enroll participant, check capacity, waitlist', async ({ page }) => {
|
||||
// Create course with capacity 2
|
||||
// Enroll participant 1 → status: enrolled
|
||||
// Enroll participant 2 → status: enrolled
|
||||
// Enroll participant 3 → status: waitlisted (capacity full)
|
||||
});
|
||||
|
||||
test('course calendar view shows sessions', async ({ page }) => {
|
||||
// Create course with sessions
|
||||
// Navigate to calendar
|
||||
// Verify sessions visible
|
||||
});
|
||||
|
||||
test('attendance tracking', async ({ page }) => {
|
||||
// Create course + session + participants
|
||||
// Mark attendance
|
||||
// Verify attendance persists
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user