# 2. In-Session Interaction — Test Cases

User Type: **Student**
Source: *Mi Digital Academy - Education CRM Features Document*
Spec: in_session_interaction.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 |
|---------|--------------------|----------|
| 2.1 Audio, Video, and Chat | Audio and video in the session room | TC-ST-11-02-001 |
| 2.1 Audio, Video, and Chat | Mute/unmute the microphone | TC-ST-11-02-002 |
| 2.1 Audio, Video, and Chat | Turn the camera on or off | TC-ST-11-02-003 |
| 2.1 Audio, Video, and Chat | Text chat in the session | TC-ST-11-02-004 |
| 2.1 Audio, Video, and Chat | Raise hand to get the instructor's attention | TC-ST-11-02-005 |
| 2.1 Audio, Video, and Chat | Chat moderated to keep the session focused | TC-ST-11-02-006 |
| 2.1 Audio, Video, and Chat | In-session event logging (raised hand, chat posted) | TC-ST-11-02-007 |
| 2.1 Audio, Video, and Chat | Audit logging of the audio, video, and chat | TC-ST-11-02-008 |
| 2.1 Audio, Video, and Chat | Rule: The Student can mute/unmute and turn the camera on/off at any time. | TC-ST-11-02-001 |
| 2.1 Audio, Video, and Chat | Rule: The chat is moderated per the session rules. | TC-ST-11-02-002 |
| 2.1 Audio, Video, and Chat | Rule: Raising a hand notifies the instructor. | TC-ST-11-02-003 |
| 2.1 Audio, Video, and Chat | Rule: In-session events (raised hand, chat posted) are logged with the session and the timestamp. | TC-ST-11-02-004 |
| 2.1 Audio, Video, and Chat | Rule: The audio, video, and chat is audit-logged with the account, the session, and the timestamp. | TC-ST-11-02-005 |
| 2.2 Q&A and Doubt Clearing | Submit a question to the instructor | TC-ST-11-02-009 |
| 2.2 Q&A and Doubt Clearing | Upvote peer questions | TC-ST-11-02-010 |
| 2.2 Q&A and Doubt Clearing | Instructor answers shown in the session | TC-ST-11-02-011 |
| 2.2 Q&A and Doubt Clearing | Doubt list for follow-up on unanswered doubts | TC-ST-11-02-012 |
| 2.2 Q&A and Doubt Clearing | Question status (asked, answered) | TC-ST-11-02-013 |
| 2.2 Q&A and Doubt Clearing | Q&A event logging (question submitted, answered) | TC-ST-11-02-014 |
| 2.2 Q&A and Doubt Clearing | Audit logging of the Q&A and doubt clearing | TC-ST-11-02-015 |
| 2.2 Q&A and Doubt Clearing | Rule: A question is submitted to the instructor's queue. | TC-ST-11-02-009 |
| 2.2 Q&A and Doubt Clearing | Rule: Upvoting ranks the questions by peer interest. | TC-ST-11-02-010 |
| 2.2 Q&A and Doubt Clearing | Rule: A question is "answered" when the instructor responds. | TC-ST-11-02-011 |
| 2.2 Q&A and Doubt Clearing | Rule: Unanswered doubts can be added to the doubt list. | TC-ST-11-02-012 |
| 2.2 Q&A and Doubt Clearing | Rule: Q&A events (question submitted, answered) are logged with the session and the timestamp. | TC-ST-11-02-013 |
| 2.2 Q&A and Doubt Clearing | Rule: The Q&A and doubt clearing is audit-logged with the account, the session, and the timestamp. | TC-ST-11-02-014 |
| 2.3 Polls and Quizzes in Session | Participate in an in-session poll | TC-ST-11-02-016 |
| 2.3 Polls and Quizzes in Session | Take a quick in-session quiz | TC-ST-11-02-017 |
| 2.3 Polls and Quizzes in Session | Real-time results shown to the group | TC-ST-11-02-018 |
| 2.3 Polls and Quizzes in Session | Poll/quiz response recorded | TC-ST-11-02-019 |
| 2.3 Polls and Quizzes in Session | Multiple polls/quizzes per session | TC-ST-11-02-020 |
| 2.3 Polls and Quizzes in Session | In-session event logging (poll answered, quiz submitted) | TC-ST-11-02-021 |
| 2.3 Polls and Quizzes in Session | Audit logging of the polls and quizzes in session | TC-ST-11-02-022 |
| 2.3 Polls and Quizzes in Session | Rule: A poll or quiz is launched by the instructor. | TC-ST-11-02-016 |
| 2.3 Polls and Quizzes in Session | Rule: The Student's response is recorded. | TC-ST-11-02-017 |
| 2.3 Polls and Quizzes in Session | Rule: Real-time results are shown to the group. | TC-ST-11-02-018 |
| 2.3 Polls and Quizzes in Session | Rule: Multiple polls/quizzes can run in one session. | TC-ST-11-02-019 |
| 2.3 Polls and Quizzes in Session | Rule: In-session events (poll answered, quiz submitted) are logged with the session and the timestamp. | TC-ST-11-02-020 |
| 2.3 Polls and Quizzes in Session | Rule: The polls and quizzes in session is audit-logged with the account, the session, and the timestamp. | TC-ST-11-02-021 |

## 2.1 Audio, Video, and Chat

### TC-ST-11-02-001 — Audio and video in the session room
**Type:** Positive
**Covers:** 2.1 → Audio and video in the session room; Rule: The Student can mute/unmute and turn the camera on/off at any 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: Audio and video in the session room.
2. Observe the result and verify the full behavior: Audio and video in the session room.
**Expected Result:** Audio and video in the session room — delivered exactly as documented.
**Priority:** Critical

### TC-ST-11-02-002 — Mute/unmute the microphone
**Type:** Positive
**Covers:** 2.1 → Mute/unmute the microphone; Rule: The chat is moderated per the session rules.
**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: Mute/unmute the microphone.
2. Observe the result and verify the full behavior: Mute/unmute the microphone.
**Expected Result:** Mute/unmute the microphone — delivered exactly as documented.
**Priority:** High

### TC-ST-11-02-003 — Turn the camera on or off
**Type:** Positive
**Covers:** 2.1 → Turn the camera on or off; Rule: Raising a hand notifies the instructor.
**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: Turn the camera on or off.
2. Observe the result and verify the full behavior: Turn the camera on or off.
**Expected Result:** Turn the camera on or off — delivered exactly as documented.
**Priority:** High

### TC-ST-11-02-004 — Text chat in the session
**Type:** Positive
**Covers:** 2.1 → Text chat in the session; Rule: In-session events (raised hand, chat posted) are logged with the session 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: Text chat in the session.
2. Observe the result and verify the full behavior: Text chat in the session.
**Expected Result:** Text chat in the session — delivered exactly as documented.
**Priority:** High

### TC-ST-11-02-005 — Raise hand to get the instructor's attention
**Type:** Positive
**Covers:** 2.1 → Raise hand to get the instructor's attention; Rule: The audio, video, and chat is audit-logged with the account, the session, 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: Raise hand to get the instructor's attention.
2. Observe the result and verify the full behavior: Raise hand to get the instructor's attention.
**Expected Result:** Raise hand to get the instructor's attention — delivered exactly as documented.
**Priority:** High

### TC-ST-11-02-006 — Chat moderated to keep the session focused
**Type:** Positive
**Covers:** 2.1 → Chat moderated to keep the session focused
**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: Chat moderated to keep the session focused.
2. Observe the result and verify the full behavior: Chat moderated to keep the session focused.
**Expected Result:** Chat moderated to keep the session focused — delivered exactly as documented.
**Priority:** High

### TC-ST-11-02-007 — In-session event logging (raised hand, chat posted)
**Type:** Positive
**Covers:** 2.1 → In-session event logging (raised hand, chat posted)
**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: In-session event logging (raised hand.
2. Observe the result and verify the full behavior: In-session event logging (raised hand, chat posted).
**Expected Result:** In-session event logging (raised hand, chat posted) — delivered exactly as documented.
**Priority:** High

### TC-ST-11-02-008 — Audit logging of the audio, video, and chat
**Type:** Positive
**Covers:** 2.1 → Audit logging of the audio, video, and chat
**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 audio, video, and chat.
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

## 2.2 Q&A and Doubt Clearing

### TC-ST-11-02-009 — Submit a question to the instructor
**Type:** Positive
**Covers:** 2.2 → Submit a question to the instructor; Rule: A question is submitted to the instructor's queue.
**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: Submit a question to the instructor.
2. Observe the result and verify the full behavior: Submit a question to the instructor.
**Expected Result:** Submit a question to the instructor — delivered exactly as documented.
**Priority:** Critical

### TC-ST-11-02-010 — Upvote peer questions
**Type:** Positive
**Covers:** 2.2 → Upvote peer questions; Rule: Upvoting ranks the questions by peer interest.
**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: Upvote peer questions.
2. Observe the result and verify the full behavior: Upvote peer questions.
**Expected Result:** Upvote peer questions — delivered exactly as documented.
**Priority:** High

### TC-ST-11-02-011 — Instructor answers shown in the session
**Type:** Positive
**Covers:** 2.2 → Instructor answers shown in the session; Rule: A question is "answered" when the instructor responds.
**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: Instructor answers shown in the session.
2. Observe the result and verify the full behavior: Instructor answers shown in the session.
**Expected Result:** Instructor answers shown in the session — delivered exactly as documented.
**Priority:** High

### TC-ST-11-02-012 — Doubt list for follow-up on unanswered doubts
**Type:** Positive
**Covers:** 2.2 → Doubt list for follow-up on unanswered doubts; Rule: Unanswered doubts can be added to the doubt list.
**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: Doubt list for follow-up on unanswered doubts.
2. Observe the result and verify the full behavior: Doubt list for follow-up on unanswered doubts.
**Expected Result:** Doubt list for follow-up on unanswered doubts — delivered exactly as documented.
**Priority:** High

### TC-ST-11-02-013 — Question status (asked, answered)
**Type:** Positive
**Covers:** 2.2 → Question status (asked, answered); Rule: Q&A events (question submitted, answered) are logged with the session 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: Question status (asked.
2. Observe the result and verify the full behavior: Question status (asked, answered).
**Expected Result:** Question status (asked, answered) — delivered exactly as documented.
**Priority:** High

### TC-ST-11-02-014 — Q&A event logging (question submitted, answered)
**Type:** Positive
**Covers:** 2.2 → Q&A event logging (question submitted, answered); Rule: The Q&A and doubt clearing is audit-logged with the account, the session, 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: Q&A event logging (question submitted.
2. Observe the result and verify the full behavior: Q&A event logging (question submitted, answered).
**Expected Result:** Q&A event logging (question submitted, answered) — delivered exactly as documented.
**Priority:** High

### TC-ST-11-02-015 — Audit logging of the Q&A and doubt clearing
**Type:** Positive
**Covers:** 2.2 → Audit logging of the Q&A and doubt clearing
**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 Q&A and doubt clearing.
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

## 2.3 Polls and Quizzes in Session

### TC-ST-11-02-016 — Participate in an in-session poll
**Type:** Positive
**Covers:** 2.3 → Participate in an in-session poll; Rule: A poll or quiz is launched by the instructor.
**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: Participate in an in-session poll.
2. Observe the result and verify the full behavior: Participate in an in-session poll.
**Expected Result:** Participate in an in-session poll — delivered exactly as documented.
**Priority:** Critical

### TC-ST-11-02-017 — Take a quick in-session quiz
**Type:** Positive
**Covers:** 2.3 → Take a quick in-session quiz; Rule: The Student's response is recorded.
**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: Take a quick in-session quiz.
2. Observe the result and verify the full behavior: Take a quick in-session quiz.
**Expected Result:** Take a quick in-session quiz — delivered exactly as documented.
**Priority:** High

### TC-ST-11-02-018 — Real-time results shown to the group
**Type:** Positive
**Covers:** 2.3 → Real-time results shown to the group; Rule: Real-time results are shown to the group.
**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: Real-time results shown to the group.
2. Observe the result and verify the full behavior: Real-time results shown to the group.
**Expected Result:** Real-time results shown to the group — delivered exactly as documented.
**Priority:** High

### TC-ST-11-02-019 — Poll/quiz response recorded
**Type:** Positive
**Covers:** 2.3 → Poll/quiz response recorded; Rule: Multiple polls/quizzes can run in one session.
**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: Poll/quiz response recorded.
2. Observe the result and verify the full behavior: Poll/quiz response recorded.
**Expected Result:** Poll/quiz response recorded — delivered exactly as documented.
**Priority:** High

### TC-ST-11-02-020 — Multiple polls/quizzes per session
**Type:** Positive
**Covers:** 2.3 → Multiple polls/quizzes per session; Rule: In-session events (poll answered, quiz submitted) are logged with the session 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: Multiple polls/quizzes per session.
2. Observe the result and verify the full behavior: Multiple polls/quizzes per session.
**Expected Result:** Multiple polls/quizzes per session — delivered exactly as documented.
**Priority:** High

### TC-ST-11-02-021 — In-session event logging (poll answered, quiz submitted)
**Type:** Positive
**Covers:** 2.3 → In-session event logging (poll answered, quiz submitted); Rule: The polls and quizzes in session is audit-logged with the account, the session, 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: In-session event logging (poll answered.
2. Observe the result and verify the full behavior: In-session event logging (poll answered, quiz submitted).
**Expected Result:** In-session event logging (poll answered, quiz submitted) — delivered exactly as documented.
**Priority:** High

### TC-ST-11-02-022 — Audit logging of the polls and quizzes in session
**Type:** Positive
**Covers:** 2.3 → Audit logging of the polls and quizzes in session
**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 polls and quizzes in session.
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
