# 7. Alerts — Test Cases

User Type: **CSR**
Source: *Mi Digital Academy - Education CRM Features Document*
Spec: alerts.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 |
|---------|--------------------|----------|
| 7.1 | Milestone reached notifications | TC-CSR-7-01-001 |
| 7.1 | Milestone delay notifications | TC-CSR-7-01-002 |
| 7.1 | Program completion notifications | TC-CSR-7-01-003 |
| 7.1 | At-risk program alerts | TC-CSR-7-01-004 |
| 7.1 | Alert history | TC-CSR-7-01-005 |
| 7.1 | Milestone & Program Alerts available on web and mobile | TC-CSR-7-01-006 |
| 7.1 | milestone & program alerts event logging (viewed) | TC-CSR-7-01-007 |
| 7.1 | Audit logging of milestone & program alerts | TC-CSR-7-01-008 |
| 7.1 | Rule: Milestone reached notifications. | TC-CSR-7-01-009 |
| 7.1 | Rule: Milestone delay notifications. | TC-CSR-7-01-010 |
| 7.1 | Rule: Program completion notifications. | TC-CSR-7-01-011 |
| 7.1 | Rule: At-risk program alerts. | TC-CSR-7-01-012 |
| 7.1 | Rule: Alert history. | TC-CSR-7-01-013 |
| 7.2 | Monthly impact digest | TC-CSR-7-02-014 |
| 7.2 | Quarterly deep-dive report | TC-CSR-7-02-015 |
| 7.2 | Annual impact report | TC-CSR-7-02-016 |
| 7.2 | In-app and email delivery | TC-CSR-7-02-017 |
| 7.2 | Report delivery history | TC-CSR-7-02-018 |
| 7.2 | Impact Report Delivery available on web and mobile | TC-CSR-7-02-019 |
| 7.2 | impact report delivery event logging (viewed) | TC-CSR-7-02-020 |
| 7.2 | Audit logging of impact report delivery | TC-CSR-7-02-021 |
| 7.2 | Rule: Monthly impact digest. | TC-CSR-7-02-022 |
| 7.2 | Rule: Quarterly deep-dive report. | TC-CSR-7-02-023 |
| 7.2 | Rule: Annual impact report. | TC-CSR-7-02-024 |
| 7.2 | Rule: In-app and email delivery. | TC-CSR-7-02-025 |
| 7.2 | Rule: Report delivery history. | TC-CSR-7-02-026 |

## 7.1 Milestone & Program Alerts

### TC-CSR-7-01-001 — Milestone reached notifications
**Type:** Positive
**Covers:** 7.1 → Milestone reached notifications; Rule: Milestone reached notifications.
**Preconditions:** A CSR account is active and the CSR is in the state required for this behavior.
**Steps:**
1. As a CSR, set up the precondition and perform: Milestone reached notifications.
2. Observe the result and verify the full behavior: Milestone reached notifications.
**Expected Result:** Milestone reached notifications — delivered exactly as documented.
**Priority:** Critical

### TC-CSR-7-01-002 — Milestone delay notifications
**Type:** Positive
**Covers:** 7.1 → Milestone delay notifications; Rule: Milestone delay notifications.
**Preconditions:** A CSR account is active and the CSR is in the state required for this behavior.
**Steps:**
1. As a CSR, set up the precondition and perform: Milestone delay notifications.
2. Observe the result and verify the full behavior: Milestone delay notifications.
**Expected Result:** Milestone delay notifications — delivered exactly as documented.
**Priority:** High

### TC-CSR-7-01-003 — Program completion notifications
**Type:** Positive
**Covers:** 7.1 → Program completion notifications; Rule: Program completion notifications.
**Preconditions:** A CSR account is active and the CSR is in the state required for this behavior.
**Steps:**
1. As a CSR, set up the precondition and perform: Program completion notifications.
2. Observe the result and verify the full behavior: Program completion notifications.
**Expected Result:** Program completion notifications — delivered exactly as documented.
**Priority:** Medium

### TC-CSR-7-01-004 — At-risk program alerts
**Type:** Positive
**Covers:** 7.1 → At-risk program alerts; Rule: At-risk program alerts.
**Preconditions:** A CSR account is active and the CSR is in the state required for this behavior.
**Steps:**
1. As a CSR, set up the precondition and perform: At-risk program alerts.
2. Observe the result and verify the full behavior: At-risk program alerts.
**Expected Result:** At-risk program alerts — delivered exactly as documented.
**Priority:** Medium

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

### TC-CSR-7-01-006 — Milestone & Program Alerts available on web and mobile
**Type:** Positive
**Covers:** 7.1 → Milestone & Program Alerts available on web and mobile; Rule: Milestone reached notifications.
**Preconditions:** A CSR account is active and the CSR is in the state required for this behavior.
**Steps:**
1. As a CSR, set up the precondition and perform: Milestone & Program Alerts available on web and mobile.
2. Observe the result and verify the full behavior: Milestone & Program Alerts available on web and mobile.
**Expected Result:** Milestone & Program Alerts available on web and mobile — delivered exactly as documented.
**Priority:** Medium

### TC-CSR-7-01-007 — milestone & program alerts event logging (viewed)
**Type:** Positive
**Covers:** 7.1 → milestone & program alerts event logging (viewed); Rule: Milestone delay notifications.
**Preconditions:** A CSR account is active and the CSR is in the state required for this behavior.
**Steps:**
1. As a CSR, set up the precondition and perform: milestone & program alerts event logging (viewed).
2. Observe the result and verify the full behavior: milestone & program alerts event logging (viewed).
**Expected Result:** milestone & program alerts event logging (viewed) — delivered exactly as documented.
**Priority:** Medium

### TC-CSR-7-01-008 — Audit logging of milestone & program alerts
**Type:** Positive
**Covers:** 7.1 → Audit logging of milestone & program alerts; Rule: Program completion notifications.
**Preconditions:** A CSR account is active and the CSR is in the state required for this behavior.
**Steps:**
1. As a CSR, set up the precondition and perform: Audit logging of milestone & program alerts.
2. Observe the result and verify the full behavior: Audit logging of milestone & program alerts.
**Expected Result:** Audit logging of milestone & program alerts — delivered exactly as documented.
**Priority:** Medium

### TC-CSR-7-01-009 — Rule: Milestone reached notifications.
**Type:** Positive
**Covers:** 7.1 → Rule: Milestone reached notifications.
**Preconditions:** A CSR account is active and the CSR is in the state required for this behavior.
**Steps:**
1. As a CSR, set up the precondition and perform the action that triggers the rule: Milestone reached notifications.
2. Observe the result and verify the full behavior: Milestone reached notifications.
**Expected Result:** Milestone reached notifications. — delivered exactly as documented.
**Priority:** Critical

### TC-CSR-7-01-010 — Rule: Milestone delay notifications.
**Type:** Positive
**Covers:** 7.1 → Rule: Milestone delay notifications.
**Preconditions:** A CSR account is active and the CSR is in the state required for this behavior.
**Steps:**
1. As a CSR, set up the precondition and perform the action that triggers the rule: Milestone delay notifications.
2. Observe the result and verify the full behavior: Milestone delay notifications.
**Expected Result:** Milestone delay notifications. — delivered exactly as documented.
**Priority:** High

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

### TC-CSR-7-01-012 — Rule: At-risk program alerts.
**Type:** Positive
**Covers:** 7.1 → Rule: At-risk program alerts.
**Preconditions:** A CSR account is active and the CSR is in the state required for this behavior.
**Steps:**
1. As a CSR, set up the precondition and perform the action that triggers the rule: At-risk program alerts.
2. Observe the result and verify the full behavior: At-risk program alerts.
**Expected Result:** At-risk program alerts. — delivered exactly as documented.
**Priority:** Medium

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

## 7.2 Impact Report Delivery

### TC-CSR-7-02-014 — Monthly impact digest
**Type:** Positive
**Covers:** 7.2 → Monthly impact digest; Rule: Monthly impact digest.
**Preconditions:** A CSR account is active and the CSR is in the state required for this behavior.
**Steps:**
1. As a CSR, set up the precondition and perform: Monthly impact digest.
2. Observe the result and verify the full behavior: Monthly impact digest.
**Expected Result:** Monthly impact digest — delivered exactly as documented.
**Priority:** Critical

### TC-CSR-7-02-015 — Quarterly deep-dive report
**Type:** Positive
**Covers:** 7.2 → Quarterly deep-dive report; Rule: Quarterly deep-dive report.
**Preconditions:** A CSR account is active and the CSR is in the state required for this behavior.
**Steps:**
1. As a CSR, set up the precondition and perform: Quarterly deep-dive report.
2. Observe the result and verify the full behavior: Quarterly deep-dive report.
**Expected Result:** Quarterly deep-dive report — delivered exactly as documented.
**Priority:** High

### TC-CSR-7-02-016 — Annual impact report
**Type:** Positive
**Covers:** 7.2 → Annual impact report; Rule: Annual impact report.
**Preconditions:** A CSR account is active and the CSR is in the state required for this behavior.
**Steps:**
1. As a CSR, set up the precondition and perform: Annual impact report.
2. Observe the result and verify the full behavior: Annual impact report.
**Expected Result:** Annual impact report — delivered exactly as documented.
**Priority:** Medium

### TC-CSR-7-02-017 — In-app and email delivery
**Type:** Positive
**Covers:** 7.2 → In-app and email delivery; Rule: In-app and email delivery.
**Preconditions:** A CSR account is active and the CSR is in the state required for this behavior.
**Steps:**
1. As a CSR, set up the precondition and perform: In-app and email delivery.
2. Observe the result and verify the full behavior: In-app and email delivery.
**Expected Result:** In-app and email delivery — delivered exactly as documented.
**Priority:** Medium

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

### TC-CSR-7-02-019 — Impact Report Delivery available on web and mobile
**Type:** Positive
**Covers:** 7.2 → Impact Report Delivery available on web and mobile; Rule: Monthly impact digest.
**Preconditions:** A CSR account is active and the CSR is in the state required for this behavior.
**Steps:**
1. As a CSR, set up the precondition and perform: Impact Report Delivery available on web and mobile.
2. Observe the result and verify the full behavior: Impact Report Delivery available on web and mobile.
**Expected Result:** Impact Report Delivery available on web and mobile — delivered exactly as documented.
**Priority:** Medium

### TC-CSR-7-02-020 — impact report delivery event logging (viewed)
**Type:** Positive
**Covers:** 7.2 → impact report delivery event logging (viewed); Rule: Quarterly deep-dive report.
**Preconditions:** A CSR account is active and the CSR is in the state required for this behavior.
**Steps:**
1. As a CSR, set up the precondition and perform: impact report delivery event logging (viewed).
2. Observe the result and verify the full behavior: impact report delivery event logging (viewed).
**Expected Result:** impact report delivery event logging (viewed) — delivered exactly as documented.
**Priority:** Medium

### TC-CSR-7-02-021 — Audit logging of impact report delivery
**Type:** Positive
**Covers:** 7.2 → Audit logging of impact report delivery; Rule: Annual impact report.
**Preconditions:** A CSR account is active and the CSR is in the state required for this behavior.
**Steps:**
1. As a CSR, set up the precondition and perform: Audit logging of impact report delivery.
2. Observe the result and verify the full behavior: Audit logging of impact report delivery.
**Expected Result:** Audit logging of impact report delivery — delivered exactly as documented.
**Priority:** Medium

### TC-CSR-7-02-022 — Rule: Monthly impact digest.
**Type:** Positive
**Covers:** 7.2 → Rule: Monthly impact digest.
**Preconditions:** A CSR account is active and the CSR is in the state required for this behavior.
**Steps:**
1. As a CSR, set up the precondition and perform the action that triggers the rule: Monthly impact digest.
2. Observe the result and verify the full behavior: Monthly impact digest.
**Expected Result:** Monthly impact digest. — delivered exactly as documented.
**Priority:** Critical

### TC-CSR-7-02-023 — Rule: Quarterly deep-dive report.
**Type:** Positive
**Covers:** 7.2 → Rule: Quarterly deep-dive report.
**Preconditions:** A CSR account is active and the CSR is in the state required for this behavior.
**Steps:**
1. As a CSR, set up the precondition and perform the action that triggers the rule: Quarterly deep-dive report.
2. Observe the result and verify the full behavior: Quarterly deep-dive report.
**Expected Result:** Quarterly deep-dive report. — delivered exactly as documented.
**Priority:** High

### TC-CSR-7-02-024 — Rule: Annual impact report.
**Type:** Positive
**Covers:** 7.2 → Rule: Annual impact report.
**Preconditions:** A CSR account is active and the CSR is in the state required for this behavior.
**Steps:**
1. As a CSR, set up the precondition and perform the action that triggers the rule: Annual impact report.
2. Observe the result and verify the full behavior: Annual impact report.
**Expected Result:** Annual impact report. — delivered exactly as documented.
**Priority:** Medium

### TC-CSR-7-02-025 — Rule: In-app and email delivery.
**Type:** Positive
**Covers:** 7.2 → Rule: In-app and email delivery.
**Preconditions:** A CSR account is active and the CSR is in the state required for this behavior.
**Steps:**
1. As a CSR, set up the precondition and perform the action that triggers the rule: In-app and email delivery.
2. Observe the result and verify the full behavior: In-app and email delivery.
**Expected Result:** In-app and email delivery. — delivered exactly as documented.
**Priority:** Medium

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