# 8.1 Compliance Alerts — Test Cases

User Type: **Corporate**
Source: *Mi Digital Academy - Education CRM Features Document*
Spec: compliance_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.1 | Assignment notification | TC-COR-8-01-001 |
| 8.1.1 | Approaching-deadline notification | TC-COR-8-01-002 |
| 8.1.1 | Overdue notification | TC-COR-8-01-003 |
| 8.1.1 | Per-employee alert history | TC-COR-8-01-004 |
| 8.1.1 | Available on web and mobile | TC-COR-8-01-005 |
| 8.1.1 | Event logging (viewed) | TC-COR-8-01-006 |
| 8.1.1 | Audit logging of the mandatory training alerts | TC-COR-8-01-007 |
| 8.1.1 | Rule: Alerts are sent via the employee's configured channels. | TC-COR-8-01-008 |
| 8.1.1 | Rule: Events (viewed) are logged with the account and the timestamp. | TC-COR-8-01-009 |
| 8.1.1 | Rule: The mandatory training alerts are audit-logged with the account and the timestamp. | TC-COR-8-01-010 |
| 8.1.2 | Expiry warning to the holder | TC-COR-8-01-011 |
| 8.1.2 | Expiry warning to the admin | TC-COR-8-01-012 |
| 8.1.2 | Lapsed certification alert | TC-COR-8-01-013 |
| 8.1.2 | Renewal-assignment reminder | TC-COR-8-01-014 |
| 8.1.2 | Available on web and mobile | TC-COR-8-01-015 |
| 8.1.2 | Event logging (viewed) | TC-COR-8-01-016 |
| 8.1.2 | Audit logging of the certification expiry alerts | TC-COR-8-01-017 |
| 8.1.2 | Rule: The expiry window defaults to 60 days and is configurable. | TC-COR-8-01-018 |
| 8.1.2 | Rule: Events (viewed) are logged with the account and the timestamp. | TC-COR-8-01-019 |
| 8.1.2 | Rule: The certification expiry alerts are audit-logged with the account and the timestamp. | TC-COR-8-01-020 |
| 8.1.3 | 14-day overdue escalation to the manager | TC-COR-8-01-021 |
| 8.1.3 | 30-day overdue escalation to the admin | TC-COR-8-01-022 |
| 8.1.3 | Escalation summary with affected employees | TC-COR-8-01-023 |
| 8.1.3 | Escalation resolution notice on completion | TC-COR-8-01-024 |
| 8.1.3 | Available on web and mobile | TC-COR-8-01-025 |
| 8.1.3 | Event logging (viewed) | TC-COR-8-01-026 |
| 8.1.3 | Audit logging of the escalation notifications | TC-COR-8-01-027 |
| 8.1.3 | Rule: Escalation thresholds match the Mandatory Training escalation settings. | TC-COR-8-01-028 |
| 8.1.3 | Rule: Events (viewed) are logged with the account and the timestamp. | TC-COR-8-01-029 |
| 8.1.3 | Rule: The escalation notifications are audit-logged with the account and the timestamp. | TC-COR-8-01-030 |


## 8.1.1 Mandatory Training Alerts

### TC-COR-8-01-001 — Assignment notification

**Type:** Positive

**Covers:** 8.1.1 → Assignment notification; Rule: Alerts are sent via the employee's configured channels.

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Assignment notification.

2. Observe the result and verify the full behavior: Assignment notification.

**Expected Result:** Assignment notification — delivered exactly as documented.

**Priority:** Critical

### TC-COR-8-01-002 — Approaching-deadline notification

**Type:** Positive

**Covers:** 8.1.1 → Approaching-deadline notification; Rule: Alerts are sent via the employee's configured channels.

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Approaching-deadline notification.

2. Observe the result and verify the full behavior: Approaching-deadline notification.

**Expected Result:** Approaching-deadline notification — delivered exactly as documented.

**Priority:** Critical

### TC-COR-8-01-003 — Overdue notification

**Type:** Positive

**Covers:** 8.1.1 → Overdue notification; Rule: Alerts are sent via the employee's configured channels.

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Overdue notification.

2. Observe the result and verify the full behavior: Overdue notification.

**Expected Result:** Overdue notification — delivered exactly as documented.

**Priority:** Critical

### TC-COR-8-01-004 — Per-employee alert history

**Type:** Positive

**Covers:** 8.1.1 → Per-employee alert history; Rule: Alerts are sent via the employee's configured channels.

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Per-employee alert history.

2. Observe the result and verify the full behavior: Per-employee alert history.

**Expected Result:** Per-employee alert history — delivered exactly as documented.

**Priority:** Critical

### TC-COR-8-01-005 — Available on web and mobile

**Type:** Positive

**Covers:** 8.1.1 → Available on web and mobile; Rule: Alerts are sent via the employee's configured channels.

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Available on web and mobile.

2. Observe the result and verify the full behavior: Available on web and mobile.

**Expected Result:** Available on web and mobile — delivered exactly as documented.

**Priority:** Critical

### TC-COR-8-01-006 — Event logging (viewed)

**Type:** Positive

**Covers:** 8.1.1 → Event logging (viewed); Rule: Alerts are sent via the employee's configured channels.

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Event logging (viewed).

2. Observe the result and verify the full behavior: Event logging (viewed).

**Expected Result:** Event logging (viewed) — delivered exactly as documented.

**Priority:** Medium

### TC-COR-8-01-007 — Audit logging of the mandatory training alerts

**Type:** Positive

**Covers:** 8.1.1 → Audit logging of the mandatory training alerts; Rule: Alerts are sent via the employee's configured channels.

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Audit logging of the mandatory training alerts.

2. Observe the result and verify the full behavior: Audit logging of the mandatory training alerts.

**Expected Result:** Audit logging of the mandatory training alerts — delivered exactly as documented.

**Priority:** Medium

### TC-COR-8-01-008 — Rule: Alerts are sent via the employee's configured channels.

**Type:** Positive

**Covers:** 8.1.1 → Alerts are sent via the employee's configured channels.; Rule: Alerts are sent via the employee's configured channels..

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Alerts are sent via the employee's configured channels..

2. Observe the result and verify the full behavior: Alerts are sent via the employee's configured channels..

**Expected Result:** Alerts are sent via the employee's configured channels. — delivered exactly as documented.

**Priority:** High

### TC-COR-8-01-009 — Rule: Events (viewed) are logged with the account and the timestamp.

**Type:** Positive

**Covers:** 8.1.1 → Events (viewed) are logged with the account and the timestamp.; Rule: Events (viewed) are logged with the account and the timestamp..

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Events (viewed) are logged with the account and the timestamp..

2. Observe the result and verify the full behavior: Events (viewed) are logged with the account and the timestamp..

**Expected Result:** Events (viewed) are logged with the account and the timestamp. — delivered exactly as documented.

**Priority:** High

### TC-COR-8-01-010 — Rule: The mandatory training alerts are audit-logged with the account and the timestamp.

**Type:** Positive

**Covers:** 8.1.1 → The mandatory training alerts are audit-logged with the account and the timestamp.; Rule: The mandatory training alerts are audit-logged with the account and the timestamp..

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: The mandatory training alerts are audit-logged with the account and the timestamp..

2. Observe the result and verify the full behavior: The mandatory training alerts are audit-logged with the account and the timestamp..

**Expected Result:** The mandatory training alerts are audit-logged with the account and the timestamp. — delivered exactly as documented.

**Priority:** High


## 8.1.2 Certification Expiry Alerts

### TC-COR-8-01-011 — Expiry warning to the holder

**Type:** Positive

**Covers:** 8.1.2 → Expiry warning to the holder; Rule: The expiry window defaults to 60 days and is configurable.

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Expiry warning to the holder.

2. Observe the result and verify the full behavior: Expiry warning to the holder.

**Expected Result:** Expiry warning to the holder — delivered exactly as documented.

**Priority:** Critical

### TC-COR-8-01-012 — Expiry warning to the admin

**Type:** Positive

**Covers:** 8.1.2 → Expiry warning to the admin; Rule: The expiry window defaults to 60 days and is configurable.

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Expiry warning to the admin.

2. Observe the result and verify the full behavior: Expiry warning to the admin.

**Expected Result:** Expiry warning to the admin — delivered exactly as documented.

**Priority:** Critical

### TC-COR-8-01-013 — Lapsed certification alert

**Type:** Positive

**Covers:** 8.1.2 → Lapsed certification alert; Rule: The expiry window defaults to 60 days and is configurable.

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Lapsed certification alert.

2. Observe the result and verify the full behavior: Lapsed certification alert.

**Expected Result:** Lapsed certification alert — delivered exactly as documented.

**Priority:** Critical

### TC-COR-8-01-014 — Renewal-assignment reminder

**Type:** Positive

**Covers:** 8.1.2 → Renewal-assignment reminder; Rule: The expiry window defaults to 60 days and is configurable.

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Renewal-assignment reminder.

2. Observe the result and verify the full behavior: Renewal-assignment reminder.

**Expected Result:** Renewal-assignment reminder — delivered exactly as documented.

**Priority:** Critical

### TC-COR-8-01-015 — Available on web and mobile

**Type:** Positive

**Covers:** 8.1.2 → Available on web and mobile; Rule: The expiry window defaults to 60 days and is configurable.

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Available on web and mobile.

2. Observe the result and verify the full behavior: Available on web and mobile.

**Expected Result:** Available on web and mobile — delivered exactly as documented.

**Priority:** Critical

### TC-COR-8-01-016 — Event logging (viewed)

**Type:** Positive

**Covers:** 8.1.2 → Event logging (viewed); Rule: The expiry window defaults to 60 days and is configurable.

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Event logging (viewed).

2. Observe the result and verify the full behavior: Event logging (viewed).

**Expected Result:** Event logging (viewed) — delivered exactly as documented.

**Priority:** Medium

### TC-COR-8-01-017 — Audit logging of the certification expiry alerts

**Type:** Positive

**Covers:** 8.1.2 → Audit logging of the certification expiry alerts; Rule: The expiry window defaults to 60 days and is configurable.

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Audit logging of the certification expiry alerts.

2. Observe the result and verify the full behavior: Audit logging of the certification expiry alerts.

**Expected Result:** Audit logging of the certification expiry alerts — delivered exactly as documented.

**Priority:** Medium

### TC-COR-8-01-018 — Rule: The expiry window defaults to 60 days and is configurable.

**Type:** Positive

**Covers:** 8.1.2 → The expiry window defaults to 60 days and is configurable.; Rule: The expiry window defaults to 60 days and is configurable..

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: The expiry window defaults to 60 days and is configurable..

2. Observe the result and verify the full behavior: The expiry window defaults to 60 days and is configurable..

**Expected Result:** The expiry window defaults to 60 days and is configurable. — delivered exactly as documented.

**Priority:** High

### TC-COR-8-01-019 — Rule: Events (viewed) are logged with the account and the timestamp.

**Type:** Positive

**Covers:** 8.1.2 → Events (viewed) are logged with the account and the timestamp.; Rule: Events (viewed) are logged with the account and the timestamp..

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Events (viewed) are logged with the account and the timestamp..

2. Observe the result and verify the full behavior: Events (viewed) are logged with the account and the timestamp..

**Expected Result:** Events (viewed) are logged with the account and the timestamp. — delivered exactly as documented.

**Priority:** High

### TC-COR-8-01-020 — Rule: The certification expiry alerts are audit-logged with the account and the timestamp.

**Type:** Positive

**Covers:** 8.1.2 → The certification expiry alerts are audit-logged with the account and the timestamp.; Rule: The certification expiry alerts are audit-logged with the account and the timestamp..

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: The certification expiry alerts are audit-logged with the account and the timestamp..

2. Observe the result and verify the full behavior: The certification expiry alerts are audit-logged with the account and the timestamp..

**Expected Result:** The certification expiry alerts are audit-logged with the account and the timestamp. — delivered exactly as documented.

**Priority:** High


## 8.1.3 Escalation Notifications

### TC-COR-8-01-021 — 14-day overdue escalation to the manager

**Type:** Positive

**Covers:** 8.1.3 → 14-day overdue escalation to the manager; Rule: Escalation thresholds match the Mandatory Training escalation settings.

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: 14-day overdue escalation to the manager.

2. Observe the result and verify the full behavior: 14-day overdue escalation to the manager.

**Expected Result:** 14-day overdue escalation to the manager — delivered exactly as documented.

**Priority:** Critical

### TC-COR-8-01-022 — 30-day overdue escalation to the admin

**Type:** Positive

**Covers:** 8.1.3 → 30-day overdue escalation to the admin; Rule: Escalation thresholds match the Mandatory Training escalation settings.

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: 30-day overdue escalation to the admin.

2. Observe the result and verify the full behavior: 30-day overdue escalation to the admin.

**Expected Result:** 30-day overdue escalation to the admin — delivered exactly as documented.

**Priority:** Critical

### TC-COR-8-01-023 — Escalation summary with affected employees

**Type:** Positive

**Covers:** 8.1.3 → Escalation summary with affected employees; Rule: Escalation thresholds match the Mandatory Training escalation settings.

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Escalation summary with affected employees.

2. Observe the result and verify the full behavior: Escalation summary with affected employees.

**Expected Result:** Escalation summary with affected employees — delivered exactly as documented.

**Priority:** Critical

### TC-COR-8-01-024 — Escalation resolution notice on completion

**Type:** Positive

**Covers:** 8.1.3 → Escalation resolution notice on completion; Rule: Escalation thresholds match the Mandatory Training escalation settings.

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Escalation resolution notice on completion.

2. Observe the result and verify the full behavior: Escalation resolution notice on completion.

**Expected Result:** Escalation resolution notice on completion — delivered exactly as documented.

**Priority:** Critical

### TC-COR-8-01-025 — Available on web and mobile

**Type:** Positive

**Covers:** 8.1.3 → Available on web and mobile; Rule: Escalation thresholds match the Mandatory Training escalation settings.

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Available on web and mobile.

2. Observe the result and verify the full behavior: Available on web and mobile.

**Expected Result:** Available on web and mobile — delivered exactly as documented.

**Priority:** Critical

### TC-COR-8-01-026 — Event logging (viewed)

**Type:** Positive

**Covers:** 8.1.3 → Event logging (viewed); Rule: Escalation thresholds match the Mandatory Training escalation settings.

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Event logging (viewed).

2. Observe the result and verify the full behavior: Event logging (viewed).

**Expected Result:** Event logging (viewed) — delivered exactly as documented.

**Priority:** Medium

### TC-COR-8-01-027 — Audit logging of the escalation notifications

**Type:** Positive

**Covers:** 8.1.3 → Audit logging of the escalation notifications; Rule: Escalation thresholds match the Mandatory Training escalation settings.

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Audit logging of the escalation notifications.

2. Observe the result and verify the full behavior: Audit logging of the escalation notifications.

**Expected Result:** Audit logging of the escalation notifications — delivered exactly as documented.

**Priority:** Medium

### TC-COR-8-01-028 — Rule: Escalation thresholds match the Mandatory Training escalation settings.

**Type:** Positive

**Covers:** 8.1.3 → Escalation thresholds match the Mandatory Training escalation settings.; Rule: Escalation thresholds match the Mandatory Training escalation settings..

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Escalation thresholds match the Mandatory Training escalation settings..

2. Observe the result and verify the full behavior: Escalation thresholds match the Mandatory Training escalation settings..

**Expected Result:** Escalation thresholds match the Mandatory Training escalation settings. — delivered exactly as documented.

**Priority:** High

### TC-COR-8-01-029 — Rule: Events (viewed) are logged with the account and the timestamp.

**Type:** Positive

**Covers:** 8.1.3 → Events (viewed) are logged with the account and the timestamp.; Rule: Events (viewed) are logged with the account and the timestamp..

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: Events (viewed) are logged with the account and the timestamp..

2. Observe the result and verify the full behavior: Events (viewed) are logged with the account and the timestamp..

**Expected Result:** Events (viewed) are logged with the account and the timestamp. — delivered exactly as documented.

**Priority:** High

### TC-COR-8-01-030 — Rule: The escalation notifications are audit-logged with the account and the timestamp.

**Type:** Positive

**Covers:** 8.1.3 → The escalation notifications are audit-logged with the account and the timestamp.; Rule: The escalation notifications are audit-logged with the account and the timestamp..

**Preconditions:** A Corporate account is active and the Corporate user is in the state required for this behavior.

**Steps:**

1. As a Corporate user, set up the precondition and perform: The escalation notifications are audit-logged with the account and the timestamp..

2. Observe the result and verify the full behavior: The escalation notifications are audit-logged with the account and the timestamp..

**Expected Result:** The escalation notifications are audit-logged with the account and the timestamp. — delivered exactly as documented.

**Priority:** High
