# 2. Path Assignment & Tracking — Test Cases

User Type: **Training Institute**
Source: *Mi Digital Academy - Education CRM Features Document*
Spec: path_assignment_tracking.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 |
|---------|--------------------|----------|
| 2.1 | Assign a path to students | TC-TI-8-02-001 |
| 2.1 | Assign a path to groups | TC-TI-8-02-002 |
| 2.1 | Start date and deadline | TC-TI-8-02-003 |
| 2.1 | Assignment applied | TC-TI-8-02-004 |
| 2.1 | Students see the assigned path | TC-TI-8-02-005 |
| 2.1 | Assignment list | TC-TI-8-02-006 |
| 2.1 | Assignment available on web and mobile | TC-TI-8-02-007 |
| 2.1 | Assignment event logging (assigned) | TC-TI-8-02-008 |
| 2.1 | Audit logging of the path assignment | TC-TI-8-02-009 |
| 2.1 | Rule: A student can have multiple paths assigned. | TC-TI-8-02-001 |
| 2.1 | Rule: A deadline is enforced on the path. | TC-TI-8-02-002 |
| 2.1 | Rule: Assignment events (assigned) are logged with the account and the timestamp. | TC-TI-8-02-003 |
| 2.1 | Rule: The path assignment is audit-logged with the account and the timestamp. | TC-TI-8-02-004 |
| 2.2 | Path progress per student | TC-TI-8-02-010 |
| 2.2 | Current step shown | TC-TI-8-02-011 |
| 2.2 | Steps completed shown | TC-TI-8-02-012 |
| 2.2 | Time spent shown | TC-TI-8-02-013 |
| 2.2 | Students behind highlighted | TC-TI-8-02-014 |
| 2.2 | Progress per path | TC-TI-8-02-015 |
| 2.2 | Tracking available on web and mobile | TC-TI-8-02-016 |
| 2.2 | Tracking event logging (viewed) | TC-TI-8-02-017 |
| 2.2 | Audit logging of the path progress tracking | TC-TI-8-02-018 |
| 2.2 | Rule: A student behind the pace is highlighted. | TC-TI-8-02-010 |
| 2.2 | Rule: The progress updates as students complete steps. | TC-TI-8-02-011 |
| 2.2 | Rule: Tracking events (viewed) are logged with the account and the timestamp. | TC-TI-8-02-012 |
| 2.2 | Rule: The path progress tracking is audit-logged with the account and the timestamp. | TC-TI-8-02-013 |
| 2.3 | Path completion list | TC-TI-8-02-019 |
| 2.3 | Completion date shown | TC-TI-8-02-020 |
| 2.3 | Certificate issued on completion | TC-TI-8-02-021 |
| 2.3 | Reissue a certificate | TC-TI-8-02-022 |
| 2.3 | Completion history | TC-TI-8-02-023 |
| 2.3 | Completion available on web and mobile | TC-TI-8-02-024 |
| 2.3 | Completion event logging (completed, certificate reissued) | TC-TI-8-02-025 |
| 2.3 | Audit logging of the path completion and certification | TC-TI-8-02-026 |
| 2.3 | Rule: A certificate is issued only on full completion. | TC-TI-8-02-019 |
| 2.3 | Rule: A reissued certificate is logged. | TC-TI-8-02-020 |
| 2.3 | Rule: Completion events (completed, certificate reissued) are logged with the account and the timestamp. | TC-TI-8-02-021 |
| 2.3 | Rule: The path completion and certification is audit-logged with the account and the timestamp. | TC-TI-8-02-022 |

## 2.1 Assign Path to Students & Groups

### TC-TI-8-02-001 — Assign a path to students
**Type:** Positive
**Covers:** 2.1 → Assign a path to students; Rule: A student can have multiple paths assigned.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Assign a path to students.
2. Observe the result and verify the full behavior: Assign a path to students.
**Expected Result:** Assign a path to students — delivered exactly as documented.
**Priority:** Critical

### TC-TI-8-02-002 — Assign a path to groups
**Type:** Positive
**Covers:** 2.1 → Assign a path to groups; Rule: A deadline is enforced on the path.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Assign a path to groups.
2. Observe the result and verify the full behavior: Assign a path to groups.
**Expected Result:** Assign a path to groups — delivered exactly as documented.
**Priority:** High

### TC-TI-8-02-003 — Start date and deadline
**Type:** Positive
**Covers:** 2.1 → Start date and deadline; Rule: Assignment events (assigned) are logged with the account and the timestamp.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Start date and deadline.
2. Observe the result and verify the full behavior: Start date and deadline.
**Expected Result:** Start date and deadline — delivered exactly as documented.
**Priority:** High

### TC-TI-8-02-004 — Assignment applied
**Type:** Positive
**Covers:** 2.1 → Assignment applied; Rule: The path assignment is audit-logged with the account and the timestamp.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Assignment applied.
2. Observe the result and verify the full behavior: Assignment applied.
**Expected Result:** Assignment applied — delivered exactly as documented.
**Priority:** High

### TC-TI-8-02-005 — Students see the assigned path
**Type:** Positive
**Covers:** 2.1 → Students see the assigned path
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Students see the assigned path.
2. Observe the result and verify the full behavior: Students see the assigned path.
**Expected Result:** Students see the assigned path — delivered exactly as documented.
**Priority:** High

### TC-TI-8-02-006 — Assignment list
**Type:** Positive
**Covers:** 2.1 → Assignment list
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Assignment list.
2. Observe the result and verify the full behavior: Assignment list.
**Expected Result:** Assignment list — delivered exactly as documented.
**Priority:** High

### TC-TI-8-02-007 — Assignment available on web and mobile
**Type:** Positive
**Covers:** 2.1 → Assignment available on web and mobile
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Assignment available on web and mobile.
2. Observe the result and verify the full behavior: Assignment available on web and mobile.
**Expected Result:** Assignment available on web and mobile — delivered exactly as documented.
**Priority:** High

### TC-TI-8-02-008 — Assignment event logging (assigned)
**Type:** Positive
**Covers:** 2.1 → Assignment event logging (assigned)
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Assignment event logging (assigned).
2. Observe the result and verify the full behavior: Assignment event logging (assigned).
**Expected Result:** Assignment event logging (assigned) — delivered exactly as documented.
**Priority:** High

### TC-TI-8-02-009 — Audit logging of the path assignment
**Type:** Positive
**Covers:** 2.1 → Audit logging of the path assignment
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, perform the path assignment action.
2. Open the audit log and verify the entry for the action.
**Expected Result:** The path assignment action is recorded in the audit log with the account and the timestamp.
**Priority:** Critical


## 2.2 Path Progress Tracking

### TC-TI-8-02-010 — Path progress per student
**Type:** Positive
**Covers:** 2.2 → Path progress per student; Rule: A student behind the pace is highlighted.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Path progress per student.
2. Observe the result and verify the full behavior: Path progress per student.
**Expected Result:** Path progress per student — delivered exactly as documented.
**Priority:** Critical

### TC-TI-8-02-011 — Current step shown
**Type:** Positive
**Covers:** 2.2 → Current step shown; Rule: The progress updates as students complete steps.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Current step shown.
2. Observe the result and verify the full behavior: Current step shown.
**Expected Result:** Current step shown — delivered exactly as documented.
**Priority:** High

### TC-TI-8-02-012 — Steps completed shown
**Type:** Positive
**Covers:** 2.2 → Steps completed shown; Rule: Tracking events (viewed) are logged with the account and the timestamp.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Steps completed shown.
2. Observe the result and verify the full behavior: Steps completed shown.
**Expected Result:** Steps completed shown — delivered exactly as documented.
**Priority:** High

### TC-TI-8-02-013 — Time spent shown
**Type:** Positive
**Covers:** 2.2 → Time spent shown; Rule: The path progress tracking is audit-logged with the account and the timestamp.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Time spent shown.
2. Observe the result and verify the full behavior: Time spent shown.
**Expected Result:** Time spent shown — delivered exactly as documented.
**Priority:** High

### TC-TI-8-02-014 — Students behind highlighted
**Type:** Positive
**Covers:** 2.2 → Students behind highlighted
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Students behind highlighted.
2. Observe the result and verify the full behavior: Students behind highlighted.
**Expected Result:** Students behind highlighted — delivered exactly as documented.
**Priority:** High

### TC-TI-8-02-015 — Progress per path
**Type:** Positive
**Covers:** 2.2 → Progress per path
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Progress per path.
2. Observe the result and verify the full behavior: Progress per path.
**Expected Result:** Progress per path — delivered exactly as documented.
**Priority:** High

### TC-TI-8-02-016 — Tracking available on web and mobile
**Type:** Positive
**Covers:** 2.2 → Tracking available on web and mobile
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Tracking available on web and mobile.
2. Observe the result and verify the full behavior: Tracking available on web and mobile.
**Expected Result:** Tracking available on web and mobile — delivered exactly as documented.
**Priority:** High

### TC-TI-8-02-017 — Tracking event logging (viewed)
**Type:** Positive
**Covers:** 2.2 → Tracking event logging (viewed)
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Tracking event logging (viewed).
2. Observe the result and verify the full behavior: Tracking event logging (viewed).
**Expected Result:** Tracking event logging (viewed) — delivered exactly as documented.
**Priority:** High

### TC-TI-8-02-018 — Audit logging of the path progress tracking
**Type:** Positive
**Covers:** 2.2 → Audit logging of the path progress tracking
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, perform the path progress tracking action.
2. Open the audit log and verify the entry for the action.
**Expected Result:** The path progress tracking action is recorded in the audit log with the account and the timestamp.
**Priority:** Critical


## 2.3 Path Completion & Certification

### TC-TI-8-02-019 — Path completion list
**Type:** Positive
**Covers:** 2.3 → Path completion list; Rule: A certificate is issued only on full completion.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Path completion list.
2. Observe the result and verify the full behavior: Path completion list.
**Expected Result:** Path completion list — delivered exactly as documented.
**Priority:** Critical

### TC-TI-8-02-020 — Completion date shown
**Type:** Positive
**Covers:** 2.3 → Completion date shown; Rule: A reissued certificate is logged.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Completion date shown.
2. Observe the result and verify the full behavior: Completion date shown.
**Expected Result:** Completion date shown — delivered exactly as documented.
**Priority:** High

### TC-TI-8-02-021 — Certificate issued on completion
**Type:** Positive
**Covers:** 2.3 → Certificate issued on completion; Rule: Completion events (completed, certificate reissued) are logged with the account and the timestamp.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Certificate issued on completion.
2. Observe the result and verify the full behavior: Certificate issued on completion.
**Expected Result:** Certificate issued on completion — delivered exactly as documented.
**Priority:** High

### TC-TI-8-02-022 — Reissue a certificate
**Type:** Positive
**Covers:** 2.3 → Reissue a certificate; Rule: The path completion and certification is audit-logged with the account and the timestamp.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Reissue a certificate.
2. Observe the result and verify the full behavior: Reissue a certificate.
**Expected Result:** Reissue a certificate — delivered exactly as documented.
**Priority:** High

### TC-TI-8-02-023 — Completion history
**Type:** Positive
**Covers:** 2.3 → Completion history
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Completion history.
2. Observe the result and verify the full behavior: Completion history.
**Expected Result:** Completion history — delivered exactly as documented.
**Priority:** High

### TC-TI-8-02-024 — Completion available on web and mobile
**Type:** Positive
**Covers:** 2.3 → Completion available on web and mobile
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Completion available on web and mobile.
2. Observe the result and verify the full behavior: Completion available on web and mobile.
**Expected Result:** Completion available on web and mobile — delivered exactly as documented.
**Priority:** High

### TC-TI-8-02-025 — Completion event logging (completed, certificate reissued)
**Type:** Positive
**Covers:** 2.3 → Completion event logging (completed, certificate reissued)
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Completion event logging (completed, certificate reissued).
2. Observe the result and verify the full behavior: Completion event logging (completed, certificate reissued).
**Expected Result:** Completion event logging (completed, certificate reissued) — delivered exactly as documented.
**Priority:** High

### TC-TI-8-02-026 — Audit logging of the path completion and certification
**Type:** Positive
**Covers:** 2.3 → Audit logging of the path completion and certification
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, perform the path completion and certification action.
2. Open the audit log and verify the entry for the action.
**Expected Result:** The path completion and certification action is recorded in the audit log with the account and the timestamp.
**Priority:** Critical
