# 8. Alerts — Test Cases

User Type: **Organization**
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 |
|---------|--------------------|----------|
| 8.1 | Overdue mandatory training alerts | TC-ORG-8-01-001 |
| 8.1 | Expiring certification alerts | TC-ORG-8-01-002 |
| 8.1 | Compliance rate threshold alerts | TC-ORG-8-01-003 |
| 8.1 | Alert history | TC-ORG-8-01-004 |
| 8.1 | Alert recipient management | TC-ORG-8-01-005 |
| 8.1 | Compliance Alerts available on web and mobile | TC-ORG-8-01-006 |
| 8.1 | compliance alerts event logging (viewed) | TC-ORG-8-01-007 |
| 8.1 | Audit logging of compliance alerts | TC-ORG-8-01-008 |
| 8.1 | Rule: Overdue mandatory training alerts. | TC-ORG-8-01-009 |
| 8.1 | Rule: Expiring certification alerts. | TC-ORG-8-01-010 |
| 8.1 | Rule: Compliance rate threshold alerts. | TC-ORG-8-01-011 |
| 8.1 | Rule: Alert history. | TC-ORG-8-01-012 |
| 8.1 | Rule: Alert recipient management. | TC-ORG-8-01-013 |
| 8.2 | Program milestone notifications | TC-ORG-8-02-014 |
| 8.2 | Assessment deadline reminders | TC-ORG-8-02-015 |
| 8.2 | Program end reminders | TC-ORG-8-02-016 |
| 8.2 | Reminder recipients (admins, users) | TC-ORG-8-02-017 |
| 8.2 | Reminder history | TC-ORG-8-02-018 |
| 8.2 | Program & Deadline Reminders available on web and mobile | TC-ORG-8-02-019 |
| 8.2 | program & deadline reminders event logging (viewed) | TC-ORG-8-02-020 |
| 8.2 | Audit logging of program & deadline reminders | TC-ORG-8-02-021 |
| 8.2 | Rule: Program milestone notifications. | TC-ORG-8-02-022 |
| 8.2 | Rule: Assessment deadline reminders. | TC-ORG-8-02-023 |
| 8.2 | Rule: Program end reminders. | TC-ORG-8-02-024 |
| 8.2 | Rule: Reminder recipients (admins, users). | TC-ORG-8-02-025 |
| 8.2 | Rule: Reminder history. | TC-ORG-8-02-026 |

## 8.1 Compliance Alerts

### TC-ORG-8-01-001 — Overdue mandatory training alerts
**Type:** Positive
**Covers:** 8.1 → Overdue mandatory training alerts; Rule: Overdue mandatory training 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: Overdue mandatory training alerts.
2. Observe the result and verify the full behavior: Overdue mandatory training alerts.
**Expected Result:** Overdue mandatory training alerts — delivered exactly as documented.
**Priority:** Critical

### TC-ORG-8-01-002 — Expiring certification alerts
**Type:** Positive
**Covers:** 8.1 → Expiring certification alerts; Rule: Expiring certification 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: Expiring certification alerts.
2. Observe the result and verify the full behavior: Expiring certification alerts.
**Expected Result:** Expiring certification alerts — delivered exactly as documented.
**Priority:** High

### TC-ORG-8-01-003 — Compliance rate threshold alerts
**Type:** Positive
**Covers:** 8.1 → Compliance rate threshold alerts; Rule: Compliance rate threshold 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: Compliance rate threshold alerts.
2. Observe the result and verify the full behavior: Compliance rate threshold alerts.
**Expected Result:** Compliance rate threshold alerts — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-8-01-004 — Alert history
**Type:** Positive
**Covers:** 8.1 → Alert history; Rule: Alert history.
**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: Alert history.
2. Observe the result and verify the full behavior: Alert history.
**Expected Result:** Alert history — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-8-01-005 — Alert recipient management
**Type:** Positive
**Covers:** 8.1 → Alert recipient management; Rule: Alert recipient management.
**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: Alert recipient management.
2. Observe the result and verify the full behavior: Alert recipient management.
**Expected Result:** Alert recipient management — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-8-01-006 — Compliance Alerts available on web and mobile
**Type:** Positive
**Covers:** 8.1 → Compliance Alerts available on web and mobile; Rule: Overdue mandatory training 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: Compliance Alerts available on web and mobile.
2. Observe the result and verify the full behavior: Compliance Alerts available on web and mobile.
**Expected Result:** Compliance Alerts available on web and mobile — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-8-01-007 — compliance alerts event logging (viewed)
**Type:** Positive
**Covers:** 8.1 → compliance alerts event logging (viewed); Rule: Expiring certification 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: compliance alerts event logging (viewed).
2. Observe the result and verify the full behavior: compliance alerts event logging (viewed).
**Expected Result:** compliance alerts event logging (viewed) — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-8-01-008 — Audit logging of compliance alerts
**Type:** Positive
**Covers:** 8.1 → Audit logging of compliance alerts; Rule: Compliance rate threshold 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: Audit logging of compliance alerts.
2. Observe the result and verify the full behavior: Audit logging of compliance alerts.
**Expected Result:** Audit logging of compliance alerts — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-8-01-009 — Rule: Overdue mandatory training alerts.
**Type:** Positive
**Covers:** 8.1 → Rule: Overdue mandatory training 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: Overdue mandatory training alerts.
2. Observe the result and verify the full behavior: Overdue mandatory training alerts.
**Expected Result:** Overdue mandatory training alerts. — delivered exactly as documented.
**Priority:** Critical

### TC-ORG-8-01-010 — Rule: Expiring certification alerts.
**Type:** Positive
**Covers:** 8.1 → Rule: Expiring certification 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: Expiring certification alerts.
2. Observe the result and verify the full behavior: Expiring certification alerts.
**Expected Result:** Expiring certification alerts. — delivered exactly as documented.
**Priority:** High

### TC-ORG-8-01-011 — Rule: Compliance rate threshold alerts.
**Type:** Positive
**Covers:** 8.1 → Rule: Compliance rate threshold 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: Compliance rate threshold alerts.
2. Observe the result and verify the full behavior: Compliance rate threshold alerts.
**Expected Result:** Compliance rate threshold alerts. — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-8-01-012 — Rule: Alert history.
**Type:** Positive
**Covers:** 8.1 → Rule: Alert history.
**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: Alert history.
2. Observe the result and verify the full behavior: Alert history.
**Expected Result:** Alert history. — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-8-01-013 — Rule: Alert recipient management.
**Type:** Positive
**Covers:** 8.1 → Rule: Alert recipient management.
**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: Alert recipient management.
2. Observe the result and verify the full behavior: Alert recipient management.
**Expected Result:** Alert recipient management. — delivered exactly as documented.
**Priority:** Medium

## 8.2 Program & Deadline Reminders

### TC-ORG-8-02-014 — Program milestone notifications
**Type:** Positive
**Covers:** 8.2 → Program milestone notifications; Rule: Program milestone notifications.
**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 milestone notifications.
2. Observe the result and verify the full behavior: Program milestone notifications.
**Expected Result:** Program milestone notifications — delivered exactly as documented.
**Priority:** Critical

### TC-ORG-8-02-015 — Assessment deadline reminders
**Type:** Positive
**Covers:** 8.2 → Assessment deadline reminders; Rule: Assessment deadline reminders.
**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: Assessment deadline reminders.
2. Observe the result and verify the full behavior: Assessment deadline reminders.
**Expected Result:** Assessment deadline reminders — delivered exactly as documented.
**Priority:** High

### TC-ORG-8-02-016 — Program end reminders
**Type:** Positive
**Covers:** 8.2 → Program end reminders; Rule: Program end reminders.
**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 end reminders.
2. Observe the result and verify the full behavior: Program end reminders.
**Expected Result:** Program end reminders — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-8-02-017 — Reminder recipients (admins, users)
**Type:** Positive
**Covers:** 8.2 → Reminder recipients (admins, users); Rule: Reminder recipients (admins, 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: Reminder recipients (admins, users).
2. Observe the result and verify the full behavior: Reminder recipients (admins, users).
**Expected Result:** Reminder recipients (admins, users) — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-8-02-018 — Reminder history
**Type:** Positive
**Covers:** 8.2 → Reminder history; Rule: Reminder history.
**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: Reminder history.
2. Observe the result and verify the full behavior: Reminder history.
**Expected Result:** Reminder history — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-8-02-019 — Program & Deadline Reminders available on web and mobile
**Type:** Positive
**Covers:** 8.2 → Program & Deadline Reminders available on web and mobile; Rule: Program milestone notifications.
**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 & Deadline Reminders available on web and mobile.
2. Observe the result and verify the full behavior: Program & Deadline Reminders available on web and mobile.
**Expected Result:** Program & Deadline Reminders available on web and mobile — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-8-02-020 — program & deadline reminders event logging (viewed)
**Type:** Positive
**Covers:** 8.2 → program & deadline reminders event logging (viewed); Rule: Assessment deadline reminders.
**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 & deadline reminders event logging (viewed).
2. Observe the result and verify the full behavior: program & deadline reminders event logging (viewed).
**Expected Result:** program & deadline reminders event logging (viewed) — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-8-02-021 — Audit logging of program & deadline reminders
**Type:** Positive
**Covers:** 8.2 → Audit logging of program & deadline reminders; Rule: Program end reminders.
**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 & deadline reminders.
2. Observe the result and verify the full behavior: Audit logging of program & deadline reminders.
**Expected Result:** Audit logging of program & deadline reminders — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-8-02-022 — Rule: Program milestone notifications.
**Type:** Positive
**Covers:** 8.2 → Rule: Program milestone notifications.
**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: Program milestone notifications.
2. Observe the result and verify the full behavior: Program milestone notifications.
**Expected Result:** Program milestone notifications. — delivered exactly as documented.
**Priority:** Critical

### TC-ORG-8-02-023 — Rule: Assessment deadline reminders.
**Type:** Positive
**Covers:** 8.2 → Rule: Assessment deadline reminders.
**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: Assessment deadline reminders.
2. Observe the result and verify the full behavior: Assessment deadline reminders.
**Expected Result:** Assessment deadline reminders. — delivered exactly as documented.
**Priority:** High

### TC-ORG-8-02-024 — Rule: Program end reminders.
**Type:** Positive
**Covers:** 8.2 → Rule: Program end reminders.
**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: Program end reminders.
2. Observe the result and verify the full behavior: Program end reminders.
**Expected Result:** Program end reminders. — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-8-02-025 — Rule: Reminder recipients (admins, users).
**Type:** Positive
**Covers:** 8.2 → Rule: Reminder recipients (admins, 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: Reminder recipients (admins, users).
2. Observe the result and verify the full behavior: Reminder recipients (admins, users).
**Expected Result:** Reminder recipients (admins, users). — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-8-02-026 — Rule: Reminder history.
**Type:** Positive
**Covers:** 8.2 → Rule: Reminder history.
**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: Reminder history.
2. Observe the result and verify the full behavior: Reminder history.
**Expected Result:** Reminder history. — delivered exactly as documented.
**Priority:** Medium
