# 2. Stress Management Training — Test Cases

User Type: **Super Administrator**
Source: *Mi Digital Academy - Education CRM Features Document*
Spec: stress_management_training.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 |
|---------|--------------------|----------|
| 2.1 Anxiety Reduction Techniques | Technique enablement | TC-SA-EH-02-001 |
| 2.1 Anxiety Reduction Techniques | Technique library | TC-SA-EH-02-002 |
| 2.1 Anxiety Reduction Techniques | Technique assignment | TC-SA-EH-02-003 |
| 2.1 Anxiety Reduction Techniques | Technique status | TC-SA-EH-02-004 |
| 2.1 Anxiety Reduction Techniques | Technique log | TC-SA-EH-02-005 |
| 2.1 Anxiety Reduction Techniques | Rule: a technique without a library cannot be assigned | TC-SA-EH-02-006 |
| 2.1 Anxiety Reduction Techniques | Rule: technique actions are audit-logged | TC-SA-EH-02-007 |
| 2.2 Breathing Exercises | Exercise enablement | TC-SA-EH-02-008 |
| 2.2 Breathing Exercises | Exercise library | TC-SA-EH-02-009 |
| 2.2 Breathing Exercises | Exercise duration | TC-SA-EH-02-010 |
| 2.2 Breathing Exercises | Exercise status | TC-SA-EH-02-011 |
| 2.2 Breathing Exercises | Exercise log | TC-SA-EH-02-012 |
| 2.2 Breathing Exercises | Rule: an exercise without a library cannot be set | TC-SA-EH-02-013 |
| 2.2 Breathing Exercises | Rule: exercise actions are audit-logged | TC-SA-EH-02-014 |
| 2.3 Positive Visualization | Visualization enablement | TC-SA-EH-02-015 |
| 2.3 Positive Visualization | Visualization library | TC-SA-EH-02-016 |
| 2.3 Positive Visualization | Visualization duration | TC-SA-EH-02-017 |
| 2.3 Positive Visualization | Visualization status | TC-SA-EH-02-018 |
| 2.3 Positive Visualization | Visualization log | TC-SA-EH-02-019 |
| 2.3 Positive Visualization | Rule: a visualization without a library cannot be set | TC-SA-EH-02-020 |
| 2.3 Positive Visualization | Rule: visualization actions are audit-logged | TC-SA-EH-02-021 |
| 2.4 Performance Psychology | Psychology enablement | TC-SA-EH-02-022 |
| 2.4 Performance Psychology | Psychology content | TC-SA-EH-02-023 |
| 2.4 Performance Psychology | Psychology duration | TC-SA-EH-02-024 |
| 2.4 Performance Psychology | Psychology status | TC-SA-EH-02-025 |
| 2.4 Performance Psychology | Psychology log | TC-SA-EH-02-026 |
| 2.4 Performance Psychology | Rule: a psychology without a content cannot be set | TC-SA-EH-02-027 |
| 2.4 Performance Psychology | Rule: psychology actions are audit-logged | TC-SA-EH-02-028 |

### TC-SA-EH-02-001 — Technique enablement
**Type:** Positive
**Covers:** 2.1 → Technique enablement: the enablement of the anxiety reduction
**Preconditions:** A Super Admin account is active.
**Steps:**
1. As a Super Admin, enable the anxiety reduction and save.
2. Observe the result and verify the full behavior: the anxiety reduction is enabled.
**Expected Result:** The enablement works — the anxiety reduction is enabled, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-02-002 — Technique library
**Type:** Positive
**Covers:** 2.1 → Technique library: the library of the techniques
**Preconditions:** A Super Admin account is active; the anxiety reduction is enabled.
**Steps:**
1. As a Super Admin, set the technique library and save.
2. Observe the result and verify the full behavior: the library is applied.
**Expected Result:** The library is set — it is applied, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-02-003 — Technique assignment
**Type:** Positive
**Covers:** 2.1 → Technique assignment: the assignment of the techniques
**Preconditions:** A Super Admin account is active; a technique library exists.
**Steps:**
1. As a Super Admin, assign the techniques to learners and save.
2. Observe the result and verify the full behavior: the techniques are assigned.
**Expected Result:** The assignment works — the techniques are assigned, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-02-004 — Technique status
**Type:** Positive
**Covers:** 2.1 → Technique status: the status of the techniques
**Preconditions:** A Super Admin account is active; techniques are assigned.
**Steps:**
1. As a Super Admin, view the technique status.
2. Observe the result and verify the full behavior: the status is shown.
**Expected Result:** The status is shown — it reflects the state, delivered exactly as documented.
**Priority:** Low

### TC-SA-EH-02-005 — Technique log
**Type:** Positive
**Covers:** 2.1 → Technique log: the log of the techniques
**Preconditions:** A Super Admin account is active; techniques exist.
**Steps:**
1. As a Super Admin, open the technique log.
2. Observe the result and verify the full behavior: the techniques are listed.
**Expected Result:** The log is shown — the techniques are listed, delivered exactly as documented.
**Priority:** Low

### TC-SA-EH-02-006 — Rule: a technique without a library cannot be assigned
**Type:** Negative
**Covers:** 2.1 → Rule: a technique without a library cannot be assigned
**Preconditions:** A Super Admin account is active; no technique library exists.
**Steps:**
1. As a Super Admin, attempt to assign the techniques without a library.
2. Observe the result and verify the full behavior: the assignment is blocked.
**Expected Result:** The assignment is blocked — the library precondition is enforced, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-02-007 — Rule: technique actions are audit-logged
**Type:** Positive
**Covers:** 2.1 → Audit logging of anxiety reduction techniques
**Preconditions:** A Super Admin account is active; the audit log is accessible.
**Steps:**
1. As a Super Admin, enable the anxiety reduction and save.
2. Open the audit log.
3. Observe the result and verify the full behavior: the action is recorded with the actor and timestamp.
**Expected Result:** The action is audit-logged — the actor and timestamp are recorded, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-02-008 — Exercise enablement
**Type:** Positive
**Covers:** 2.2 → Exercise enablement: the enablement of the breathing exercises
**Preconditions:** A Super Admin account is active.
**Steps:**
1. As a Super Admin, enable the breathing exercises and save.
2. Observe the result and verify the full behavior: the breathing exercises are enabled.
**Expected Result:** The enablement works — the breathing exercises are enabled, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-02-009 — Exercise library
**Type:** Positive
**Covers:** 2.2 → Exercise library: the library of the exercises
**Preconditions:** A Super Admin account is active; the breathing exercises are enabled.
**Steps:**
1. As a Super Admin, set the exercise library and save.
2. Observe the result and verify the full behavior: the library is applied.
**Expected Result:** The library is set — it is applied, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-02-010 — Exercise duration
**Type:** Positive
**Covers:** 2.2 → Exercise duration: the duration of the exercises
**Preconditions:** A Super Admin account is active; the breathing exercises are enabled.
**Steps:**
1. As a Super Admin, set the exercise duration and save.
2. Observe the result and verify the full behavior: the duration is applied.
**Expected Result:** The duration is set — it is applied, delivered exactly as documented.
**Priority:** Medium

### TC-SA-EH-02-011 — Exercise status
**Type:** Positive
**Covers:** 2.2 → Exercise status: the status of the exercises
**Preconditions:** A Super Admin account is active; the breathing exercises are enabled.
**Steps:**
1. As a Super Admin, view the exercise status.
2. Observe the result and verify the full behavior: the status is shown.
**Expected Result:** The status is shown — it reflects the state, delivered exactly as documented.
**Priority:** Low

### TC-SA-EH-02-012 — Exercise log
**Type:** Positive
**Covers:** 2.2 → Exercise log: the log of the exercises
**Preconditions:** A Super Admin account is active; exercises exist.
**Steps:**
1. As a Super Admin, open the exercise log.
2. Observe the result and verify the full behavior: the exercises are listed.
**Expected Result:** The log is shown — the exercises are listed, delivered exactly as documented.
**Priority:** Low

### TC-SA-EH-02-013 — Rule: an exercise without a library cannot be set
**Type:** Negative
**Covers:** 2.2 → Rule: an exercise without a library cannot be set
**Preconditions:** A Super Admin account is active; no exercise library exists.
**Steps:**
1. As a Super Admin, attempt to set the exercise without a library.
2. Observe the result and verify the full behavior: the exercise is not set.
**Expected Result:** The exercise is not set — the library precondition is enforced, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-02-014 — Rule: exercise actions are audit-logged
**Type:** Positive
**Covers:** 2.2 → Audit logging of breathing exercises
**Preconditions:** A Super Admin account is active; the audit log is accessible.
**Steps:**
1. As a Super Admin, enable the breathing exercises and save.
2. Open the audit log.
3. Observe the result and verify the full behavior: the action is recorded with the actor and timestamp.
**Expected Result:** The action is audit-logged — the actor and timestamp are recorded, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-02-015 — Visualization enablement
**Type:** Positive
**Covers:** 2.3 → Visualization enablement: the enablement of the positive visualization
**Preconditions:** A Super Admin account is active.
**Steps:**
1. As a Super Admin, enable the positive visualization and save.
2. Observe the result and verify the full behavior: the positive visualization is enabled.
**Expected Result:** The enablement works — the positive visualization is enabled, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-02-016 — Visualization library
**Type:** Positive
**Covers:** 2.3 → Visualization library: the library of the visualizations
**Preconditions:** A Super Admin account is active; the positive visualization is enabled.
**Steps:**
1. As a Super Admin, set the visualization library and save.
2. Observe the result and verify the full behavior: the library is applied.
**Expected Result:** The library is set — it is applied, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-02-017 — Visualization duration
**Type:** Positive
**Covers:** 2.3 → Visualization duration: the duration of the visualizations
**Preconditions:** A Super Admin account is active; the positive visualization is enabled.
**Steps:**
1. As a Super Admin, set the visualization duration and save.
2. Observe the result and verify the full behavior: the duration is applied.
**Expected Result:** The duration is set — it is applied, delivered exactly as documented.
**Priority:** Medium

### TC-SA-EH-02-018 — Visualization status
**Type:** Positive
**Covers:** 2.3 → Visualization status: the status of the visualizations
**Preconditions:** A Super Admin account is active; the positive visualization is enabled.
**Steps:**
1. As a Super Admin, view the visualization status.
2. Observe the result and verify the full behavior: the status is shown.
**Expected Result:** The status is shown — it reflects the state, delivered exactly as documented.
**Priority:** Low

### TC-SA-EH-02-019 — Visualization log
**Type:** Positive
**Covers:** 2.3 → Visualization log: the log of the visualizations
**Preconditions:** A Super Admin account is active; visualizations exist.
**Steps:**
1. As a Super Admin, open the visualization log.
2. Observe the result and verify the full behavior: the visualizations are listed.
**Expected Result:** The log is shown — the visualizations are listed, delivered exactly as documented.
**Priority:** Low

### TC-SA-EH-02-020 — Rule: a visualization without a library cannot be set
**Type:** Negative
**Covers:** 2.3 → Rule: a visualization without a library cannot be set
**Preconditions:** A Super Admin account is active; no visualization library exists.
**Steps:**
1. As a Super Admin, attempt to set the visualization without a library.
2. Observe the result and verify the full behavior: the visualization is not set.
**Expected Result:** The visualization is not set — the library precondition is enforced, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-02-021 — Rule: visualization actions are audit-logged
**Type:** Positive
**Covers:** 2.3 → Audit logging of positive visualization
**Preconditions:** A Super Admin account is active; the audit log is accessible.
**Steps:**
1. As a Super Admin, enable the positive visualization and save.
2. Open the audit log.
3. Observe the result and verify the full behavior: the action is recorded with the actor and timestamp.
**Expected Result:** The action is audit-logged — the actor and timestamp are recorded, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-02-022 — Psychology enablement
**Type:** Positive
**Covers:** 2.4 → Psychology enablement: the enablement of the performance psychology
**Preconditions:** A Super Admin account is active.
**Steps:**
1. As a Super Admin, enable the performance psychology and save.
2. Observe the result and verify the full behavior: the performance psychology is enabled.
**Expected Result:** The enablement works — the performance psychology is enabled, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-02-023 — Psychology content
**Type:** Positive
**Covers:** 2.4 → Psychology content: the content of the performance psychology
**Preconditions:** A Super Admin account is active; the performance psychology is enabled.
**Steps:**
1. As a Super Admin, set the psychology content and save.
2. Observe the result and verify the full behavior: the content is applied.
**Expected Result:** The content is set — it is applied, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-02-024 — Psychology duration
**Type:** Positive
**Covers:** 2.4 → Psychology duration: the duration of the performance psychology
**Preconditions:** A Super Admin account is active; the performance psychology is enabled.
**Steps:**
1. As a Super Admin, set the psychology duration and save.
2. Observe the result and verify the full behavior: the duration is applied.
**Expected Result:** The duration is set — it is applied, delivered exactly as documented.
**Priority:** Medium

### TC-SA-EH-02-025 — Psychology status
**Type:** Positive
**Covers:** 2.4 → Psychology status: the status of the performance psychology
**Preconditions:** A Super Admin account is active; the performance psychology is enabled.
**Steps:**
1. As a Super Admin, view the psychology status.
2. Observe the result and verify the full behavior: the status is shown.
**Expected Result:** The status is shown — it reflects the state, delivered exactly as documented.
**Priority:** Low

### TC-SA-EH-02-026 — Psychology log
**Type:** Positive
**Covers:** 2.4 → Psychology log: the log of the performance psychologies
**Preconditions:** A Super Admin account is active; performance psychologies exist.
**Steps:**
1. As a Super Admin, open the psychology log.
2. Observe the result and verify the full behavior: the performance psychologies are listed.
**Expected Result:** The log is shown — the performance psychologies are listed, delivered exactly as documented.
**Priority:** Low

### TC-SA-EH-02-027 — Rule: a psychology without a content cannot be set
**Type:** Negative
**Covers:** 2.4 → Rule: a psychology without a content cannot be set
**Preconditions:** A Super Admin account is active; no psychology content exists.
**Steps:**
1. As a Super Admin, attempt to set the psychology without a content.
2. Observe the result and verify the full behavior: the psychology is not set.
**Expected Result:** The psychology is not set — the content precondition is enforced, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-02-028 — Rule: psychology actions are audit-logged
**Type:** Positive
**Covers:** 2.4 → Audit logging of performance psychology
**Preconditions:** A Super Admin account is active; the audit log is accessible.
**Steps:**
1. As a Super Admin, enable the performance psychology and save.
2. Open the audit log.
3. Observe the result and verify the full behavior: the action is recorded with the actor and timestamp.
**Expected Result:** The action is audit-logged — the actor and timestamp are recorded, delivered exactly as documented.
**Priority:** High
