# 4. Rewards & Control Settings — Test Cases

User Type: **Parent**
Source: *Mi Digital Academy - Education CRM Features Document*
Spec: rewards_control_settings.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 Reward System | Define rewards for study goals | TC-PT-5-04-001 |
| 4.1 Reward System | Reward criteria (sessions, scores) | TC-PT-5-04-002 |
| 4.1 Reward System | Child earns rewards on meeting criteria | TC-PT-5-04-003 |
| 4.1 Reward System | Reward tracking for the child | TC-PT-5-04-004 |
| 4.1 Reward System | Parent redeems or manages rewards | TC-PT-5-04-005 |
| 4.1 Reward System | Reward history | TC-PT-5-04-006 |
| 4.1 Reward System | Rewards available on web and mobile | TC-PT-5-04-007 |
| 4.1 Reward System | Reward event logging (defined, earned, redeemed) | TC-PT-5-04-008 |
| 4.1 Reward System | Audit logging of the reward system | TC-PT-5-04-009 |
| 4.1 Reward System | Rule: The rewards are tied to study goals. | TC-PT-5-04-001 |
| 4.1 Reward System | Rule: The child earns rewards on meeting the criteria. | TC-PT-5-04-002 |
| 4.1 Reward System | Rule: The reward history is retained. | TC-PT-5-04-003 |
| 4.1 Reward System | Rule: Reward events (defined, earned, redeemed) are logged with the account and the timestamp. | TC-PT-5-04-004 |
| 4.1 Reward System | Rule: The reward system is audit-logged with the account and the timestamp. | TC-PT-5-04-005 |
| 4.2 Control Presets | Control presets (Balanced, Strict, Relaxed) | TC-PT-5-04-010 |
| 4.2 Control Presets | Apply a preset to the child | TC-PT-5-04-011 |
| 4.2 Control Presets | Preset applies a set of limits and restrictions | TC-PT-5-04-012 |
| 4.2 Control Presets | Fine-tune individual settings after applying | TC-PT-5-04-013 |
| 4.2 Control Presets | Current preset shown | TC-PT-5-04-014 |
| 4.2 Control Presets | Presets available on web and mobile | TC-PT-5-04-015 |
| 4.2 Control Presets | Preset event logging (applied, fine-tuned) | TC-PT-5-04-016 |
| 4.2 Control Presets | Audit logging of the control presets | TC-PT-5-04-017 |
| 4.2 Control Presets | Rule: The presets are pre-configured control profiles. | TC-PT-5-04-010 |
| 4.2 Control Presets | Rule: A preset applies a set of limits and restrictions. | TC-PT-5-04-011 |
| 4.2 Control Presets | Rule: Individual settings can be fine-tuned after applying. | TC-PT-5-04-012 |
| 4.2 Control Presets | Rule: Preset events (applied, fine-tuned) are logged with the account and the timestamp. | TC-PT-5-04-013 |
| 4.2 Control Presets | Rule: The control presets is audit-logged with the account and the timestamp. | TC-PT-5-04-014 |
| 4.3 Control Activity Log | Log of parental control actions | TC-PT-5-04-018 |
| 4.3 Control Activity Log | Limits set and restrictions applied | TC-PT-5-04-019 |
| 4.3 Control Activity Log | Sessions mandated and rewards given | TC-PT-5-04-020 |
| 4.3 Control Activity Log | Action history with timestamps | TC-PT-5-04-021 |
| 4.3 Control Activity Log | Filter the log by action type | TC-PT-5-04-022 |
| 4.3 Control Activity Log | Log available on web and mobile | TC-PT-5-04-023 |
| 4.3 Control Activity Log | Log event logging (viewed) | TC-PT-5-04-024 |
| 4.3 Control Activity Log | Audit logging of the control activity log | TC-PT-5-04-025 |
| 4.3 Control Activity Log | Rule: The log records parental control actions. | TC-PT-5-04-018 |
| 4.3 Control Activity Log | Rule: The log is with timestamps. | TC-PT-5-04-019 |
| 4.3 Control Activity Log | Rule: The log can be filtered by action type. | TC-PT-5-04-020 |
| 4.3 Control Activity Log | Rule: Log events (viewed) are logged with the account and the timestamp. | TC-PT-5-04-021 |
| 4.3 Control Activity Log | Rule: The control activity log is audit-logged with the account and the timestamp. | TC-PT-5-04-022 |

## 4.1 Reward System

### TC-PT-5-04-001 — Define rewards for study goals
**Type:** Positive
**Covers:** 4.1 → Define rewards for study goals; Rule: The rewards are tied to study goals.
**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: Define rewards for study goals.
2. Observe the result and verify the full behavior: Define rewards for study goals.
**Expected Result:** Define rewards for study goals — delivered exactly as documented.
**Priority:** Critical

### TC-PT-5-04-002 — Reward criteria (sessions, scores)
**Type:** Positive
**Covers:** 4.1 → Reward criteria (sessions, scores); Rule: The child earns rewards on meeting the criteria.
**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: Reward criteria (sessions.
2. Observe the result and verify the full behavior: Reward criteria (sessions, scores).
**Expected Result:** Reward criteria (sessions, scores) — delivered exactly as documented.
**Priority:** High

### TC-PT-5-04-003 — Child earns rewards on meeting criteria
**Type:** Positive
**Covers:** 4.1 → Child earns rewards on meeting criteria; Rule: The reward history is retained.
**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: Child earns rewards on meeting criteria.
2. Observe the result and verify the full behavior: Child earns rewards on meeting criteria.
**Expected Result:** Child earns rewards on meeting criteria — delivered exactly as documented.
**Priority:** High

### TC-PT-5-04-004 — Reward tracking for the child
**Type:** Positive
**Covers:** 4.1 → Reward tracking for the child; Rule: Reward events (defined, earned, redeemed) 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: Reward tracking for the child.
2. Observe the result and verify the full behavior: Reward tracking for the child.
**Expected Result:** Reward tracking for the child — delivered exactly as documented.
**Priority:** High

### TC-PT-5-04-005 — Parent redeems or manages rewards
**Type:** Positive
**Covers:** 4.1 → Parent redeems or manages rewards; Rule: The reward system 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: Parent redeems or manages rewards.
2. Observe the result and verify the full behavior: Parent redeems or manages rewards.
**Expected Result:** Parent redeems or manages rewards — delivered exactly as documented.
**Priority:** High

### TC-PT-5-04-006 — Reward history
**Type:** Positive
**Covers:** 4.1 → Reward history
**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: Reward history.
2. Observe the result and verify the full behavior: Reward history.
**Expected Result:** Reward history — delivered exactly as documented.
**Priority:** High

### TC-PT-5-04-007 — Rewards available on web and mobile
**Type:** Positive
**Covers:** 4.1 → Rewards 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: Rewards available on web and mobile.
2. Observe the result and verify the full behavior: Rewards available on web and mobile.
**Expected Result:** Rewards available on web and mobile — delivered exactly as documented.
**Priority:** High

### TC-PT-5-04-008 — Reward event logging (defined, earned, redeemed)
**Type:** Positive
**Covers:** 4.1 → Reward event logging (defined, earned, redeemed)
**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: Reward event logging (defined.
2. Observe the result and verify the full behavior: Reward event logging (defined, earned, redeemed).
**Expected Result:** Reward event logging (defined, earned, redeemed) — delivered exactly as documented.
**Priority:** High

### TC-PT-5-04-009 — Audit logging of the reward system
**Type:** Positive
**Covers:** 4.1 → Audit logging of the reward system
**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 reward system.
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 Control Presets

### TC-PT-5-04-010 — Control presets (Balanced, Strict, Relaxed)
**Type:** Positive
**Covers:** 4.2 → Control presets (Balanced, Strict, Relaxed); Rule: The presets are pre-configured control profiles.
**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: Control presets (Balanced.
2. Observe the result and verify the full behavior: Control presets (Balanced, Strict, Relaxed).
**Expected Result:** Control presets (Balanced, Strict, Relaxed) — delivered exactly as documented.
**Priority:** Critical

### TC-PT-5-04-011 — Apply a preset to the child
**Type:** Positive
**Covers:** 4.2 → Apply a preset to the child; Rule: A preset applies a set of limits and restrictions.
**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: Apply a preset to the child.
2. Observe the result and verify the full behavior: Apply a preset to the child.
**Expected Result:** Apply a preset to the child — delivered exactly as documented.
**Priority:** High

### TC-PT-5-04-012 — Preset applies a set of limits and restrictions
**Type:** Edge
**Covers:** 4.2 → Preset applies a set of limits and restrictions; Rule: Individual settings can be fine-tuned after applying.
**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: Preset applies a set of limits and restrictions.
2. Observe the result and verify the full behavior: Preset applies a set of limits and restrictions.
**Expected Result:** Preset applies a set of limits and restrictions — delivered exactly as documented.
**Priority:** High

### TC-PT-5-04-013 — Fine-tune individual settings after applying
**Type:** Positive
**Covers:** 4.2 → Fine-tune individual settings after applying; Rule: Preset events (applied, fine-tuned) 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: Fine-tune individual settings after applying.
2. Observe the result and verify the full behavior: Fine-tune individual settings after applying.
**Expected Result:** Fine-tune individual settings after applying — delivered exactly as documented.
**Priority:** High

### TC-PT-5-04-014 — Current preset shown
**Type:** Positive
**Covers:** 4.2 → Current preset shown; Rule: The control presets 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: Current preset shown.
2. Observe the result and verify the full behavior: Current preset shown.
**Expected Result:** Current preset shown — delivered exactly as documented.
**Priority:** High

### TC-PT-5-04-015 — Presets available on web and mobile
**Type:** Positive
**Covers:** 4.2 → Presets 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: Presets available on web and mobile.
2. Observe the result and verify the full behavior: Presets available on web and mobile.
**Expected Result:** Presets available on web and mobile — delivered exactly as documented.
**Priority:** High

### TC-PT-5-04-016 — Preset event logging (applied, fine-tuned)
**Type:** Positive
**Covers:** 4.2 → Preset event logging (applied, fine-tuned)
**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: Preset event logging (applied.
2. Observe the result and verify the full behavior: Preset event logging (applied, fine-tuned).
**Expected Result:** Preset event logging (applied, fine-tuned) — delivered exactly as documented.
**Priority:** High

### TC-PT-5-04-017 — Audit logging of the control presets
**Type:** Positive
**Covers:** 4.2 → Audit logging of the control presets
**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 control presets.
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 Control Activity Log

### TC-PT-5-04-018 — Log of parental control actions
**Type:** Positive
**Covers:** 4.3 → Log of parental control actions; Rule: The log records parental control actions.
**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: Log of parental control actions.
2. Observe the result and verify the full behavior: Log of parental control actions.
**Expected Result:** Log of parental control actions — delivered exactly as documented.
**Priority:** Critical

### TC-PT-5-04-019 — Limits set and restrictions applied
**Type:** Edge
**Covers:** 4.3 → Limits set and restrictions applied; Rule: The log is with timestamps.
**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: Limits set and restrictions applied.
2. Observe the result and verify the full behavior: Limits set and restrictions applied.
**Expected Result:** Limits set and restrictions applied — delivered exactly as documented.
**Priority:** High

### TC-PT-5-04-020 — Sessions mandated and rewards given
**Type:** Positive
**Covers:** 4.3 → Sessions mandated and rewards given; Rule: The log can be filtered by action type.
**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: Sessions mandated and rewards given.
2. Observe the result and verify the full behavior: Sessions mandated and rewards given.
**Expected Result:** Sessions mandated and rewards given — delivered exactly as documented.
**Priority:** High

### TC-PT-5-04-021 — Action history with timestamps
**Type:** Positive
**Covers:** 4.3 → Action history with timestamps; Rule: Log 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: Action history with timestamps.
2. Observe the result and verify the full behavior: Action history with timestamps.
**Expected Result:** Action history with timestamps — delivered exactly as documented.
**Priority:** High

### TC-PT-5-04-022 — Filter the log by action type
**Type:** Positive
**Covers:** 4.3 → Filter the log by action type; Rule: The control activity log 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: Filter the log by action type.
2. Observe the result and verify the full behavior: Filter the log by action type.
**Expected Result:** Filter the log by action type — delivered exactly as documented.
**Priority:** High

### TC-PT-5-04-023 — Log available on web and mobile
**Type:** Positive
**Covers:** 4.3 → Log 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: Log available on web and mobile.
2. Observe the result and verify the full behavior: Log available on web and mobile.
**Expected Result:** Log available on web and mobile — delivered exactly as documented.
**Priority:** High

### TC-PT-5-04-024 — Log event logging (viewed)
**Type:** Positive
**Covers:** 4.3 → Log 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: Log event logging (viewed).
2. Observe the result and verify the full behavior: Log event logging (viewed).
**Expected Result:** Log event logging (viewed) — delivered exactly as documented.
**Priority:** High

### TC-PT-5-04-025 — Audit logging of the control activity log
**Type:** Positive
**Covers:** 4.3 → Audit logging of the control activity log
**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 control activity log.
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
