# 2. Performance-Based Incentives — Test Cases

User Type: **Super Administrator**
Source: *Mi Digital Academy - Education CRM Features Document*
Spec: performance_based_incentives.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 Affiliate Levels: Bronze, Silver, Gold, Platinum | Level definition: the level (the Bronze, the Silver, the Gold, the Platinum) | TC-SA-14-02-001 |
| 2.1 Affiliate Levels: Bronze, Silver, Gold, Platinum | Level criteria: the criteria (the criteria for the level, e.g., the number of referrals, the revenue) | TC-SA-14-02-002 |
| 2.1 Affiliate Levels: Bronze, Silver, Gold, Platinum | Level benefits: the benefits (the benefits per level, e.g., the commission rate, the bonuses) | TC-SA-14-02-003 |
| 2.1 Affiliate Levels: Bronze, Silver, Gold, Platinum | Level assignment: the assignment (the affiliate is assigned the level per the criteria) | TC-SA-14-02-004 |
| 2.1 Affiliate Levels: Bronze, Silver, Gold, Platinum | Level progression: the progression (the affiliate progresses from the level to the next) | TC-SA-14-02-005 |
| 2.1 Affiliate Levels: Bronze, Silver, Gold, Platinum | Level record: the level recorded (the affiliate, the level, the criteria, the benefits) | TC-SA-14-02-006 |
| 2.1 Affiliate Levels: Bronze, Silver, Gold, Platinum | Audit logging of the level definition and the assignments | TC-SA-14-02-007 |
| 2.1 Affiliate Levels: Bronze, Silver, Gold, Platinum | Rule: the level is explicit (the Bronze, the Silver, the Gold, the Platinum); the level is the rank | TC-SA-14-02-001 |
| 2.1 Affiliate Levels: Bronze, Silver, Gold, Platinum | Rule: the level criteria is the basis (the criteria for the level, e.g., the number of referrals, the revenue); the criteria is the measure | TC-SA-14-02-002 |
| 2.1 Affiliate Levels: Bronze, Silver, Gold, Platinum | Rule: the level benefits is the value (the benefits per level, e.g., the commission rate, the bonuses); the benefits is the incentive | TC-SA-14-02-003 |
| 2.1 Affiliate Levels: Bronze, Silver, Gold, Platinum | Rule: a level change (the criteria, the benefits updated) is recorded (the new criteria, the new benefits, the time); it is auditable | TC-SA-14-02-008 |
| 2.1 Affiliate Levels: Bronze, Silver, Gold, Platinum | Rule: the affiliate levels are visible (the levels, the criteria, the benefits); the levels are managed | TC-SA-14-02-009 |
| 2.1 Affiliate Levels: Bronze, Silver, Gold, Platinum | Rule: level definition and assignments are audit-logged with the affiliate, level, and timestamp | TC-SA-14-02-007 |
| 2.2 Increasing Commission Rates per Level | Level rate: the rate (the rate per level, e.g., Bronze 10%, Silver 15%, Gold 20%, Platinum 25%) | TC-SA-14-02-010 |
| 2.2 Increasing Commission Rates per Level | Rate progression: the progression (the rate increases with the level) | TC-SA-14-02-011 |
| 2.2 Increasing Commission Rates per Level | Rate scope: the scope (the rate applies to the affiliate's commissions) | TC-SA-14-02-012 |
| 2.2 Increasing Commission Rates per Level | Rate definition: the rate defined by the Super Admin (the level, the rate) | TC-SA-14-02-010 |
| 2.2 Increasing Commission Rates per Level | Rate application: the rate applied (the affiliate's commission is per the level's rate) | TC-SA-14-02-013 |
| 2.2 Increasing Commission Rates per Level | Rate record: the rate recorded (the affiliate, the level, the rate) | TC-SA-14-02-014 |
| 2.2 Increasing Commission Rates per Level | Audit logging of the rate definition and the applications | TC-SA-14-02-015 |
| 2.2 Increasing Commission Rates per Level | Rule: the level rate is the measure (the rate per level, e.g., Bronze 10%, Silver 15%, Gold 20%, Platinum 25%); the rate is the basis | TC-SA-14-02-010 |
| 2.2 Increasing Commission Rates per Level | Rule: the rate progression is the structure (the rate increases with the level); the progression is the incentive | TC-SA-14-02-011 |
| 2.2 Increasing Commission Rates per Level | Rule: the rate scope is the application (the rate applies to the affiliate's commissions); the scope is the control | TC-SA-14-02-012 |
| 2.2 Increasing Commission Rates per Level | Rule: a rate change (the level's rate updated) is recorded (the new rate, the time); it is auditable | TC-SA-14-02-016 |
| 2.2 Increasing Commission Rates per Level | Rule: the level rates are visible (the levels, the rates); the level rates are managed | TC-SA-14-02-017 |
| 2.2 Increasing Commission Rates per Level | Rule: rate definition and applications are audit-logged with the affiliate, level, and timestamp | TC-SA-14-02-015 |
| 2.3 Achievement Milestones | Milestone definition: the milestone (the milestone, e.g., the 10th referral, the 100th referral) | TC-SA-14-02-018 |
| 2.3 Achievement Milestones | Milestone condition: the condition (the condition for the milestone, e.g., the number of referrals) | TC-SA-14-02-019 |
| 2.3 Achievement Milestones | Milestone reward: the reward (the reward for the milestone, e.g., a bonus, a perk) | TC-SA-14-02-020 |
| 2.3 Achievement Milestones | Milestone achievement: the achievement (the affiliate achieves the milestone) | TC-SA-14-02-021 |
| 2.3 Achievement Milestones | Milestone record: the milestone recorded (the affiliate, the milestone, the condition, the reward) | TC-SA-14-02-022 |
| 2.3 Achievement Milestones | Milestone tracking: the tracking (the progress toward the milestone) | TC-SA-14-02-023 |
| 2.3 Achievement Milestones | Audit logging of the milestone definition and the achievements | TC-SA-14-02-024 |
| 2.3 Achievement Milestones | Rule: the milestone is the target (e.g., the 10th referral, the 100th referral); the milestone is the goal | TC-SA-14-02-018 |
| 2.3 Achievement Milestones | Rule: the milestone condition is the measure (the condition for the milestone, e.g., the number of referrals); the condition is the basis | TC-SA-14-02-019 |
| 2.3 Achievement Milestones | Rule: the milestone reward is the incentive (the reward for the milestone, e.g., a bonus, a perk); the reward is the value | TC-SA-14-02-020 |
| 2.3 Achievement Milestones | Rule: a milestone change (the condition, the reward updated) is recorded (the new condition, the new reward, the time); it is auditable | TC-SA-14-02-025 |
| 2.3 Achievement Milestones | Rule: the achievement milestones are visible (the milestones, the conditions, the rewards); the milestones are managed | TC-SA-14-02-026 |
| 2.3 Achievement Milestones | Rule: milestone definition and achievements are audit-logged with the affiliate, milestone, and timestamp | TC-SA-14-02-024 |
| 2.4 Seasonal Campaign Bonuses | Seasonal bonus: the bonus (the bonus for the campaign, e.g., the back-to-school bonus, the holiday bonus) | TC-SA-14-02-027 |
| 2.4 Seasonal Campaign Bonuses | Bonus campaign: the campaign (the seasonal campaign, e.g., the back-to-school, the holidays) | TC-SA-14-02-028 |
| 2.4 Seasonal Campaign Bonuses | Bonus period: the period (the period of the bonus, e.g., the season) | TC-SA-14-02-029 |
| 2.4 Seasonal Campaign Bonuses | Bonus condition: the condition (the condition for the bonus, e.g., the number of referrals in the period) | TC-SA-14-02-030 |
| 2.4 Seasonal Campaign Bonuses | Bonus definition: the bonus defined by the Super Admin (the campaign, the bonus, the period, the condition) | TC-SA-14-02-027 |
| 2.4 Seasonal Campaign Bonuses | Bonus application: the bonus applied (the affiliate earns the bonus for the seasonal performance) | TC-SA-14-02-031 |
| 2.4 Seasonal Campaign Bonuses | Audit logging of the bonus definition and the applications | TC-SA-14-02-032 |
| 2.4 Seasonal Campaign Bonuses | Rule: the seasonal bonus is the incentive (the bonus for the campaign, e.g., the back-to-school bonus, the holiday bonus); the bonus is the value | TC-SA-14-02-027 |
| 2.4 Seasonal Campaign Bonuses | Rule: the bonus campaign is the context (the seasonal campaign, e.g., the back-to-school, the holidays); the campaign is the scope | TC-SA-14-02-028 |
| 2.4 Seasonal Campaign Bonuses | Rule: the bonus period is the timing (the period of the bonus, e.g., the season); the period is the control | TC-SA-14-02-029 |
| 2.4 Seasonal Campaign Bonuses | Rule: a bonus change (the campaign, the bonus, the period, the condition updated) is recorded (the new campaign, the new bonus, the new period, the new condition, the time); it is auditable | TC-SA-14-02-033 |
| 2.4 Seasonal Campaign Bonuses | Rule: the seasonal bonuses are visible (the campaigns, the bonuses, the periods, the conditions); the seasonal incentives are managed | TC-SA-14-02-034 |
| 2.4 Seasonal Campaign Bonuses | Rule: bonus definition and applications are audit-logged with the affiliate, campaign, and timestamp | TC-SA-14-02-032 |

## 2.1 Affiliate Levels: Bronze, Silver, Gold, Platinum

### TC-SA-14-02-001 — Level definition: the level (the Bronze, the Silver, the Gold, the Platinum); the level is the rank
**Type:** Positive
**Covers:** 2.1 → Level definition: the level (the Bronze, the Silver, the Gold, the Platinum); Rule: the level is explicit (the Bronze, the Silver, the Gold, the Platinum); the level is the rank
**Preconditions:** The Super Admin opens the performance-based incentives.
**Steps:**
1. Define the affiliate levels: the levels (the Bronze, the Silver, the Gold, the Platinum), the criteria (e.g., the number of referrals, the revenue), and the benefits (e.g., the commission rate, the bonuses).
2. Set the Bronze level (e.g., 1-10 referrals), the Silver level (e.g., 11-50 referrals), and the Gold and Platinum levels (e.g., 51-200, 200+ referrals).
3. Save the levels.
4. Verify the affiliate levels are live and the affiliates are assigned the levels per the criteria.
**Expected Result:** The affiliate levels are defined (the Bronze, the Silver, the Gold, the Platinum) — the level is the rank.
**Priority:** Critical

### TC-SA-14-02-002 — Level criteria: the criteria (the criteria for the level, e.g., the number of referrals, the revenue); the criteria is the measure
**Type:** Positive
**Covers:** 2.1 → Level criteria: the criteria (the criteria for the level, e.g., the number of referrals, the revenue); Rule: the level criteria is the basis (the criteria for the level, e.g., the number of referrals, the revenue); the criteria is the measure
**Preconditions:** The affiliate levels are defined.
**Steps:**
1. Open the level criteria.
2. Verify the criteria for each level (e.g., Bronze 1-10 referrals, Silver 11-50 referrals, Gold 51-200, Platinum 200+).
3. Verify the criteria is the basis for the level.
**Expected Result:** The level criteria is the criteria for the level — the criteria is the measure.
**Priority:** High

### TC-SA-14-02-003 — Level benefits: the benefits (the benefits per level, e.g., the commission rate, the bonuses); the benefits is the incentive
**Type:** Positive
**Covers:** 2.1 → Level benefits: the benefits (the benefits per level, e.g., the commission rate, the bonuses); Rule: the level benefits is the value (the benefits per level, e.g., the commission rate, the bonuses); the benefits is the incentive
**Preconditions:** The affiliate levels are defined with benefits.
**Steps:**
1. Open the level benefits.
2. Verify the benefits per level (e.g., the commission rate, the bonuses).
3. Verify the benefits is the incentive for the level.
**Expected Result:** The level benefits is the benefits per level — the benefits is the incentive.
**Priority:** High

### TC-SA-14-02-004 — Level assignment: the assignment (the affiliate is assigned the level per the criteria); the level is recorded
**Type:** Positive
**Covers:** 2.1 → Level assignment: the assignment (the affiliate is assigned the level per the criteria)
**Preconditions:** The affiliate levels are live (Bronze 1-10 referrals, Silver 11-50 referrals).
**Steps:**
1. An affiliate's performance is evaluated with 15 referrals.
2. Verify the affiliate is assigned the Silver level (the criteria are met).
3. Verify the level is recorded.
**Expected Result:** The level is assigned — the affiliate is assigned the level per the criteria and it is recorded.
**Priority:** Critical

### TC-SA-14-02-005 — Level progression: the progression (the affiliate progresses from the level to the next); the progression is recorded
**Type:** Positive
**Covers:** 2.1 → Level progression: the progression (the affiliate progresses from the level to the next)
**Preconditions:** An affiliate is at the Silver level (11-50 referrals) with 49 referrals.
**Steps:**
1. The affiliate makes the 51st referral.
2. Verify the affiliate progresses from Silver to Gold (the criteria for Gold are met).
3. Verify the progression is recorded.
**Expected Result:** The level progression is applied — the affiliate progresses from the level to the next and it is recorded.
**Priority:** Critical

### TC-SA-14-02-006 — Level record: the level recorded (the affiliate, the level, the criteria, the benefits); the record is the proof
**Type:** Positive
**Covers:** 2.1 → Level record: the level recorded (the affiliate, the level, the criteria, the benefits)
**Preconditions:** An affiliate has been assigned a level.
**Steps:**
1. Open the level record.
2. Verify it shows the affiliate, the level, the criteria, and the benefits.
**Expected Result:** The level is recorded — the affiliate, the level, the criteria, and the benefits are shown.
**Priority:** High

### TC-SA-14-02-007 — Level definition and assignments are audit-logged with the affiliate, level, and timestamp
**Type:** Positive
**Covers:** 2.1 → Audit logging of the level definition and the assignments; Rule: level definition and assignments are audit-logged with the affiliate, level, and timestamp
**Preconditions:** Level definition and assignment events have occurred.
**Steps:**
1. Open the audit trail and filter by "affiliate level".
2. Verify entries show the affiliate, the level, and the timestamp.
**Expected Result:** The level definition and assignments are audit-logged with the affiliate, level, and timestamp.
**Priority:** Critical

### TC-SA-14-02-008 — A level change (the criteria, the benefits updated) is recorded (the new criteria, the new benefits, the time); it is auditable
**Type:** Positive
**Covers:** 2.1 → Rule: a level change (the criteria, the benefits updated) is recorded (the new criteria, the new benefits, the time); it is auditable
**Preconditions:** The affiliate levels are live.
**Steps:**
1. Change the level (the new criteria, the new benefits, the time).
2. Verify the level is updated.
3. Verify the change is recorded and auditable.
**Expected Result:** The level change is recorded (the new criteria, the new benefits, the time) — it is auditable.
**Priority:** High

### TC-SA-14-02-009 — The affiliate levels are visible (the levels, the criteria, the benefits); the levels are managed
**Type:** Positive
**Covers:** 2.1 → Rule: the affiliate levels are visible (the levels, the criteria, the benefits); the levels are managed
**Preconditions:** The affiliate levels are defined.
**Steps:**
1. Open the affiliate levels view.
2. Verify the levels, the criteria, and the benefits are visible.
3. Verify the levels are managed.
**Expected Result:** The affiliate levels are visible — the levels, the criteria, and the benefits are shown.
**Priority:** Medium

## 2.2 Increasing Commission Rates per Level

### TC-SA-14-02-010 — Rate definition: the rate defined by the Super Admin (the level, the rate); the level rate is the measure
**Type:** Positive
**Covers:** 2.2 → Level rate: the rate (the rate per level, e.g., Bronze 10%, Silver 15%, Gold 20%, Platinum 25%); Rate definition: the rate defined by the Super Admin (the level, the rate); Rule: the level rate is the measure (the rate per level, e.g., Bronze 10%, Silver 15%, Gold 20%, Platinum 25%); the rate is the basis
**Preconditions:** The Super Admin opens the performance-based incentives.
**Steps:**
1. Define the level rates: the levels (the Bronze, the Silver, the Gold, the Platinum) and the rates (e.g., Bronze 10%, Silver 15%, Gold 20%, Platinum 25%).
2. Save the level rates.
3. Verify the level rates are live and the affiliate's commission is per the level's rate.
**Expected Result:** The level rates are defined (the level, the rate) — the level rate is the measure.
**Priority:** Critical

### TC-SA-14-02-011 — Rate progression: the progression (the rate increases with the level); the progression is the incentive
**Type:** Negative
**Covers:** 2.2 → Rate progression: the progression (the rate increases with the level); Rule: the rate progression is the structure (the rate increases with the level); the progression is the incentive
**Preconditions:** The level rates are defined (Bronze 10%, Silver 15%, Gold 20%, Platinum 25%).
**Steps:**
1. Verify the rate increases with the level (Bronze 10% < Silver 15% < Gold 20% < Platinum 25%).
2. Attempt to define a rate where a higher level has a lower rate than the level below it — verify the system rejects it or flags it as a deviation.
3. Verify the progression is the structure.
**Expected Result:** The rate progression is enforced — the rate increases with the level.
**Priority:** High

### TC-SA-14-02-012 — Rate scope: the scope (the rate applies to the affiliate's commissions); the scope is the control
**Type:** Positive
**Covers:** 2.2 → Rate scope: the scope (the rate applies to the affiliate's commissions); Rule: the rate scope is the application (the rate applies to the affiliate's commissions); the scope is the control
**Preconditions:** The level rates are defined.
**Steps:**
1. Open the rate scope.
2. Verify the rate applies to the affiliate's commissions.
3. Verify the scope is the control.
**Expected Result:** The rate scope is the application — the rate applies to the affiliate's commissions.
**Priority:** High

### TC-SA-14-02-013 — Rate application: the rate applied (the affiliate's commission is per the level's rate); the commission is recorded
**Type:** Positive
**Covers:** 2.2 → Rate application: the rate applied (the affiliate's commission is per the level's rate)
**Preconditions:** A Gold-level affiliate (20% rate) has a referred purchase of 1000.
**Steps:**
1. The referred purchase of 1000 is made.
2. Verify the affiliate's commission is 200 (20% per the Gold level's rate).
3. Verify the commission is recorded.
**Expected Result:** The rate is applied — the affiliate's commission is per the level's rate and it is recorded.
**Priority:** Critical

### TC-SA-14-02-014 — Rate record: the rate recorded (the affiliate, the level, the rate); the record is the proof
**Type:** Positive
**Covers:** 2.2 → Rate record: the rate recorded (the affiliate, the level, the rate)
**Preconditions:** A level rate has been applied to an affiliate.
**Steps:**
1. Open the rate record.
2. Verify it shows the affiliate, the level, and the rate.
**Expected Result:** The rate is recorded — the affiliate, the level, and the rate are shown.
**Priority:** High

### TC-SA-14-02-015 — Rate definition and applications are audit-logged with the affiliate, level, and timestamp
**Type:** Positive
**Covers:** 2.2 → Audit logging of the rate definition and the applications; Rule: rate definition and applications are audit-logged with the affiliate, level, and timestamp
**Preconditions:** Rate definition and application events have occurred.
**Steps:**
1. Open the audit trail and filter by "level rate".
2. Verify entries show the affiliate, the level, and the timestamp.
**Expected Result:** The rate definition and applications are audit-logged with the affiliate, level, and timestamp.
**Priority:** Critical

### TC-SA-14-02-016 — A rate change (the level's rate updated) is recorded (the new rate, the time); it is auditable
**Type:** Positive
**Covers:** 2.2 → Rule: a rate change (the level's rate updated) is recorded (the new rate, the time); it is auditable
**Preconditions:** The level rates are live.
**Steps:**
1. Change the level's rate (the new rate, the time).
2. Verify the rate is updated.
3. Verify the change is recorded and auditable.
**Expected Result:** The rate change is recorded (the new rate, the time) — it is auditable.
**Priority:** High

### TC-SA-14-02-017 — The level rates are visible (the levels, the rates); the level rates are managed
**Type:** Positive
**Covers:** 2.2 → Rule: the level rates are visible (the levels, the rates); the level rates are managed
**Preconditions:** The level rates are defined.
**Steps:**
1. Open the level rates view.
2. Verify the levels and the rates are visible.
3. Verify the level rates are managed.
**Expected Result:** The level rates are visible — the levels and the rates are shown.
**Priority:** Medium

## 2.3 Achievement Milestones

### TC-SA-14-02-018 — Milestone definition: the milestone (the milestone, e.g., the 10th referral, the 100th referral); the milestone is the goal
**Type:** Positive
**Covers:** 2.3 → Milestone definition: the milestone (the milestone, e.g., the 10th referral, the 100th referral); Rule: the milestone is the target (e.g., the 10th referral, the 100th referral); the milestone is the goal
**Preconditions:** The Super Admin opens the performance-based incentives.
**Steps:**
1. Define the achievement milestones: the milestones (e.g., the 10th referral, the 100th referral), the conditions (e.g., the number of referrals), and the rewards (e.g., a bonus, a perk).
2. Save the milestones.
3. Verify the achievement milestones are live and the affiliates are rewarded for the achievements.
**Expected Result:** The achievement milestones are defined (the milestone, the condition, the reward) — the milestone is the goal.
**Priority:** Critical

### TC-SA-14-02-019 — Milestone condition: the condition (the condition for the milestone, e.g., the number of referrals); the condition is the basis
**Type:** Positive
**Covers:** 2.3 → Milestone condition: the condition (the condition for the milestone, e.g., the number of referrals); Rule: the milestone condition is the measure (the condition for the milestone, e.g., the number of referrals); the condition is the basis
**Preconditions:** An achievement milestone is defined (e.g., the 10th referral).
**Steps:**
1. Open the milestone condition.
2. Verify the condition is the number of referrals (e.g., 10 referrals).
3. Verify the condition is the basis for the milestone.
**Expected Result:** The milestone condition is the condition for the milestone — the condition is the basis.
**Priority:** High

### TC-SA-14-02-020 — Milestone reward: the reward (the reward for the milestone, e.g., a bonus, a perk); the reward is the value
**Type:** Positive
**Covers:** 2.3 → Milestone reward: the reward (the reward for the milestone, e.g., a bonus, a perk); Rule: the milestone reward is the incentive (the reward for the milestone, e.g., a bonus, a perk); the reward is the value
**Preconditions:** An achievement milestone is defined with a reward (e.g., a bonus of 500).
**Steps:**
1. Open the milestone reward.
2. Verify the reward is the bonus (e.g., 500) or the perk.
3. Verify the reward is the incentive for the milestone.
**Expected Result:** The milestone reward is the reward for the milestone — the reward is the value.
**Priority:** High

### TC-SA-14-02-021 — Milestone achievement: the achievement (the affiliate achieves the milestone); the reward is applied and recorded
**Type:** Negative
**Covers:** 2.3 → Milestone achievement: the achievement (the affiliate achieves the milestone)
**Preconditions:** An achievement milestone is live (the 10th referral, reward 500).
**Steps:**
1. An affiliate makes 9 referrals — verify the milestone is not achieved and the reward is not applied.
2. The affiliate makes the 10th referral — verify the milestone is achieved, the reward (500) is applied, and the milestone is recorded.
**Expected Result:** The milestone is achieved only when the condition is met — the reward is applied and the milestone is recorded.
**Priority:** Critical

### TC-SA-14-02-022 — Milestone record: the milestone recorded (the affiliate, the milestone, the condition, the reward); the record is the proof
**Type:** Positive
**Covers:** 2.3 → Milestone record: the milestone recorded (the affiliate, the milestone, the condition, the reward)
**Preconditions:** An affiliate has achieved a milestone.
**Steps:**
1. Open the milestone record.
2. Verify it shows the affiliate, the milestone, the condition, and the reward.
**Expected Result:** The milestone is recorded — the affiliate, the milestone, the condition, and the reward are shown.
**Priority:** High

### TC-SA-14-02-023 — Milestone tracking: the tracking (the progress toward the milestone); the progress is visible
**Type:** Positive
**Covers:** 2.3 → Milestone tracking: the tracking (the progress toward the milestone)
**Preconditions:** An achievement milestone is live (the 10th referral) and an affiliate has 7 referrals.
**Steps:**
1. Open the milestone tracking for the affiliate.
2. Verify the progress toward the milestone is shown (7 of 10 referrals).
3. Verify the tracking is visible.
**Expected Result:** The milestone tracking is shown — the progress toward the milestone is visible.
**Priority:** High

### TC-SA-14-02-024 — Milestone definition and achievements are audit-logged with the affiliate, milestone, and timestamp
**Type:** Positive
**Covers:** 2.3 → Audit logging of the milestone definition and the achievements; Rule: milestone definition and achievements are audit-logged with the affiliate, milestone, and timestamp
**Preconditions:** Milestone definition and achievement events have occurred.
**Steps:**
1. Open the audit trail and filter by "achievement milestone".
2. Verify entries show the affiliate, the milestone, and the timestamp.
**Expected Result:** The milestone definition and achievements are audit-logged with the affiliate, milestone, and timestamp.
**Priority:** Critical

### TC-SA-14-02-025 — A milestone change (the condition, the reward updated) is recorded (the new condition, the new reward, the time); it is auditable
**Type:** Positive
**Covers:** 2.3 → Rule: a milestone change (the condition, the reward updated) is recorded (the new condition, the new reward, the time); it is auditable
**Preconditions:** An achievement milestone is live.
**Steps:**
1. Change the milestone (the new condition, the new reward, the time).
2. Verify the milestone is updated.
3. Verify the change is recorded and auditable.
**Expected Result:** The milestone change is recorded (the new condition, the new reward, the time) — it is auditable.
**Priority:** High

### TC-SA-14-02-026 — The achievement milestones are visible (the milestones, the conditions, the rewards); the milestones are managed
**Type:** Positive
**Covers:** 2.3 → Rule: the achievement milestones are visible (the milestones, the conditions, the rewards); the milestones are managed
**Preconditions:** Multiple achievement milestones are defined.
**Steps:**
1. Open the achievement milestones view.
2. Verify the milestones, the conditions, and the rewards are visible.
3. Verify the milestones are managed.
**Expected Result:** The achievement milestones are visible — the milestones, the conditions, and the rewards are shown.
**Priority:** Medium

## 2.4 Seasonal Campaign Bonuses

### TC-SA-14-02-027 — Bonus definition: the bonus defined by the Super Admin (the campaign, the bonus, the period, the condition); the seasonal bonus is the incentive
**Type:** Positive
**Covers:** 2.4 → Seasonal bonus: the bonus (the bonus for the campaign, e.g., the back-to-school bonus, the holiday bonus); Bonus definition: the bonus defined by the Super Admin (the campaign, the bonus, the period, the condition); Rule: the seasonal bonus is the incentive (the bonus for the campaign, e.g., the back-to-school bonus, the holiday bonus); the bonus is the value
**Preconditions:** The Super Admin opens the performance-based incentives.
**Steps:**
1. Define the seasonal bonus: the campaign (e.g., the back-to-school, the holidays), the bonus (the bonus for the campaign), the period (e.g., the season), and the condition (e.g., the number of referrals in the period).
2. Save the bonus.
3. Verify the seasonal bonuses are live and the affiliates are rewarded for the seasonal performance.
**Expected Result:** The seasonal bonus is defined (the campaign, the bonus, the period, the condition) — the bonus is the incentive.
**Priority:** Critical

### TC-SA-14-02-028 — Bonus campaign: the campaign (the seasonal campaign, e.g., the back-to-school, the holidays); the campaign is the scope
**Type:** Positive
**Covers:** 2.4 → Bonus campaign: the campaign (the seasonal campaign, e.g., the back-to-school, the holidays); Rule: the bonus campaign is the context (the seasonal campaign, e.g., the back-to-school, the holidays); the campaign is the scope
**Preconditions:** A seasonal bonus is defined.
**Steps:**
1. Open the bonus campaign.
2. Verify the campaign is the seasonal campaign (e.g., the back-to-school, the holidays).
3. Verify the campaign is the context.
**Expected Result:** The bonus campaign is the seasonal campaign — the campaign is the scope.
**Priority:** High

### TC-SA-14-02-029 — Bonus period: the period (the period of the bonus, e.g., the season); the period is the control
**Type:** Negative
**Covers:** 2.4 → Bonus period: the period (the period of the bonus, e.g., the season); Rule: the bonus period is the timing (the period of the bonus, e.g., the season); the period is the control
**Preconditions:** A seasonal bonus is live with the period "the back-to-school season" (e.g., Aug 1 - Sep 30).
**Steps:**
1. An affiliate's seasonal performance is evaluated within the period — verify the bonus is eligible.
2. An affiliate's performance is evaluated outside the period — verify the bonus is not applied (the period is not met).
3. Verify the period is the control.
**Expected Result:** The bonus period is enforced — the bonus is applied only within the period.
**Priority:** Critical

### TC-SA-14-02-030 — Bonus condition: the condition (the condition for the bonus, e.g., the number of referrals in the period); the condition is the measure
**Type:** Negative
**Covers:** 2.4 → Bonus condition: the condition (the condition for the bonus, e.g., the number of referrals in the period); Rule: the bonus condition is the condition for the bonus
**Preconditions:** A seasonal bonus is live with the condition "10 referrals in the period".
**Steps:**
1. An affiliate makes 9 referrals in the period — verify the bonus is not applied (the condition is not met).
2. The affiliate makes the 10th referral in the period — verify the bonus is applied (the condition is met).
3. Verify the condition is the measure.
**Expected Result:** The bonus condition is enforced — the bonus is applied only when the condition is met.
**Priority:** Critical

### TC-SA-14-02-031 — Bonus application: the bonus applied (the affiliate earns the bonus for the seasonal performance); the bonus is recorded
**Type:** Positive
**Covers:** 2.4 → Bonus application: the bonus applied (the affiliate earns the bonus for the seasonal performance)
**Preconditions:** A seasonal bonus is live (the back-to-school bonus, 10 referrals in the period, bonus 1000).
**Steps:**
1. An affiliate's seasonal performance is evaluated with 12 referrals in the period.
2. Verify the bonus (1000) is applied (the condition is met, the bonus is given).
3. Verify the bonus is recorded.
**Expected Result:** The bonus is applied — the affiliate earns the bonus for the seasonal performance and it is recorded.
**Priority:** Critical

### TC-SA-14-02-032 — Bonus definition and applications are audit-logged with the affiliate, campaign, and timestamp
**Type:** Positive
**Covers:** 2.4 → Audit logging of the bonus definition and the applications; Rule: bonus definition and applications are audit-logged with the affiliate, campaign, and timestamp
**Preconditions:** Bonus definition and application events have occurred.
**Steps:**
1. Open the audit trail and filter by "seasonal bonus".
2. Verify entries show the affiliate, the campaign, and the timestamp.
**Expected Result:** The bonus definition and applications are audit-logged with the affiliate, campaign, and timestamp.
**Priority:** Critical

### TC-SA-14-02-033 — A bonus change (the campaign, the bonus, the period, the condition updated) is recorded (the new campaign, the new bonus, the new period, the new condition, the time); it is auditable
**Type:** Positive
**Covers:** 2.4 → Rule: a bonus change (the campaign, the bonus, the period, the condition updated) is recorded (the new campaign, the new bonus, the new period, the new condition, the time); it is auditable
**Preconditions:** A seasonal bonus is live.
**Steps:**
1. Change the bonus (the new campaign, the new bonus, the new period, the new condition, the time).
2. Verify the bonus is updated.
3. Verify the change is recorded and auditable.
**Expected Result:** The bonus change is recorded (the new campaign, the new bonus, the new period, the new condition, the time) — it is auditable.
**Priority:** High

### TC-SA-14-02-034 — The seasonal bonuses are visible (the campaigns, the bonuses, the periods, the conditions); the seasonal incentives are managed
**Type:** Positive
**Covers:** 2.4 → Rule: the seasonal bonuses are visible (the campaigns, the bonuses, the periods, the conditions); the seasonal incentives are managed
**Preconditions:** Multiple seasonal bonuses are defined.
**Steps:**
1. Open the seasonal bonuses view.
2. Verify the campaigns, the bonuses, the periods, and the conditions are visible.
3. Verify the seasonal incentives are managed.
**Expected Result:** The seasonal bonuses are visible — the campaigns, the bonuses, the periods, and the conditions are shown.
**Priority:** Medium
