# 1. Simulation Environment — Test Cases

User Type: **Super Administrator**
Source: *Mi Digital Academy - Education CRM Features Document*
Spec: simulation_environment.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 |
|---------|--------------------|----------|
| 1.1 Simulation Enablement | Enablement toggle | TC-SA-EH-01-001 |
| 1.1 Simulation Enablement | Enablement scope | TC-SA-EH-01-002 |
| 1.1 Simulation Enablement | Enablement status | TC-SA-EH-01-003 |
| 1.1 Simulation Enablement | Enablement log | TC-SA-EH-01-004 |
| 1.1 Simulation Enablement | Rule: a simulation without an enablement is not available | TC-SA-EH-01-005 |
| 1.1 Simulation Enablement | Rule: enablement actions are audit-logged | TC-SA-EH-01-006 |
| 1.2 Mock Exam Environment | Environment setup | TC-SA-EH-01-007 |
| 1.2 Mock Exam Environment | Environment layout | TC-SA-EH-01-008 |
| 1.2 Mock Exam Environment | Environment rules | TC-SA-EH-01-009 |
| 1.2 Mock Exam Environment | Environment status | TC-SA-EH-01-010 |
| 1.2 Mock Exam Environment | Environment log | TC-SA-EH-01-011 |
| 1.2 Mock Exam Environment | Rule: an environment without a setup cannot be used | TC-SA-EH-01-012 |
| 1.2 Mock Exam Environment | Rule: environment actions are audit-logged | TC-SA-EH-01-013 |
| 1.3 Time Pressure Training | Pressure enablement | TC-SA-EH-01-014 |
| 1.3 Time Pressure Training | Pressure duration | TC-SA-EH-01-015 |
| 1.3 Time Pressure Training | Pressure intensity | TC-SA-EH-01-016 |
| 1.3 Time Pressure Training | Pressure status | TC-SA-EH-01-017 |
| 1.3 Time Pressure Training | Pressure log | TC-SA-EH-01-018 |
| 1.3 Time Pressure Training | Rule: a pressure without a duration cannot be set | TC-SA-EH-01-019 |
| 1.3 Time Pressure Training | Rule: pressure actions are audit-logged | TC-SA-EH-01-020 |
| 1.4 No Pausing or Hints | Pause disablement | TC-SA-EH-01-021 |
| 1.4 No Pausing or Hints | Hint disablement | TC-SA-EH-01-022 |
| 1.4 No Pausing or Hints | Enforcement status | TC-SA-EH-01-023 |
| 1.4 No Pausing or Hints | Enforcement log | TC-SA-EH-01-024 |
| 1.4 No Pausing or Hints | Rule: a pause during the simulation is not allowed | TC-SA-EH-01-025 |
| 1.4 No Pausing or Hints | Rule: enforcement actions are audit-logged | TC-SA-EH-01-026 |
| 1.5 Realistic Scoring | Scoring enablement | TC-SA-EH-01-027 |
| 1.5 Realistic Scoring | Scoring criteria | TC-SA-EH-01-028 |
| 1.5 Realistic Scoring | Scoring scale | TC-SA-EH-01-029 |
| 1.5 Realistic Scoring | Scoring status | TC-SA-EH-01-030 |
| 1.5 Realistic Scoring | Scoring log | TC-SA-EH-01-031 |
| 1.5 Realistic Scoring | Rule: a scoring without a criteria cannot be set | TC-SA-EH-01-032 |
| 1.5 Realistic Scoring | Rule: scoring actions are audit-logged | TC-SA-EH-01-033 |

### TC-SA-EH-01-001 — Enablement toggle
**Type:** Positive
**Covers:** 1.1 → Enablement toggle: the toggle of the simulation
**Preconditions:** A Super Admin account is active.
**Steps:**
1. As a Super Admin, toggle the simulation on and save.
2. Observe the result and verify the full behavior: the simulation is enabled.
**Expected Result:** The toggle works — the simulation is enabled, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-01-002 — Enablement scope
**Type:** Positive
**Covers:** 1.1 → Enablement scope: the scope of the enablement
**Preconditions:** A Super Admin account is active; the simulation is enabled.
**Steps:**
1. As a Super Admin, set the enablement scope and save.
2. Observe the result and verify the full behavior: the scope is applied.
**Expected Result:** The scope is set — it is applied, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-01-003 — Enablement status
**Type:** Positive
**Covers:** 1.1 → Enablement status: the status of the enablement
**Preconditions:** A Super Admin account is active; the simulation is enabled.
**Steps:**
1. As a Super Admin, view the enablement 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-01-004 — Enablement log
**Type:** Positive
**Covers:** 1.1 → Enablement log: the log of the enablements
**Preconditions:** A Super Admin account is active; enablements exist.
**Steps:**
1. As a Super Admin, open the enablement log.
2. Observe the result and verify the full behavior: the enablements are listed.
**Expected Result:** The log is shown — the enablements are listed, delivered exactly as documented.
**Priority:** Low

### TC-SA-EH-01-005 — Rule: a simulation without an enablement is not available
**Type:** Negative
**Covers:** 1.1 → Rule: a simulation without an enablement is not available
**Preconditions:** A Super Admin account is active; the simulation is disabled.
**Steps:**
1. As a learner, attempt to access the simulation.
2. Observe the result and verify the full behavior: the simulation is not available.
**Expected Result:** The simulation is not available — the enablement precondition is enforced, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-01-006 — Rule: enablement actions are audit-logged
**Type:** Positive
**Covers:** 1.1 → Audit logging of simulation enablement
**Preconditions:** A Super Admin account is active; the audit log is accessible.
**Steps:**
1. As a Super Admin, enable the simulation 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-01-007 — Environment setup
**Type:** Positive
**Covers:** 1.2 → Environment setup: the setup of the mock exam environment
**Preconditions:** A Super Admin account is active; the simulation is enabled.
**Steps:**
1. As a Super Admin, set up the mock exam environment and save.
2. Observe the result and verify the full behavior: the environment is set up.
**Expected Result:** The setup works — the environment is set up, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-01-008 — Environment layout
**Type:** Positive
**Covers:** 1.2 → Environment layout: the layout of the environment
**Preconditions:** A Super Admin account is active; the environment is set up.
**Steps:**
1. As a Super Admin, set the environment layout and save.
2. Observe the result and verify the full behavior: the layout is applied.
**Expected Result:** The layout is set — it is applied, delivered exactly as documented.
**Priority:** Medium

### TC-SA-EH-01-009 — Environment rules
**Type:** Positive
**Covers:** 1.2 → Environment rules: the rules of the environment
**Preconditions:** A Super Admin account is active; the environment is set up.
**Steps:**
1. As a Super Admin, configure the environment rules and save.
2. Observe the result and verify the full behavior: the rules are applied.
**Expected Result:** The rules are set — they are applied, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-01-010 — Environment status
**Type:** Positive
**Covers:** 1.2 → Environment status: the status of the environment
**Preconditions:** A Super Admin account is active; the environment is set up.
**Steps:**
1. As a Super Admin, view the environment 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-01-011 — Environment log
**Type:** Positive
**Covers:** 1.2 → Environment log: the log of the environments
**Preconditions:** A Super Admin account is active; environments exist.
**Steps:**
1. As a Super Admin, open the environment log.
2. Observe the result and verify the full behavior: the environments are listed.
**Expected Result:** The log is shown — the environments are listed, delivered exactly as documented.
**Priority:** Low

### TC-SA-EH-01-012 — Rule: an environment without a setup cannot be used
**Type:** Negative
**Covers:** 1.2 → Rule: an environment without a setup cannot be used
**Preconditions:** A Super Admin account is active; no environment is set up.
**Steps:**
1. As a learner, attempt to use the environment.
2. Observe the result and verify the full behavior: the environment is not usable.
**Expected Result:** The environment is not usable — the setup precondition is enforced, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-01-013 — Rule: environment actions are audit-logged
**Type:** Positive
**Covers:** 1.2 → Audit logging of mock exam environment
**Preconditions:** A Super Admin account is active; the audit log is accessible.
**Steps:**
1. As a Super Admin, set up the environment 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-01-014 — Pressure enablement
**Type:** Positive
**Covers:** 1.3 → Pressure enablement: the enablement of the time pressure
**Preconditions:** A Super Admin account is active; the simulation is enabled.
**Steps:**
1. As a Super Admin, enable the time pressure and save.
2. Observe the result and verify the full behavior: the time pressure is enabled.
**Expected Result:** The enablement works — the time pressure is enabled, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-01-015 — Pressure duration
**Type:** Positive
**Covers:** 1.3 → Pressure duration: the duration of the time pressure
**Preconditions:** A Super Admin account is active; the time pressure is enabled.
**Steps:**
1. As a Super Admin, set the pressure 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:** High

### TC-SA-EH-01-016 — Pressure intensity
**Type:** Positive
**Covers:** 1.3 → Pressure intensity: the intensity of the time pressure
**Preconditions:** A Super Admin account is active; the time pressure is enabled.
**Steps:**
1. As a Super Admin, set the pressure intensity and save.
2. Observe the result and verify the full behavior: the intensity is applied.
**Expected Result:** The intensity is set — it is applied, delivered exactly as documented.
**Priority:** Medium

### TC-SA-EH-01-017 — Pressure status
**Type:** Positive
**Covers:** 1.3 → Pressure status: the status of the time pressure
**Preconditions:** A Super Admin account is active; the time pressure is enabled.
**Steps:**
1. As a Super Admin, view the pressure 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-01-018 — Pressure log
**Type:** Positive
**Covers:** 1.3 → Pressure log: the log of the time pressures
**Preconditions:** A Super Admin account is active; time pressures exist.
**Steps:**
1. As a Super Admin, open the pressure log.
2. Observe the result and verify the full behavior: the time pressures are listed.
**Expected Result:** The log is shown — the time pressures are listed, delivered exactly as documented.
**Priority:** Low

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

### TC-SA-EH-01-020 — Rule: pressure actions are audit-logged
**Type:** Positive
**Covers:** 1.3 → Audit logging of time pressure training
**Preconditions:** A Super Admin account is active; the audit log is accessible.
**Steps:**
1. As a Super Admin, enable the time pressure 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-01-021 — Pause disablement
**Type:** Positive
**Covers:** 1.4 → Pause disablement: the disablement of the pause
**Preconditions:** A Super Admin account is active; the simulation is enabled.
**Steps:**
1. As a Super Admin, disable the pause and save.
2. Observe the result and verify the full behavior: the pause is disabled.
**Expected Result:** The disablement works — the pause is disabled, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-01-022 — Hint disablement
**Type:** Positive
**Covers:** 1.4 → Hint disablement: the disablement of the hints
**Preconditions:** A Super Admin account is active; the simulation is enabled.
**Steps:**
1. As a Super Admin, disable the hints and save.
2. Observe the result and verify the full behavior: the hints are disabled.
**Expected Result:** The disablement works — the hints are disabled, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-01-023 — Enforcement status
**Type:** Positive
**Covers:** 1.4 → Enforcement status: the status of the enforcement
**Preconditions:** A Super Admin account is active; the enforcement is set.
**Steps:**
1. As a Super Admin, view the enforcement 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-01-024 — Enforcement log
**Type:** Positive
**Covers:** 1.4 → Enforcement log: the log of the enforcements
**Preconditions:** A Super Admin account is active; enforcements exist.
**Steps:**
1. As a Super Admin, open the enforcement log.
2. Observe the result and verify the full behavior: the enforcements are listed.
**Expected Result:** The log is shown — the enforcements are listed, delivered exactly as documented.
**Priority:** Low

### TC-SA-EH-01-025 — Rule: a pause during the simulation is not allowed
**Type:** Negative
**Covers:** 1.4 → Rule: a pause during the simulation is not allowed
**Preconditions:** A Super Admin account is active; the pause is disabled.
**Steps:**
1. As a learner, attempt to pause during the simulation.
2. Observe the result and verify the full behavior: the pause is not allowed.
**Expected Result:** The pause is not allowed — the disablement is enforced, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-01-026 — Rule: enforcement actions are audit-logged
**Type:** Positive
**Covers:** 1.4 → Audit logging of no pausing or hints
**Preconditions:** A Super Admin account is active; the audit log is accessible.
**Steps:**
1. As a Super Admin, disable the pause 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-01-027 — Scoring enablement
**Type:** Positive
**Covers:** 1.5 → Scoring enablement: the enablement of the realistic scoring
**Preconditions:** A Super Admin account is active; the simulation is enabled.
**Steps:**
1. As a Super Admin, enable the realistic scoring and save.
2. Observe the result and verify the full behavior: the scoring is enabled.
**Expected Result:** The enablement works — the scoring is enabled, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-01-028 — Scoring criteria
**Type:** Positive
**Covers:** 1.5 → Scoring criteria: the criteria of the scoring
**Preconditions:** A Super Admin account is active; the scoring is enabled.
**Steps:**
1. As a Super Admin, set the scoring criteria and save.
2. Observe the result and verify the full behavior: the criteria are applied.
**Expected Result:** The criteria are set — they are applied, delivered exactly as documented.
**Priority:** High

### TC-SA-EH-01-029 — Scoring scale
**Type:** Positive
**Covers:** 1.5 → Scoring scale: the scale of the scoring
**Preconditions:** A Super Admin account is active; the scoring is enabled.
**Steps:**
1. As a Super Admin, set the scoring scale and save.
2. Observe the result and verify the full behavior: the scale is applied.
**Expected Result:** The scale is set — it is applied, delivered exactly as documented.
**Priority:** Medium

### TC-SA-EH-01-030 — Scoring status
**Type:** Positive
**Covers:** 1.5 → Scoring status: the status of the scoring
**Preconditions:** A Super Admin account is active; the scoring is enabled.
**Steps:**
1. As a Super Admin, view the scoring 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-01-031 — Scoring log
**Type:** Positive
**Covers:** 1.5 → Scoring log: the log of the scorings
**Preconditions:** A Super Admin account is active; scorings exist.
**Steps:**
1. As a Super Admin, open the scoring log.
2. Observe the result and verify the full behavior: the scorings are listed.
**Expected Result:** The log is shown — the scorings are listed, delivered exactly as documented.
**Priority:** Low

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

### TC-SA-EH-01-033 — Rule: scoring actions are audit-logged
**Type:** Positive
**Covers:** 1.5 → Audit logging of realistic scoring
**Preconditions:** A Super Admin account is active; the audit log is accessible.
**Steps:**
1. As a Super Admin, enable the scoring 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
