# 1. Learning Path Builder — Test Cases

User Type: **Training Institute**
Source: *Mi Digital Academy - Education CRM Features Document*
Spec: learning_path_builder.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 |
|---------|--------------------|----------|
| 1.1 | Create a custom learning path | TC-TI-8-01-001 |
| 1.1 | Name and description | TC-TI-8-01-002 |
| 1.1 | Target audience setting | TC-TI-8-01-003 |
| 1.1 | Add courses and modules in order | TC-TI-8-01-004 |
| 1.1 | Save as draft or publish | TC-TI-8-01-005 |
| 1.1 | Path list | TC-TI-8-01-006 |
| 1.1 | Builder available on web and mobile | TC-TI-8-01-007 |
| 1.1 | Builder event logging (created, published) | TC-TI-8-01-008 |
| 1.1 | Audit logging of the custom learning path creation | TC-TI-8-01-009 |
| 1.1 | Rule: A draft path is not visible to students. | TC-TI-8-01-001 |
| 1.1 | Rule: A published path is visible to the assigned audience. | TC-TI-8-01-002 |
| 1.1 | Rule: Builder events (created, published) are logged with the account and the timestamp. | TC-TI-8-01-003 |
| 1.1 | Rule: The custom learning path creation is audit-logged with the account and the timestamp. | TC-TI-8-01-004 |
| 1.2 | Path step sequencing | TC-TI-8-01-010 |
| 1.2 | Mark prerequisites for later steps | TC-TI-8-01-011 |
| 1.2 | Out-of-order setting | TC-TI-8-01-012 |
| 1.2 | Sequence view | TC-TI-8-01-013 |
| 1.2 | Prerequisite links shown | TC-TI-8-01-014 |
| 1.2 | Reorder steps | TC-TI-8-01-015 |
| 1.2 | Sequencing available on web and mobile | TC-TI-8-01-016 |
| 1.2 | Sequencing event logging (reordered, prerequisite set) | TC-TI-8-01-017 |
| 1.2 | Audit logging of the path sequencing and prerequisites | TC-TI-8-01-018 |
| 1.2 | Rule: A step with unmet prerequisites is locked. | TC-TI-8-01-010 |
| 1.2 | Rule: Reordering updates the prerequisite links. | TC-TI-8-01-011 |
| 1.2 | Rule: Sequencing events (reordered, prerequisite set) are logged with the account and the timestamp. | TC-TI-8-01-012 |
| 1.2 | Rule: The path sequencing and prerequisites is audit-logged with the account and the timestamp. | TC-TI-8-01-013 |
| 1.3 | Path milestones | TC-TI-8-01-019 |
| 1.3 | Completion criteria per step | TC-TI-8-01-020 |
| 1.3 | Overall completion criteria | TC-TI-8-01-021 |
| 1.3 | Milestone list | TC-TI-8-01-022 |
| 1.3 | Criteria types (assessment, activity) | TC-TI-8-01-023 |
| 1.3 | Edit milestones and criteria | TC-TI-8-01-024 |
| 1.3 | Milestones available on web and mobile | TC-TI-8-01-025 |
| 1.3 | Milestones event logging (set, edited) | TC-TI-8-01-026 |
| 1.3 | Audit logging of the path milestones and completion criteria | TC-TI-8-01-027 |
| 1.3 | Rule: A step is complete only when its criteria are met. | TC-TI-8-01-019 |
| 1.3 | Rule: The path is complete when the overall criteria are met. | TC-TI-8-01-020 |
| 1.3 | Rule: Milestones events (set, edited) are logged with the account and the timestamp. | TC-TI-8-01-021 |
| 1.3 | Rule: The path milestones and completion criteria is audit-logged with the account and the timestamp. | TC-TI-8-01-022 |

## 1.1 Create Custom Learning Path

### TC-TI-8-01-001 — Create a custom learning path
**Type:** Positive
**Covers:** 1.1 → Create a custom learning path; Rule: A draft path is not visible to students.
**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: Create a custom learning path.
2. Observe the result and verify the full behavior: Create a custom learning path.
**Expected Result:** Create a custom learning path — delivered exactly as documented.
**Priority:** Critical

### TC-TI-8-01-002 — Name and description
**Type:** Positive
**Covers:** 1.1 → Name and description; Rule: A published path is visible to the assigned audience.
**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: Name and description.
2. Observe the result and verify the full behavior: Name and description.
**Expected Result:** Name and description — delivered exactly as documented.
**Priority:** High

### TC-TI-8-01-003 — Target audience setting
**Type:** Positive
**Covers:** 1.1 → Target audience setting; Rule: Builder events (created, published) 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: Target audience setting.
2. Observe the result and verify the full behavior: Target audience setting.
**Expected Result:** Target audience setting — delivered exactly as documented.
**Priority:** High

### TC-TI-8-01-004 — Add courses and modules in order
**Type:** Positive
**Covers:** 1.1 → Add courses and modules in order; Rule: The custom learning path creation 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: Add courses and modules in order.
2. Observe the result and verify the full behavior: Add courses and modules in order.
**Expected Result:** Add courses and modules in order — delivered exactly as documented.
**Priority:** High

### TC-TI-8-01-005 — Save as draft or publish
**Type:** Positive
**Covers:** 1.1 → Save as draft or publish
**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: Save as draft or publish.
2. Observe the result and verify the full behavior: Save as draft or publish.
**Expected Result:** Save as draft or publish — delivered exactly as documented.
**Priority:** High

### TC-TI-8-01-006 — Path list
**Type:** Positive
**Covers:** 1.1 → Path 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: Path list.
2. Observe the result and verify the full behavior: Path list.
**Expected Result:** Path list — delivered exactly as documented.
**Priority:** High

### TC-TI-8-01-007 — Builder available on web and mobile
**Type:** Positive
**Covers:** 1.1 → Builder 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: Builder available on web and mobile.
2. Observe the result and verify the full behavior: Builder available on web and mobile.
**Expected Result:** Builder available on web and mobile — delivered exactly as documented.
**Priority:** High

### TC-TI-8-01-008 — Builder event logging (created, published)
**Type:** Positive
**Covers:** 1.1 → Builder event logging (created, published)
**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: Builder event logging (created, published).
2. Observe the result and verify the full behavior: Builder event logging (created, published).
**Expected Result:** Builder event logging (created, published) — delivered exactly as documented.
**Priority:** High

### TC-TI-8-01-009 — Audit logging of the custom learning path creation
**Type:** Positive
**Covers:** 1.1 → Audit logging of the custom learning path creation
**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 custom learning path creation action.
2. Open the audit log and verify the entry for the action.
**Expected Result:** The custom learning path creation action is recorded in the audit log with the account and the timestamp.
**Priority:** Critical


## 1.2 Path Sequencing & Prerequisites

### TC-TI-8-01-010 — Path step sequencing
**Type:** Positive
**Covers:** 1.2 → Path step sequencing; Rule: A step with unmet prerequisites is locked.
**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 step sequencing.
2. Observe the result and verify the full behavior: Path step sequencing.
**Expected Result:** Path step sequencing — delivered exactly as documented.
**Priority:** Critical

### TC-TI-8-01-011 — Mark prerequisites for later steps
**Type:** Positive
**Covers:** 1.2 → Mark prerequisites for later steps; Rule: Reordering updates the prerequisite links.
**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: Mark prerequisites for later steps.
2. Observe the result and verify the full behavior: Mark prerequisites for later steps.
**Expected Result:** Mark prerequisites for later steps — delivered exactly as documented.
**Priority:** High

### TC-TI-8-01-012 — Out-of-order setting
**Type:** Positive
**Covers:** 1.2 → Out-of-order setting; Rule: Sequencing events (reordered, prerequisite set) 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: Out-of-order setting.
2. Observe the result and verify the full behavior: Out-of-order setting.
**Expected Result:** Out-of-order setting — delivered exactly as documented.
**Priority:** High

### TC-TI-8-01-013 — Sequence view
**Type:** Positive
**Covers:** 1.2 → Sequence view; Rule: The path sequencing and prerequisites 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: Sequence view.
2. Observe the result and verify the full behavior: Sequence view.
**Expected Result:** Sequence view — delivered exactly as documented.
**Priority:** High

### TC-TI-8-01-014 — Prerequisite links shown
**Type:** Positive
**Covers:** 1.2 → Prerequisite links shown
**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: Prerequisite links shown.
2. Observe the result and verify the full behavior: Prerequisite links shown.
**Expected Result:** Prerequisite links shown — delivered exactly as documented.
**Priority:** High

### TC-TI-8-01-015 — Reorder steps
**Type:** Positive
**Covers:** 1.2 → Reorder 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: Reorder steps.
2. Observe the result and verify the full behavior: Reorder steps.
**Expected Result:** Reorder steps — delivered exactly as documented.
**Priority:** High

### TC-TI-8-01-016 — Sequencing available on web and mobile
**Type:** Positive
**Covers:** 1.2 → Sequencing 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: Sequencing available on web and mobile.
2. Observe the result and verify the full behavior: Sequencing available on web and mobile.
**Expected Result:** Sequencing available on web and mobile — delivered exactly as documented.
**Priority:** High

### TC-TI-8-01-017 — Sequencing event logging (reordered, prerequisite set)
**Type:** Positive
**Covers:** 1.2 → Sequencing event logging (reordered, prerequisite set)
**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: Sequencing event logging (reordered, prerequisite set).
2. Observe the result and verify the full behavior: Sequencing event logging (reordered, prerequisite set).
**Expected Result:** Sequencing event logging (reordered, prerequisite set) — delivered exactly as documented.
**Priority:** High

### TC-TI-8-01-018 — Audit logging of the path sequencing and prerequisites
**Type:** Positive
**Covers:** 1.2 → Audit logging of the path sequencing and prerequisites
**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 sequencing and prerequisites action.
2. Open the audit log and verify the entry for the action.
**Expected Result:** The path sequencing and prerequisites action is recorded in the audit log with the account and the timestamp.
**Priority:** Critical


## 1.3 Path Milestones & Completion Criteria

### TC-TI-8-01-019 — Path milestones
**Type:** Positive
**Covers:** 1.3 → Path milestones; Rule: A step is complete only when its criteria are met.
**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 milestones.
2. Observe the result and verify the full behavior: Path milestones.
**Expected Result:** Path milestones — delivered exactly as documented.
**Priority:** Critical

### TC-TI-8-01-020 — Completion criteria per step
**Type:** Positive
**Covers:** 1.3 → Completion criteria per step; Rule: The path is complete when the overall criteria are met.
**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 criteria per step.
2. Observe the result and verify the full behavior: Completion criteria per step.
**Expected Result:** Completion criteria per step — delivered exactly as documented.
**Priority:** High

### TC-TI-8-01-021 — Overall completion criteria
**Type:** Positive
**Covers:** 1.3 → Overall completion criteria; Rule: Milestones events (set, edited) 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: Overall completion criteria.
2. Observe the result and verify the full behavior: Overall completion criteria.
**Expected Result:** Overall completion criteria — delivered exactly as documented.
**Priority:** High

### TC-TI-8-01-022 — Milestone list
**Type:** Positive
**Covers:** 1.3 → Milestone list; Rule: The path milestones and completion criteria 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: Milestone list.
2. Observe the result and verify the full behavior: Milestone list.
**Expected Result:** Milestone list — delivered exactly as documented.
**Priority:** High

### TC-TI-8-01-023 — Criteria types (assessment, activity)
**Type:** Positive
**Covers:** 1.3 → Criteria types (assessment, activity)
**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: Criteria types (assessment, activity).
2. Observe the result and verify the full behavior: Criteria types (assessment, activity).
**Expected Result:** Criteria types (assessment, activity) — delivered exactly as documented.
**Priority:** High

### TC-TI-8-01-024 — Edit milestones and criteria
**Type:** Positive
**Covers:** 1.3 → Edit milestones and criteria
**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: Edit milestones and criteria.
2. Observe the result and verify the full behavior: Edit milestones and criteria.
**Expected Result:** Edit milestones and criteria — delivered exactly as documented.
**Priority:** High

### TC-TI-8-01-025 — Milestones available on web and mobile
**Type:** Positive
**Covers:** 1.3 → Milestones 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: Milestones available on web and mobile.
2. Observe the result and verify the full behavior: Milestones available on web and mobile.
**Expected Result:** Milestones available on web and mobile — delivered exactly as documented.
**Priority:** High

### TC-TI-8-01-026 — Milestones event logging (set, edited)
**Type:** Positive
**Covers:** 1.3 → Milestones event logging (set, edited)
**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: Milestones event logging (set, edited).
2. Observe the result and verify the full behavior: Milestones event logging (set, edited).
**Expected Result:** Milestones event logging (set, edited) — delivered exactly as documented.
**Priority:** High

### TC-TI-8-01-027 — Audit logging of the path milestones and completion criteria
**Type:** Positive
**Covers:** 1.3 → Audit logging of the path milestones and completion criteria
**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 milestones and completion criteria action.
2. Open the audit log and verify the entry for the action.
**Expected Result:** The path milestones and completion criteria action is recorded in the audit log with the account and the timestamp.
**Priority:** Critical
