# 4. Upcoming Tests & Deadlines — Test Cases

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

---

## Test Execution Policy
- Zero tolerance: any deviation from documented behavior = FAILED = bug
- Every bug is immediately logged/reported (Bug ID, feature, sub-feature, expected vs actual, severity) and fixed 100% before the group passes
- Feature group passes only at 100% test pass rate

## Coverage Matrix
| Feature | Sub-feature / Rule | Test IDs |
|---------|--------------------|----------|
| 4.1 Upcoming Tests | List of upcoming tests | TC-PT-3-04-001 |
| 4.1 Upcoming Tests | Test date and subject | TC-PT-3-04-002 |
| 4.1 Upcoming Tests | Test type (exam, mock, quiz) | TC-PT-3-04-003 |
| 4.1 Upcoming Tests | Preparation time remaining | TC-PT-3-04-004 |
| 4.1 Upcoming Tests | Test detail on tap | TC-PT-3-04-005 |
| 4.1 Upcoming Tests | Upcoming tests available on web and mobile | TC-PT-3-04-006 |
| 4.1 Upcoming Tests | Test event logging (viewed) | TC-PT-3-04-007 |
| 4.1 Upcoming Tests | Audit logging of the upcoming tests | TC-PT-3-04-008 |
| 4.1 Upcoming Tests | Rule: The list shows upcoming tests with dates and subjects. | TC-PT-3-04-001 |
| 4.1 Upcoming Tests | Rule: The preparation time remaining is shown. | TC-PT-3-04-002 |
| 4.1 Upcoming Tests | Rule: Test events (viewed) are logged with the account and the timestamp. | TC-PT-3-04-003 |
| 4.1 Upcoming Tests | Rule: The upcoming tests is audit-logged with the account and the timestamp. | TC-PT-3-04-004 |
| 4.2 Deadlines and Assignments | List of upcoming deadlines | TC-PT-3-04-009 |
| 4.2 Deadlines and Assignments | Assignment due dates | TC-PT-3-04-010 |
| 4.2 Deadlines and Assignments | Worksheet due dates | TC-PT-3-04-011 |
| 4.2 Deadlines and Assignments | Approaching deadline indicator | TC-PT-3-04-012 |
| 4.2 Deadlines and Assignments | Overdue deadline indicator | TC-PT-3-04-013 |
| 4.2 Deadlines and Assignments | Deadline detail on tap | TC-PT-3-04-014 |
| 4.2 Deadlines and Assignments | Deadline event logging (viewed) | TC-PT-3-04-015 |
| 4.2 Deadlines and Assignments | Audit logging of the deadlines and assignments | TC-PT-3-04-016 |
| 4.2 Deadlines and Assignments | Rule: The list shows upcoming deadlines with due dates. | TC-PT-3-04-009 |
| 4.2 Deadlines and Assignments | Rule: An approaching indicator is shown for near deadlines. | TC-PT-3-04-010 |
| 4.2 Deadlines and Assignments | Rule: An overdue indicator is shown for missed deadlines. | TC-PT-3-04-011 |
| 4.2 Deadlines and Assignments | Rule: Deadline events (viewed) are logged with the account and the timestamp. | TC-PT-3-04-012 |
| 4.2 Deadlines and Assignments | Rule: The deadlines and assignments is audit-logged with the account and the timestamp. | TC-PT-3-04-013 |
| 4.3 Exam Preparation Status | Preparation status per upcoming exam | TC-PT-3-04-017 |
| 4.3 Exam Preparation Status | Topics covered for the exam | TC-PT-3-04-018 |
| 4.3 Exam Preparation Status | Practice completed for the exam | TC-PT-3-04-019 |
| 4.3 Exam Preparation Status | Readiness indicator | TC-PT-3-04-020 |
| 4.3 Exam Preparation Status | Preparation gap (topics not covered) | TC-PT-3-04-021 |
| 4.3 Exam Preparation Status | Preparation status available on web and mobile | TC-PT-3-04-022 |
| 4.3 Exam Preparation Status | Preparation event logging (viewed) | TC-PT-3-04-023 |
| 4.3 Exam Preparation Status | Audit logging of the exam preparation status | TC-PT-3-04-024 |
| 4.3 Exam Preparation Status | Rule: The preparation status is per upcoming exam. | TC-PT-3-04-017 |
| 4.3 Exam Preparation Status | Rule: The readiness indicator reflects the preparation level. | TC-PT-3-04-018 |
| 4.3 Exam Preparation Status | Rule: A preparation gap is shown for uncovered topics. | TC-PT-3-04-019 |
| 4.3 Exam Preparation Status | Rule: Preparation events (viewed) are logged with the account and the timestamp. | TC-PT-3-04-020 |
| 4.3 Exam Preparation Status | Rule: The exam preparation status is audit-logged with the account and the timestamp. | TC-PT-3-04-021 |

## 4.1 Upcoming Tests

### TC-PT-3-04-001 — List of upcoming tests
**Type:** Positive
**Covers:** 4.1 → List of upcoming tests; Rule: The list shows upcoming tests with dates and subjects.
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, set up the precondition and perform: List of upcoming tests.
2. Observe the result and verify the full behavior: List of upcoming tests.
**Expected Result:** List of upcoming tests — delivered exactly as documented.
**Priority:** Critical

### TC-PT-3-04-002 — Test date and subject
**Type:** Positive
**Covers:** 4.1 → Test date and subject; Rule: The preparation time remaining is shown.
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, set up the precondition and perform: Test date and subject.
2. Observe the result and verify the full behavior: Test date and subject.
**Expected Result:** Test date and subject — delivered exactly as documented.
**Priority:** High

### TC-PT-3-04-003 — Test type (exam, mock, quiz)
**Type:** Positive
**Covers:** 4.1 → Test type (exam, mock, quiz); Rule: Test events (viewed) are logged with the account and the timestamp.
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, set up the precondition and perform: Test type (exam.
2. Observe the result and verify the full behavior: Test type (exam, mock, quiz).
**Expected Result:** Test type (exam, mock, quiz) — delivered exactly as documented.
**Priority:** High

### TC-PT-3-04-004 — Preparation time remaining
**Type:** Positive
**Covers:** 4.1 → Preparation time remaining; Rule: The upcoming tests is audit-logged with the account and the timestamp.
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, set up the precondition and perform: Preparation time remaining.
2. Observe the result and verify the full behavior: Preparation time remaining.
**Expected Result:** Preparation time remaining — delivered exactly as documented.
**Priority:** High

### TC-PT-3-04-005 — Test detail on tap
**Type:** Positive
**Covers:** 4.1 → Test detail on tap
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, set up the precondition and perform: Test detail on tap.
2. Observe the result and verify the full behavior: Test detail on tap.
**Expected Result:** Test detail on tap — delivered exactly as documented.
**Priority:** High

### TC-PT-3-04-006 — Upcoming tests available on web and mobile
**Type:** Positive
**Covers:** 4.1 → Upcoming tests available on web and mobile
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, set up the precondition and perform: Upcoming tests available on web and mobile.
2. Observe the result and verify the full behavior: Upcoming tests available on web and mobile.
**Expected Result:** Upcoming tests available on web and mobile — delivered exactly as documented.
**Priority:** High

### TC-PT-3-04-007 — Test event logging (viewed)
**Type:** Positive
**Covers:** 4.1 → Test event logging (viewed)
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, set up the precondition and perform: Test event logging (viewed).
2. Observe the result and verify the full behavior: Test event logging (viewed).
**Expected Result:** Test event logging (viewed) — delivered exactly as documented.
**Priority:** High

### TC-PT-3-04-008 — Audit logging of the upcoming tests
**Type:** Positive
**Covers:** 4.1 → Audit logging of the upcoming tests
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, perform the action associated with: Audit logging of the upcoming tests.
2. Open the relevant activity / audit log and verify the event is recorded with the account, the action, and the timestamp.
**Expected Result:** The action is audit-logged — the account, the action, and the timestamp are recorded.
**Priority:** Critical

## 4.2 Deadlines and Assignments

### TC-PT-3-04-009 — List of upcoming deadlines
**Type:** Positive
**Covers:** 4.2 → List of upcoming deadlines; Rule: The list shows upcoming deadlines with due dates.
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, set up the precondition and perform: List of upcoming deadlines.
2. Observe the result and verify the full behavior: List of upcoming deadlines.
**Expected Result:** List of upcoming deadlines — delivered exactly as documented.
**Priority:** Critical

### TC-PT-3-04-010 — Assignment due dates
**Type:** Positive
**Covers:** 4.2 → Assignment due dates; Rule: An approaching indicator is shown for near deadlines.
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, set up the precondition and perform: Assignment due dates.
2. Observe the result and verify the full behavior: Assignment due dates.
**Expected Result:** Assignment due dates — delivered exactly as documented.
**Priority:** High

### TC-PT-3-04-011 — Worksheet due dates
**Type:** Positive
**Covers:** 4.2 → Worksheet due dates; Rule: An overdue indicator is shown for missed deadlines.
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, set up the precondition and perform: Worksheet due dates.
2. Observe the result and verify the full behavior: Worksheet due dates.
**Expected Result:** Worksheet due dates — delivered exactly as documented.
**Priority:** High

### TC-PT-3-04-012 — Approaching deadline indicator
**Type:** Positive
**Covers:** 4.2 → Approaching deadline indicator; Rule: Deadline events (viewed) are logged with the account and the timestamp.
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, set up the precondition and perform: Approaching deadline indicator.
2. Observe the result and verify the full behavior: Approaching deadline indicator.
**Expected Result:** Approaching deadline indicator — delivered exactly as documented.
**Priority:** High

### TC-PT-3-04-013 — Overdue deadline indicator
**Type:** Positive
**Covers:** 4.2 → Overdue deadline indicator; Rule: The deadlines and assignments is audit-logged with the account and the timestamp.
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, set up the precondition and perform: Overdue deadline indicator.
2. Observe the result and verify the full behavior: Overdue deadline indicator.
**Expected Result:** Overdue deadline indicator — delivered exactly as documented.
**Priority:** High

### TC-PT-3-04-014 — Deadline detail on tap
**Type:** Positive
**Covers:** 4.2 → Deadline detail on tap
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, set up the precondition and perform: Deadline detail on tap.
2. Observe the result and verify the full behavior: Deadline detail on tap.
**Expected Result:** Deadline detail on tap — delivered exactly as documented.
**Priority:** High

### TC-PT-3-04-015 — Deadline event logging (viewed)
**Type:** Positive
**Covers:** 4.2 → Deadline event logging (viewed)
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, set up the precondition and perform: Deadline event logging (viewed).
2. Observe the result and verify the full behavior: Deadline event logging (viewed).
**Expected Result:** Deadline event logging (viewed) — delivered exactly as documented.
**Priority:** High

### TC-PT-3-04-016 — Audit logging of the deadlines and assignments
**Type:** Positive
**Covers:** 4.2 → Audit logging of the deadlines and assignments
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, perform the action associated with: Audit logging of the deadlines and assignments.
2. Open the relevant activity / audit log and verify the event is recorded with the account, the action, and the timestamp.
**Expected Result:** The action is audit-logged — the account, the action, and the timestamp are recorded.
**Priority:** Critical

## 4.3 Exam Preparation Status

### TC-PT-3-04-017 — Preparation status per upcoming exam
**Type:** Positive
**Covers:** 4.3 → Preparation status per upcoming exam; Rule: The preparation status is per upcoming exam.
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, set up the precondition and perform: Preparation status per upcoming exam.
2. Observe the result and verify the full behavior: Preparation status per upcoming exam.
**Expected Result:** Preparation status per upcoming exam — delivered exactly as documented.
**Priority:** Critical

### TC-PT-3-04-018 — Topics covered for the exam
**Type:** Positive
**Covers:** 4.3 → Topics covered for the exam; Rule: The readiness indicator reflects the preparation level.
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, set up the precondition and perform: Topics covered for the exam.
2. Observe the result and verify the full behavior: Topics covered for the exam.
**Expected Result:** Topics covered for the exam — delivered exactly as documented.
**Priority:** High

### TC-PT-3-04-019 — Practice completed for the exam
**Type:** Positive
**Covers:** 4.3 → Practice completed for the exam; Rule: A preparation gap is shown for uncovered topics.
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, set up the precondition and perform: Practice completed for the exam.
2. Observe the result and verify the full behavior: Practice completed for the exam.
**Expected Result:** Practice completed for the exam — delivered exactly as documented.
**Priority:** High

### TC-PT-3-04-020 — Readiness indicator
**Type:** Positive
**Covers:** 4.3 → Readiness indicator; Rule: Preparation events (viewed) are logged with the account and the timestamp.
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, set up the precondition and perform: Readiness indicator.
2. Observe the result and verify the full behavior: Readiness indicator.
**Expected Result:** Readiness indicator — delivered exactly as documented.
**Priority:** High

### TC-PT-3-04-021 — Preparation gap (topics not covered)
**Type:** Positive
**Covers:** 4.3 → Preparation gap (topics not covered); Rule: The exam preparation status is audit-logged with the account and the timestamp.
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, set up the precondition and perform: Preparation gap (topics not covered).
2. Observe the result and verify the full behavior: Preparation gap (topics not covered).
**Expected Result:** Preparation gap (topics not covered) — delivered exactly as documented.
**Priority:** High

### TC-PT-3-04-022 — Preparation status available on web and mobile
**Type:** Positive
**Covers:** 4.3 → Preparation status available on web and mobile
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, set up the precondition and perform: Preparation status available on web and mobile.
2. Observe the result and verify the full behavior: Preparation status available on web and mobile.
**Expected Result:** Preparation status available on web and mobile — delivered exactly as documented.
**Priority:** High

### TC-PT-3-04-023 — Preparation event logging (viewed)
**Type:** Positive
**Covers:** 4.3 → Preparation event logging (viewed)
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, set up the precondition and perform: Preparation event logging (viewed).
2. Observe the result and verify the full behavior: Preparation event logging (viewed).
**Expected Result:** Preparation event logging (viewed) — delivered exactly as documented.
**Priority:** High

### TC-PT-3-04-024 — Audit logging of the exam preparation status
**Type:** Positive
**Covers:** 4.3 → Audit logging of the exam preparation status
**Preconditions:** A Parent account is active and the Parent is in the state required for this behavior.
**Steps:**
1. As a Parent, perform the action associated with: Audit logging of the exam preparation status.
2. Open the relevant activity / audit log and verify the event is recorded with the account, the action, and the timestamp.
**Expected Result:** The action is audit-logged — the account, the action, and the timestamp are recorded.
**Priority:** Critical
