# 4. Institute Account & Admin Users — Test Cases

User Type: **Training Institute**
Source: *Mi Digital Academy - Education CRM Features Document*
Spec: institute_account_admin_users.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 |
|---------|--------------------|----------|
| 4.1 | Institute profile view | TC-TI-1-04-001 |
| 4.1 | Edit organization name and logo | TC-TI-1-04-002 |
| 4.1 | Edit contact details | TC-TI-1-04-003 |
| 4.1 | Edit billing address | TC-TI-1-04-004 |
| 4.1 | Changes reflected across the portal | TC-TI-1-04-005 |
| 4.1 | Profile available on web and mobile | TC-TI-1-04-006 |
| 4.1 | Profile event logging (updated) | TC-TI-1-04-007 |
| 4.1 | Audit logging of the institute profile management | TC-TI-1-04-008 |
| 4.1 | Rule: The changes are reflected across the portal and student-facing pages. | TC-TI-1-04-001 |
| 4.1 | Rule: The organization name and logo are editable. | TC-TI-1-04-002 |
| 4.1 | Rule: Profile events (updated) are logged with the account and the timestamp. | TC-TI-1-04-003 |
| 4.1 | Rule: The institute profile management is audit-logged with the account and the timestamp. | TC-TI-1-04-004 |
| 4.2 | Admin users list | TC-TI-1-04-009 |
| 4.2 | Invite a new admin | TC-TI-1-04-010 |
| 4.2 | Assign an admin role | TC-TI-1-04-011 |
| 4.2 | Deactivate an admin | TC-TI-1-04-012 |
| 4.2 | Admin roles and last activity shown | TC-TI-1-04-013 |
| 4.2 | Management available on web and mobile | TC-TI-1-04-014 |
| 4.2 | Management event logging (invited, role changed, deactivated) | TC-TI-1-04-015 |
| 4.2 | Audit logging of the admin user management | TC-TI-1-04-016 |
| 4.2 | Rule: A deactivated admin loses portal access immediately. | TC-TI-1-04-009 |
| 4.2 | Rule: The last admin cannot be deactivated. | TC-TI-1-04-010 |
| 4.2 | Rule: Management events (invited, role changed, deactivated) are logged with the account and the timestamp. | TC-TI-1-04-011 |
| 4.2 | Rule: The admin user management is audit-logged with the account and the timestamp. | TC-TI-1-04-012 |
| 4.3 | Account settings view | TC-TI-1-04-017 |
| 4.3 | Portal language setting | TC-TI-1-04-018 |
| 4.3 | Time zone setting | TC-TI-1-04-019 |
| 4.3 | Default currency setting | TC-TI-1-04-020 |
| 4.3 | Settings apply across the portal | TC-TI-1-04-021 |
| 4.3 | Settings available on web and mobile | TC-TI-1-04-022 |
| 4.3 | Settings event logging (changed) | TC-TI-1-04-023 |
| 4.3 | Audit logging of the account settings and preferences | TC-TI-1-04-024 |
| 4.3 | Rule: The settings apply across the portal. | TC-TI-1-04-017 |
| 4.3 | Rule: The time zone affects all date and time displays. | TC-TI-1-04-018 |
| 4.3 | Rule: Settings events (changed) are logged with the account and the timestamp. | TC-TI-1-04-019 |
| 4.3 | Rule: The account settings and preferences is audit-logged with the account and the timestamp. | TC-TI-1-04-020 |

## 4.1 Institute Profile Management

### TC-TI-1-04-001 — Institute profile view
**Type:** Positive
**Covers:** 4.1 → Institute profile view; Rule: The changes are reflected across the portal and student-facing pages.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Institute profile view.
2. Observe the result and verify the full behavior: Institute profile view.
**Expected Result:** Institute profile view — delivered exactly as documented.
**Priority:** Critical

### TC-TI-1-04-002 — Edit organization name and logo
**Type:** Positive
**Covers:** 4.1 → Edit organization name and logo; Rule: The organization name and logo are editable.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Edit organization name and logo.
2. Observe the result and verify the full behavior: Edit organization name and logo.
**Expected Result:** Edit organization name and logo — delivered exactly as documented.
**Priority:** High

### TC-TI-1-04-003 — Edit contact details
**Type:** Positive
**Covers:** 4.1 → Edit contact details; Rule: Profile events (updated) are logged with the account and the timestamp.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Edit contact details.
2. Observe the result and verify the full behavior: Edit contact details.
**Expected Result:** Edit contact details — delivered exactly as documented.
**Priority:** High

### TC-TI-1-04-004 — Edit billing address
**Type:** Positive
**Covers:** 4.1 → Edit billing address; Rule: The institute profile management is audit-logged with the account and the timestamp.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Edit billing address.
2. Observe the result and verify the full behavior: Edit billing address.
**Expected Result:** Edit billing address — delivered exactly as documented.
**Priority:** High

### TC-TI-1-04-005 — Changes reflected across the portal
**Type:** Positive
**Covers:** 4.1 → Changes reflected across the portal
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Changes reflected across the portal.
2. Observe the result and verify the full behavior: Changes reflected across the portal.
**Expected Result:** Changes reflected across the portal — delivered exactly as documented.
**Priority:** High

### TC-TI-1-04-006 — Profile available on web and mobile
**Type:** Positive
**Covers:** 4.1 → Profile available on web and mobile
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Profile available on web and mobile.
2. Observe the result and verify the full behavior: Profile available on web and mobile.
**Expected Result:** Profile available on web and mobile — delivered exactly as documented.
**Priority:** High

### TC-TI-1-04-007 — Profile event logging (updated)
**Type:** Positive
**Covers:** 4.1 → Profile event logging (updated)
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Profile event logging (updated).
2. Observe the result and verify the full behavior: Profile event logging (updated).
**Expected Result:** Profile event logging (updated) — delivered exactly as documented.
**Priority:** High

### TC-TI-1-04-008 — Audit logging of the institute profile management
**Type:** Positive
**Covers:** 4.1 → Audit logging of the institute profile management
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, perform the institute profile management action.
2. Open the audit log and verify the entry for the action.
**Expected Result:** The institute profile management action is recorded in the audit log with the account and the timestamp.
**Priority:** Critical


## 4.2 Admin User Management

### TC-TI-1-04-009 — Admin users list
**Type:** Positive
**Covers:** 4.2 → Admin users list; Rule: A deactivated admin loses portal access immediately.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Admin users list.
2. Observe the result and verify the full behavior: Admin users list.
**Expected Result:** Admin users list — delivered exactly as documented.
**Priority:** Critical

### TC-TI-1-04-010 — Invite a new admin
**Type:** Positive
**Covers:** 4.2 → Invite a new admin; Rule: The last admin cannot be deactivated.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Invite a new admin.
2. Observe the result and verify the full behavior: Invite a new admin.
**Expected Result:** Invite a new admin — delivered exactly as documented.
**Priority:** High

### TC-TI-1-04-011 — Assign an admin role
**Type:** Positive
**Covers:** 4.2 → Assign an admin role; Rule: Management events (invited, role changed, deactivated) are logged with the account and the timestamp.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Assign an admin role.
2. Observe the result and verify the full behavior: Assign an admin role.
**Expected Result:** Assign an admin role — delivered exactly as documented.
**Priority:** High

### TC-TI-1-04-012 — Deactivate an admin
**Type:** Positive
**Covers:** 4.2 → Deactivate an admin; Rule: The admin user management is audit-logged with the account and the timestamp.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Deactivate an admin.
2. Observe the result and verify the full behavior: Deactivate an admin.
**Expected Result:** Deactivate an admin — delivered exactly as documented.
**Priority:** High

### TC-TI-1-04-013 — Admin roles and last activity shown
**Type:** Positive
**Covers:** 4.2 → Admin roles and last activity shown
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Admin roles and last activity shown.
2. Observe the result and verify the full behavior: Admin roles and last activity shown.
**Expected Result:** Admin roles and last activity shown — delivered exactly as documented.
**Priority:** High

### TC-TI-1-04-014 — Management available on web and mobile
**Type:** Positive
**Covers:** 4.2 → Management available on web and mobile
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Management available on web and mobile.
2. Observe the result and verify the full behavior: Management available on web and mobile.
**Expected Result:** Management available on web and mobile — delivered exactly as documented.
**Priority:** High

### TC-TI-1-04-015 — Management event logging (invited, role changed, deactivated)
**Type:** Positive
**Covers:** 4.2 → Management event logging (invited, role changed, deactivated)
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Management event logging (invited, role changed, deactivated).
2. Observe the result and verify the full behavior: Management event logging (invited, role changed, deactivated).
**Expected Result:** Management event logging (invited, role changed, deactivated) — delivered exactly as documented.
**Priority:** High

### TC-TI-1-04-016 — Audit logging of the admin user management
**Type:** Positive
**Covers:** 4.2 → Audit logging of the admin user management
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, perform the admin user management action.
2. Open the audit log and verify the entry for the action.
**Expected Result:** The admin user management action is recorded in the audit log with the account and the timestamp.
**Priority:** Critical


## 4.3 Account Settings & Preferences

### TC-TI-1-04-017 — Account settings view
**Type:** Positive
**Covers:** 4.3 → Account settings view; Rule: The settings apply across the portal.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Account settings view.
2. Observe the result and verify the full behavior: Account settings view.
**Expected Result:** Account settings view — delivered exactly as documented.
**Priority:** Critical

### TC-TI-1-04-018 — Portal language setting
**Type:** Positive
**Covers:** 4.3 → Portal language setting; Rule: The time zone affects all date and time displays.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Portal language setting.
2. Observe the result and verify the full behavior: Portal language setting.
**Expected Result:** Portal language setting — delivered exactly as documented.
**Priority:** High

### TC-TI-1-04-019 — Time zone setting
**Type:** Positive
**Covers:** 4.3 → Time zone setting; Rule: Settings events (changed) are logged with the account and the timestamp.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Time zone setting.
2. Observe the result and verify the full behavior: Time zone setting.
**Expected Result:** Time zone setting — delivered exactly as documented.
**Priority:** High

### TC-TI-1-04-020 — Default currency setting
**Type:** Positive
**Covers:** 4.3 → Default currency setting; Rule: The account settings and preferences is audit-logged with the account and the timestamp.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Default currency setting.
2. Observe the result and verify the full behavior: Default currency setting.
**Expected Result:** Default currency setting — delivered exactly as documented.
**Priority:** High

### TC-TI-1-04-021 — Settings apply across the portal
**Type:** Positive
**Covers:** 4.3 → Settings apply across the portal
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Settings apply across the portal.
2. Observe the result and verify the full behavior: Settings apply across the portal.
**Expected Result:** Settings apply across the portal — delivered exactly as documented.
**Priority:** High

### TC-TI-1-04-022 — Settings available on web and mobile
**Type:** Positive
**Covers:** 4.3 → Settings available on web and mobile
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Settings available on web and mobile.
2. Observe the result and verify the full behavior: Settings available on web and mobile.
**Expected Result:** Settings available on web and mobile — delivered exactly as documented.
**Priority:** High

### TC-TI-1-04-023 — Settings event logging (changed)
**Type:** Positive
**Covers:** 4.3 → Settings event logging (changed)
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Settings event logging (changed).
2. Observe the result and verify the full behavior: Settings event logging (changed).
**Expected Result:** Settings event logging (changed) — delivered exactly as documented.
**Priority:** High

### TC-TI-1-04-024 — Audit logging of the account settings and preferences
**Type:** Positive
**Covers:** 4.3 → Audit logging of the account settings and preferences
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, perform the account settings and preferences action.
2. Open the audit log and verify the entry for the action.
**Expected Result:** The account settings and preferences action is recorded in the audit log with the account and the timestamp.
**Priority:** Critical
