# 3. Quick Actions & Widgets — Test Cases

User Type: **Student**
Source: *Mi Digital Academy - Education CRM Features Document*
Spec: quick_actions_widgets.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 |
|---------|--------------------|----------|
| 3.1 Home Screen Widgets | Daily study goal progress widget | TC-ST-13-03-001 |
| 3.1 Home Screen Widgets | Quick access to the current course widget | TC-ST-13-03-002 |
| 3.1 Home Screen Widgets | Upcoming tests reminder widget | TC-ST-13-03-003 |
| 3.1 Home Screen Widgets | Streak counter widget | TC-ST-13-03-004 |
| 3.1 Home Screen Widgets | Add a widget to the home screen | TC-ST-13-03-005 |
| 3.1 Home Screen Widgets | Widget updates in real time | TC-ST-13-03-006 |
| 3.1 Home Screen Widgets | Widget event logging (added, viewed) | TC-ST-13-03-007 |
| 3.1 Home Screen Widgets | Audit logging of the home screen widgets | TC-ST-13-03-008 |
| 3.1 Home Screen Widgets | Rule: Widgets are added to the home screen. | TC-ST-13-03-001 |
| 3.1 Home Screen Widgets | Rule: The widgets show study goal, current course, upcoming tests, and streak. | TC-ST-13-03-002 |
| 3.1 Home Screen Widgets | Rule: The widgets update in real time. | TC-ST-13-03-003 |
| 3.1 Home Screen Widgets | Rule: A widget is tappable to open the app. | TC-ST-13-03-004 |
| 3.1 Home Screen Widgets | Rule: Widget events (added, viewed) are logged with the account and the timestamp. | TC-ST-13-03-005 |
| 3.1 Home Screen Widgets | Rule: The home screen widgets is audit-logged with the account and the timestamp. | TC-ST-13-03-006 |
| 3.2 Voice Commands | Voice command: "Resume last video" | TC-ST-13-03-009 |
| 3.2 Voice Commands | Voice command: "Start practice quiz" | TC-ST-13-03-010 |
| 3.2 Voice Commands | Voice command: "Show my progress" | TC-ST-13-03-011 |
| 3.2 Voice Commands | Voice search for content | TC-ST-13-03-012 |
| 3.2 Voice Commands | Voice commands in the mobile app | TC-ST-13-03-013 |
| 3.2 Voice Commands | Voice command confirmation | TC-ST-13-03-014 |
| 3.2 Voice Commands | Voice command event logging (issued, executed) | TC-ST-13-03-015 |
| 3.2 Voice Commands | Audit logging of the voice commands | TC-ST-13-03-016 |
| 3.2 Voice Commands | Rule: Voice commands are recognized in the mobile app. | TC-ST-13-03-009 |
| 3.2 Voice Commands | Rule: A voice command performs the mapped action. | TC-ST-13-03-010 |
| 3.2 Voice Commands | Rule: The app confirms each voice command. | TC-ST-13-03-011 |
| 3.2 Voice Commands | Rule: Voice search finds content by spoken query. | TC-ST-13-03-012 |
| 3.2 Voice Commands | Rule: Voice command events (issued, executed) are logged with the account and the timestamp. | TC-ST-13-03-013 |
| 3.2 Voice Commands | Rule: The voice commands is audit-logged with the account and the timestamp. | TC-ST-13-03-014 |
| 3.3 Quick Actions | One-tap quick actions on the mobile app | TC-ST-13-03-017 |
| 3.3 Quick Actions | Resume the last lesson | TC-ST-13-03-018 |
| 3.3 Quick Actions | Start a quiz | TC-ST-13-03-019 |
| 3.3 Quick Actions | View today's plan | TC-ST-13-03-020 |
| 3.3 Quick Actions | Configure the Student's quick actions | TC-ST-13-03-021 |
| 3.3 Quick Actions | Quick actions on the home screen | TC-ST-13-03-022 |
| 3.3 Quick Actions | Quick action event logging (configured, used) | TC-ST-13-03-023 |
| 3.3 Quick Actions | Audit logging of the quick actions | TC-ST-13-03-024 |
| 3.3 Quick Actions | Rule: Quick actions are one-tap on the mobile app. | TC-ST-13-03-017 |
| 3.3 Quick Actions | Rule: The Student configures their quick actions. | TC-ST-13-03-018 |
| 3.3 Quick Actions | Rule: A quick action performs the mapped task. | TC-ST-13-03-019 |
| 3.3 Quick Actions | Rule: Quick action events (configured, used) are logged with the account and the timestamp. | TC-ST-13-03-020 |
| 3.3 Quick Actions | Rule: The quick actions is audit-logged with the account and the timestamp. | TC-ST-13-03-021 |

## 3.1 Home Screen Widgets

### TC-ST-13-03-001 — Daily study goal progress widget
**Type:** Positive
**Covers:** 3.1 → Daily study goal progress widget; Rule: Widgets are added to the home screen.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Daily study goal progress widget.
2. Observe the result and verify the full behavior: Daily study goal progress widget.
**Expected Result:** Daily study goal progress widget — delivered exactly as documented.
**Priority:** Critical

### TC-ST-13-03-002 — Quick access to the current course widget
**Type:** Positive
**Covers:** 3.1 → Quick access to the current course widget; Rule: The widgets show study goal, current course, upcoming tests, and streak.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Quick access to the current course widget.
2. Observe the result and verify the full behavior: Quick access to the current course widget.
**Expected Result:** Quick access to the current course widget — delivered exactly as documented.
**Priority:** High

### TC-ST-13-03-003 — Upcoming tests reminder widget
**Type:** Positive
**Covers:** 3.1 → Upcoming tests reminder widget; Rule: The widgets update in real time.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Upcoming tests reminder widget.
2. Observe the result and verify the full behavior: Upcoming tests reminder widget.
**Expected Result:** Upcoming tests reminder widget — delivered exactly as documented.
**Priority:** High

### TC-ST-13-03-004 — Streak counter widget
**Type:** Positive
**Covers:** 3.1 → Streak counter widget; Rule: A widget is tappable to open the app.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Streak counter widget.
2. Observe the result and verify the full behavior: Streak counter widget.
**Expected Result:** Streak counter widget — delivered exactly as documented.
**Priority:** High

### TC-ST-13-03-005 — Add a widget to the home screen
**Type:** Positive
**Covers:** 3.1 → Add a widget to the home screen; Rule: Widget events (added, viewed) are logged with the account and the timestamp.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Add a widget to the home screen.
2. Observe the result and verify the full behavior: Add a widget to the home screen.
**Expected Result:** Add a widget to the home screen — delivered exactly as documented.
**Priority:** High

### TC-ST-13-03-006 — Widget updates in real time
**Type:** Positive
**Covers:** 3.1 → Widget updates in real time; Rule: The home screen widgets is audit-logged with the account and the timestamp.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Widget updates in real time.
2. Observe the result and verify the full behavior: Widget updates in real time.
**Expected Result:** Widget updates in real time — delivered exactly as documented.
**Priority:** High

### TC-ST-13-03-007 — Widget event logging (added, viewed)
**Type:** Positive
**Covers:** 3.1 → Widget event logging (added, viewed)
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Widget event logging (added.
2. Observe the result and verify the full behavior: Widget event logging (added, viewed).
**Expected Result:** Widget event logging (added, viewed) — delivered exactly as documented.
**Priority:** High

### TC-ST-13-03-008 — Audit logging of the home screen widgets
**Type:** Positive
**Covers:** 3.1 → Audit logging of the home screen widgets
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, perform the action associated with: Audit logging of the home screen widgets.
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

## 3.2 Voice Commands

### TC-ST-13-03-009 — Voice command: "Resume last video"
**Type:** Positive
**Covers:** 3.2 → Voice command: "Resume last video"; Rule: Voice commands are recognized in the mobile app.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Voice command: "Resume last video".
2. Observe the result and verify the full behavior: Voice command: "Resume last video".
**Expected Result:** Voice command: "Resume last video" — delivered exactly as documented.
**Priority:** Critical

### TC-ST-13-03-010 — Voice command: "Start practice quiz"
**Type:** Positive
**Covers:** 3.2 → Voice command: "Start practice quiz"; Rule: A voice command performs the mapped action.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Voice command: "Start practice quiz".
2. Observe the result and verify the full behavior: Voice command: "Start practice quiz".
**Expected Result:** Voice command: "Start practice quiz" — delivered exactly as documented.
**Priority:** High

### TC-ST-13-03-011 — Voice command: "Show my progress"
**Type:** Positive
**Covers:** 3.2 → Voice command: "Show my progress"; Rule: The app confirms each voice command.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Voice command: "Show my progress".
2. Observe the result and verify the full behavior: Voice command: "Show my progress".
**Expected Result:** Voice command: "Show my progress" — delivered exactly as documented.
**Priority:** High

### TC-ST-13-03-012 — Voice search for content
**Type:** Positive
**Covers:** 3.2 → Voice search for content; Rule: Voice search finds content by spoken query.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Voice search for content.
2. Observe the result and verify the full behavior: Voice search for content.
**Expected Result:** Voice search for content — delivered exactly as documented.
**Priority:** High

### TC-ST-13-03-013 — Voice commands in the mobile app
**Type:** Positive
**Covers:** 3.2 → Voice commands in the mobile app; Rule: Voice command events (issued, executed) are logged with the account and the timestamp.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Voice commands in the mobile app.
2. Observe the result and verify the full behavior: Voice commands in the mobile app.
**Expected Result:** Voice commands in the mobile app — delivered exactly as documented.
**Priority:** High

### TC-ST-13-03-014 — Voice command confirmation
**Type:** Positive
**Covers:** 3.2 → Voice command confirmation; Rule: The voice commands is audit-logged with the account and the timestamp.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Voice command confirmation.
2. Observe the result and verify the full behavior: Voice command confirmation.
**Expected Result:** Voice command confirmation — delivered exactly as documented.
**Priority:** High

### TC-ST-13-03-015 — Voice command event logging (issued, executed)
**Type:** Positive
**Covers:** 3.2 → Voice command event logging (issued, executed)
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Voice command event logging (issued.
2. Observe the result and verify the full behavior: Voice command event logging (issued, executed).
**Expected Result:** Voice command event logging (issued, executed) — delivered exactly as documented.
**Priority:** High

### TC-ST-13-03-016 — Audit logging of the voice commands
**Type:** Positive
**Covers:** 3.2 → Audit logging of the voice commands
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, perform the action associated with: Audit logging of the voice commands.
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

## 3.3 Quick Actions

### TC-ST-13-03-017 — One-tap quick actions on the mobile app
**Type:** Positive
**Covers:** 3.3 → One-tap quick actions on the mobile app; Rule: Quick actions are one-tap on the mobile app.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: One-tap quick actions on the mobile app.
2. Observe the result and verify the full behavior: One-tap quick actions on the mobile app.
**Expected Result:** One-tap quick actions on the mobile app — delivered exactly as documented.
**Priority:** Critical

### TC-ST-13-03-018 — Resume the last lesson
**Type:** Positive
**Covers:** 3.3 → Resume the last lesson; Rule: The Student configures their quick actions.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Resume the last lesson.
2. Observe the result and verify the full behavior: Resume the last lesson.
**Expected Result:** Resume the last lesson — delivered exactly as documented.
**Priority:** High

### TC-ST-13-03-019 — Start a quiz
**Type:** Positive
**Covers:** 3.3 → Start a quiz; Rule: A quick action performs the mapped task.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Start a quiz.
2. Observe the result and verify the full behavior: Start a quiz.
**Expected Result:** Start a quiz — delivered exactly as documented.
**Priority:** High

### TC-ST-13-03-020 — View today's plan
**Type:** Positive
**Covers:** 3.3 → View today's plan; Rule: Quick action events (configured, used) are logged with the account and the timestamp.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: View today's plan.
2. Observe the result and verify the full behavior: View today's plan.
**Expected Result:** View today's plan — delivered exactly as documented.
**Priority:** High

### TC-ST-13-03-021 — Configure the Student's quick actions
**Type:** Positive
**Covers:** 3.3 → Configure the Student's quick actions; Rule: The quick actions is audit-logged with the account and the timestamp.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Configure the Student's quick actions.
2. Observe the result and verify the full behavior: Configure the Student's quick actions.
**Expected Result:** Configure the Student's quick actions — delivered exactly as documented.
**Priority:** High

### TC-ST-13-03-022 — Quick actions on the home screen
**Type:** Positive
**Covers:** 3.3 → Quick actions on the home screen
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Quick actions on the home screen.
2. Observe the result and verify the full behavior: Quick actions on the home screen.
**Expected Result:** Quick actions on the home screen — delivered exactly as documented.
**Priority:** High

### TC-ST-13-03-023 — Quick action event logging (configured, used)
**Type:** Positive
**Covers:** 3.3 → Quick action event logging (configured, used)
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Quick action event logging (configured.
2. Observe the result and verify the full behavior: Quick action event logging (configured, used).
**Expected Result:** Quick action event logging (configured, used) — delivered exactly as documented.
**Priority:** High

### TC-ST-13-03-024 — Audit logging of the quick actions
**Type:** Positive
**Covers:** 3.3 → Audit logging of the quick actions
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, perform the action associated with: Audit logging of the quick actions.
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
