# 3. Cohort Management — Test Cases

User Type: **Organization**
Source: *Mi Digital Academy - Education CRM Features Document*
Spec: cohort_management.md — every feature, sub-feature, and rule covered

## Test Execution Policy

- Zero tolerance: any deviation from the documented behavior is a defect.
- Every failed test is logged with a Bug ID, the feature, the sub-feature, the expected vs actual result, and the severity; 100% of bugs are fixed before the group passes.
- 100% pass rate is required for the group to be marked complete.

## Coverage Matrix

| Feature | Sub-feature / Rule | Test IDs |
|---------|--------------------|----------|
| 3.1 | Create cohorts within a program | TC-ORG-3-01-001 |
| 3.1 | Enroll users into cohorts | TC-ORG-3-01-002 |
| 3.1 | Cohort progress tracking | TC-ORG-3-01-003 |
| 3.1 | Cohort completion tracking | TC-ORG-3-01-004 |
| 3.1 | Cohort comparison | TC-ORG-3-01-005 |
| 3.1 | Cohort Creation & Tracking available on web and mobile | TC-ORG-3-01-006 |
| 3.1 | cohort creation & tracking event logging (viewed) | TC-ORG-3-01-007 |
| 3.1 | Audit logging of cohort creation & tracking | TC-ORG-3-01-008 |
| 3.1 | Rule: Create cohorts within a program. | TC-ORG-3-01-009 |
| 3.1 | Rule: Enroll users into cohorts. | TC-ORG-3-01-010 |
| 3.1 | Rule: Cohort progress tracking. | TC-ORG-3-01-011 |
| 3.1 | Rule: Cohort completion tracking. | TC-ORG-3-01-012 |
| 3.1 | Rule: Cohort comparison. | TC-ORG-3-01-013 |
| 3.2 | Define program milestones and deadlines | TC-ORG-3-02-014 |
| 3.2 | Milestone progress tracking | TC-ORG-3-02-015 |
| 3.2 | Deadline reminders to users | TC-ORG-3-02-016 |
| 3.2 | Milestone delay alerts | TC-ORG-3-02-017 |
| 3.2 | Milestone history per program | TC-ORG-3-02-018 |
| 3.2 | Program Milestones & Deadlines available on web and mobile | TC-ORG-3-02-019 |
| 3.2 | program milestones & deadlines event logging (viewed) | TC-ORG-3-02-020 |
| 3.2 | Audit logging of program milestones & deadlines | TC-ORG-3-02-021 |
| 3.2 | Rule: Define program milestones and deadlines. | TC-ORG-3-02-022 |
| 3.2 | Rule: Milestone progress tracking. | TC-ORG-3-02-023 |
| 3.2 | Rule: Deadline reminders to users. | TC-ORG-3-02-024 |
| 3.2 | Rule: Milestone delay alerts. | TC-ORG-3-02-025 |
| 3.2 | Rule: Milestone history per program. | TC-ORG-3-02-026 |

## 3.1 Cohort Creation & Tracking

### TC-ORG-3-01-001 — Create cohorts within a program
**Type:** Positive
**Covers:** 3.1 → Create cohorts within a program; Rule: Create cohorts within a program.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Create cohorts within a program.
2. Observe the result and verify the full behavior: Create cohorts within a program.
**Expected Result:** Create cohorts within a program — delivered exactly as documented.
**Priority:** Critical

### TC-ORG-3-01-002 — Enroll users into cohorts
**Type:** Positive
**Covers:** 3.1 → Enroll users into cohorts; Rule: Enroll users into cohorts.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Enroll users into cohorts.
2. Observe the result and verify the full behavior: Enroll users into cohorts.
**Expected Result:** Enroll users into cohorts — delivered exactly as documented.
**Priority:** High

### TC-ORG-3-01-003 — Cohort progress tracking
**Type:** Positive
**Covers:** 3.1 → Cohort progress tracking; Rule: Cohort progress tracking.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Cohort progress tracking.
2. Observe the result and verify the full behavior: Cohort progress tracking.
**Expected Result:** Cohort progress tracking — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-3-01-004 — Cohort completion tracking
**Type:** Positive
**Covers:** 3.1 → Cohort completion tracking; Rule: Cohort completion tracking.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Cohort completion tracking.
2. Observe the result and verify the full behavior: Cohort completion tracking.
**Expected Result:** Cohort completion tracking — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-3-01-005 — Cohort comparison
**Type:** Positive
**Covers:** 3.1 → Cohort comparison; Rule: Cohort comparison.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Cohort comparison.
2. Observe the result and verify the full behavior: Cohort comparison.
**Expected Result:** Cohort comparison — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-3-01-006 — Cohort Creation & Tracking available on web and mobile
**Type:** Positive
**Covers:** 3.1 → Cohort Creation & Tracking available on web and mobile; Rule: Create cohorts within a program.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Cohort Creation & Tracking available on web and mobile.
2. Observe the result and verify the full behavior: Cohort Creation & Tracking available on web and mobile.
**Expected Result:** Cohort Creation & Tracking available on web and mobile — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-3-01-007 — cohort creation & tracking event logging (viewed)
**Type:** Positive
**Covers:** 3.1 → cohort creation & tracking event logging (viewed); Rule: Enroll users into cohorts.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: cohort creation & tracking event logging (viewed).
2. Observe the result and verify the full behavior: cohort creation & tracking event logging (viewed).
**Expected Result:** cohort creation & tracking event logging (viewed) — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-3-01-008 — Audit logging of cohort creation & tracking
**Type:** Positive
**Covers:** 3.1 → Audit logging of cohort creation & tracking; Rule: Cohort progress tracking.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Audit logging of cohort creation & tracking.
2. Observe the result and verify the full behavior: Audit logging of cohort creation & tracking.
**Expected Result:** Audit logging of cohort creation & tracking — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-3-01-009 — Rule: Create cohorts within a program.
**Type:** Positive
**Covers:** 3.1 → Rule: Create cohorts within a program.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform the action that triggers the rule: Create cohorts within a program.
2. Observe the result and verify the full behavior: Create cohorts within a program.
**Expected Result:** Create cohorts within a program. — delivered exactly as documented.
**Priority:** Critical

### TC-ORG-3-01-010 — Rule: Enroll users into cohorts.
**Type:** Positive
**Covers:** 3.1 → Rule: Enroll users into cohorts.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform the action that triggers the rule: Enroll users into cohorts.
2. Observe the result and verify the full behavior: Enroll users into cohorts.
**Expected Result:** Enroll users into cohorts. — delivered exactly as documented.
**Priority:** High

### TC-ORG-3-01-011 — Rule: Cohort progress tracking.
**Type:** Positive
**Covers:** 3.1 → Rule: Cohort progress tracking.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform the action that triggers the rule: Cohort progress tracking.
2. Observe the result and verify the full behavior: Cohort progress tracking.
**Expected Result:** Cohort progress tracking. — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-3-01-012 — Rule: Cohort completion tracking.
**Type:** Positive
**Covers:** 3.1 → Rule: Cohort completion tracking.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform the action that triggers the rule: Cohort completion tracking.
2. Observe the result and verify the full behavior: Cohort completion tracking.
**Expected Result:** Cohort completion tracking. — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-3-01-013 — Rule: Cohort comparison.
**Type:** Positive
**Covers:** 3.1 → Rule: Cohort comparison.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform the action that triggers the rule: Cohort comparison.
2. Observe the result and verify the full behavior: Cohort comparison.
**Expected Result:** Cohort comparison. — delivered exactly as documented.
**Priority:** Medium

## 3.2 Program Milestones & Deadlines

### TC-ORG-3-02-014 — Define program milestones and deadlines
**Type:** Positive
**Covers:** 3.2 → Define program milestones and deadlines; Rule: Define program milestones and deadlines.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Define program milestones and deadlines.
2. Observe the result and verify the full behavior: Define program milestones and deadlines.
**Expected Result:** Define program milestones and deadlines — delivered exactly as documented.
**Priority:** Critical

### TC-ORG-3-02-015 — Milestone progress tracking
**Type:** Positive
**Covers:** 3.2 → Milestone progress tracking; Rule: Milestone progress tracking.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Milestone progress tracking.
2. Observe the result and verify the full behavior: Milestone progress tracking.
**Expected Result:** Milestone progress tracking — delivered exactly as documented.
**Priority:** High

### TC-ORG-3-02-016 — Deadline reminders to users
**Type:** Positive
**Covers:** 3.2 → Deadline reminders to users; Rule: Deadline reminders to users.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Deadline reminders to users.
2. Observe the result and verify the full behavior: Deadline reminders to users.
**Expected Result:** Deadline reminders to users — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-3-02-017 — Milestone delay alerts
**Type:** Positive
**Covers:** 3.2 → Milestone delay alerts; Rule: Milestone delay alerts.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Milestone delay alerts.
2. Observe the result and verify the full behavior: Milestone delay alerts.
**Expected Result:** Milestone delay alerts — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-3-02-018 — Milestone history per program
**Type:** Positive
**Covers:** 3.2 → Milestone history per program; Rule: Milestone history per program.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Milestone history per program.
2. Observe the result and verify the full behavior: Milestone history per program.
**Expected Result:** Milestone history per program — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-3-02-019 — Program Milestones & Deadlines available on web and mobile
**Type:** Positive
**Covers:** 3.2 → Program Milestones & Deadlines available on web and mobile; Rule: Define program milestones and deadlines.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Program Milestones & Deadlines available on web and mobile.
2. Observe the result and verify the full behavior: Program Milestones & Deadlines available on web and mobile.
**Expected Result:** Program Milestones & Deadlines available on web and mobile — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-3-02-020 — program milestones & deadlines event logging (viewed)
**Type:** Positive
**Covers:** 3.2 → program milestones & deadlines event logging (viewed); Rule: Milestone progress tracking.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: program milestones & deadlines event logging (viewed).
2. Observe the result and verify the full behavior: program milestones & deadlines event logging (viewed).
**Expected Result:** program milestones & deadlines event logging (viewed) — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-3-02-021 — Audit logging of program milestones & deadlines
**Type:** Positive
**Covers:** 3.2 → Audit logging of program milestones & deadlines; Rule: Deadline reminders to users.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Audit logging of program milestones & deadlines.
2. Observe the result and verify the full behavior: Audit logging of program milestones & deadlines.
**Expected Result:** Audit logging of program milestones & deadlines — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-3-02-022 — Rule: Define program milestones and deadlines.
**Type:** Positive
**Covers:** 3.2 → Rule: Define program milestones and deadlines.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform the action that triggers the rule: Define program milestones and deadlines.
2. Observe the result and verify the full behavior: Define program milestones and deadlines.
**Expected Result:** Define program milestones and deadlines. — delivered exactly as documented.
**Priority:** Critical

### TC-ORG-3-02-023 — Rule: Milestone progress tracking.
**Type:** Positive
**Covers:** 3.2 → Rule: Milestone progress tracking.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform the action that triggers the rule: Milestone progress tracking.
2. Observe the result and verify the full behavior: Milestone progress tracking.
**Expected Result:** Milestone progress tracking. — delivered exactly as documented.
**Priority:** High

### TC-ORG-3-02-024 — Rule: Deadline reminders to users.
**Type:** Positive
**Covers:** 3.2 → Rule: Deadline reminders to users.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform the action that triggers the rule: Deadline reminders to users.
2. Observe the result and verify the full behavior: Deadline reminders to users.
**Expected Result:** Deadline reminders to users. — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-3-02-025 — Rule: Milestone delay alerts.
**Type:** Positive
**Covers:** 3.2 → Rule: Milestone delay alerts.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform the action that triggers the rule: Milestone delay alerts.
2. Observe the result and verify the full behavior: Milestone delay alerts.
**Expected Result:** Milestone delay alerts. — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-3-02-026 — Rule: Milestone history per program.
**Type:** Positive
**Covers:** 3.2 → Rule: Milestone history per program.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform the action that triggers the rule: Milestone history per program.
2. Observe the result and verify the full behavior: Milestone history per program.
**Expected Result:** Milestone history per program. — delivered exactly as documented.
**Priority:** Medium
