# 6. Program Analytics — Test Cases

User Type: **Super Administrator**
Source: *Mi Digital Academy - Education CRM Features Document*
Spec: program_analytics.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 |
|---------|--------------------|----------|
| 6.1 Conversion Analytics (Clicks, Signups, Purchases) | Click tracking: the clicks (the number of clicks on the affiliate links) | TC-SA-14-06-001 |
| 6.1 Conversion Analytics (Clicks, Signups, Purchases) | Signup tracking: the signups (the number of signups from the affiliate links) | TC-SA-14-06-002 |
| 6.1 Conversion Analytics (Clicks, Signups, Purchases) | Purchase tracking: the purchases (the number of purchases from the affiliate links) | TC-SA-14-06-003 |
| 6.1 Conversion Analytics (Clicks, Signups, Purchases) | Conversion rate: the rate (the conversion rate, e.g., the purchases per click) | TC-SA-14-06-004 |
| 6.1 Conversion Analytics (Clicks, Signups, Purchases) | Analytics view: the view (the conversions per affiliate, per period) | TC-SA-14-06-005 |
| 6.1 Conversion Analytics (Clicks, Signups, Purchases) | Analytics record: the record (the affiliate, the clicks, the signups, the purchases, the rate) | TC-SA-14-06-006 |
| 6.1 Conversion Analytics (Clicks, Signups, Purchases) | Audit logging of the conversion analytics | TC-SA-14-06-007 |
| 6.1 Conversion Analytics (Clicks, Signups, Purchases) | Rule: the click tracking is the reach (the number of clicks on the affiliate links); the clicks are the measure | TC-SA-14-06-001 |
| 6.1 Conversion Analytics (Clicks, Signups, Purchases) | Rule: the signup tracking is the engagement (the number of signups from the affiliate links); the signups are the measure | TC-SA-14-06-002 |
| 6.1 Conversion Analytics (Clicks, Signups, Purchases) | Rule: the purchase tracking is the conversion (the number of purchases from the affiliate links); the purchases are the measure | TC-SA-14-06-003 |
| 6.1 Conversion Analytics (Clicks, Signups, Purchases) | Rule: the conversion rate is the efficiency (the conversion rate, e.g., the purchases per click); the rate is the measure | TC-SA-14-06-004 |
| 6.1 Conversion Analytics (Clicks, Signups, Purchases) | Rule: the conversions are visible (the conversions per affiliate, per period); the analytics are managed | TC-SA-14-06-005 |
| 6.1 Conversion Analytics (Clicks, Signups, Purchases) | Rule: conversion analytics are audit-logged with the affiliate, conversions, and timestamp | TC-SA-14-06-007 |
| 6.2 Top-Performing Courses Report | Course ranking: the ranking (the rank of the course, e.g., the top 10) | TC-SA-14-06-008 |
| 6.2 Top-Performing Courses Report | Referral count: the count (the number of referrals per course) | TC-SA-14-06-009 |
| 6.2 Top-Performing Courses Report | Purchase count: the count (the number of purchases per course) | TC-SA-14-06-010 |
| 6.2 Top-Performing Courses Report | Revenue per course: the revenue (the revenue per course) | TC-SA-14-06-011 |
| 6.2 Top-Performing Courses Report | Report view: the view (the report, the period) | TC-SA-14-06-012 |
| 6.2 Top-Performing Courses Report | Report export: the export (the report, the format) | TC-SA-14-06-013 |
| 6.2 Top-Performing Courses Report | Audit logging of the report generation | TC-SA-14-06-014 |
| 6.2 Top-Performing Courses Report | Rule: the course ranking is the order (the rank of the course, e.g., the top 10); the ranking is the structure | TC-SA-14-06-008 |
| 6.2 Top-Performing Courses Report | Rule: the referral count is the reach (the number of referrals per course); the count is the measure | TC-SA-14-06-009 |
| 6.2 Top-Performing Courses Report | Rule: the purchase count is the conversion (the number of purchases per course); the count is the measure | TC-SA-14-06-010 |
| 6.2 Top-Performing Courses Report | Rule: the revenue per course is the value (the revenue per course); the revenue is the measure | TC-SA-14-06-011 |
| 6.2 Top-Performing Courses Report | Rule: the report is visible (the courses, the ranks, the referrals, the purchases, the revenue); the report is managed | TC-SA-14-06-012 |
| 6.2 Top-Performing Courses Report | Rule: report generation is audit-logged with the course, rank, and timestamp | TC-SA-14-06-014 |
| 6.3 Affiliate Performance Leaderboard | Leaderboard ranking: the ranking (the rank of the affiliate, e.g., the top 10) | TC-SA-14-06-015 |
| 6.3 Affiliate Performance Leaderboard | Performance metric: the metric (the metric for the ranking, e.g., the revenue, the referrals) | TC-SA-14-06-016 |
| 6.3 Affiliate Performance Leaderboard | Leaderboard period: the period (the period of the leaderboard, e.g., the monthly, the quarterly) | TC-SA-14-06-017 |
| 6.3 Affiliate Performance Leaderboard | Leaderboard view: the view (the leaderboard, the period) | TC-SA-14-06-018 |
| 6.3 Affiliate Performance Leaderboard | Leaderboard export: the export (the leaderboard, the format) | TC-SA-14-06-019 |
| 6.3 Affiliate Performance Leaderboard | Leaderboard record: the record (the affiliate, the rank, the performance, the period) | TC-SA-14-06-020 |
| 6.3 Affiliate Performance Leaderboard | Audit logging of the leaderboard generation | TC-SA-14-06-021 |
| 6.3 Affiliate Performance Leaderboard | Rule: the leaderboard ranking is the order (the rank of the affiliate, e.g., the top 10); the ranking is the structure | TC-SA-14-06-015 |
| 6.3 Affiliate Performance Leaderboard | Rule: the performance metric is the basis (the metric for the ranking, e.g., the revenue, the referrals); the metric is the measure | TC-SA-14-06-016 |
| 6.3 Affiliate Performance Leaderboard | Rule: the leaderboard period is the timing (the period of the leaderboard, e.g., the monthly, the quarterly); the period is the context | TC-SA-14-06-017 |
| 6.3 Affiliate Performance Leaderboard | Rule: the leaderboard is visible (the affiliates, the ranks, the performance); the leaderboard is managed | TC-SA-14-06-018 |
| 6.3 Affiliate Performance Leaderboard | Rule: leaderboard generation is audit-logged with the affiliate, rank, and timestamp | TC-SA-14-06-021 |
| 6.4 Performance Tracking per Affiliate | Performance tracking: the tracking (the affiliate, the referrals, the purchases, the revenue, the period) | TC-SA-14-06-022 |
| 6.4 Performance Tracking per Affiliate | Referral tracking: the referrals (the number of referrals per affiliate) | TC-SA-14-06-023 |
| 6.4 Performance Tracking per Affiliate | Purchase tracking: the purchases (the number of purchases per affiliate) | TC-SA-14-06-024 |
| 6.4 Performance Tracking per Affiliate | Revenue tracking: the revenue (the revenue per affiliate) | TC-SA-14-06-025 |
| 6.4 Performance Tracking per Affiliate | Performance view: the view (the performance per affiliate, per period) | TC-SA-14-06-026 |
| 6.4 Performance Tracking per Affiliate | Performance trend: the trend (the performance trend, the period) | TC-SA-14-06-027 |
| 6.4 Performance Tracking per Affiliate | Audit logging of the performance tracking | TC-SA-14-06-028 |
| 6.4 Performance Tracking per Affiliate | Rule: the performance tracking is explicit (the affiliate, the referrals, the purchases, the revenue, the period); the tracking is the visibility | TC-SA-14-06-022 |
| 6.4 Performance Tracking per Affiliate | Rule: the referral tracking is the reach (the number of referrals per affiliate); the referrals are the measure | TC-SA-14-06-023 |
| 6.4 Performance Tracking per Affiliate | Rule: the purchase tracking is the conversion (the number of purchases per affiliate); the purchases are the measure | TC-SA-14-06-024 |
| 6.4 Performance Tracking per Affiliate | Rule: the revenue tracking is the value (the revenue per affiliate); the revenue is the measure | TC-SA-14-06-025 |
| 6.4 Performance Tracking per Affiliate | Rule: the performance is visible (the performance per affiliate, per period); the tracking is managed | TC-SA-14-06-026 |
| 6.4 Performance Tracking per Affiliate | Rule: performance tracking is audit-logged with the affiliate, performance, and timestamp | TC-SA-14-06-028 |

## 6.1 Conversion Analytics (Clicks, Signups, Purchases)

### TC-SA-14-06-001 — Click tracking: the clicks (the number of clicks on the affiliate links); the clicks are the reach
**Type:** Positive
**Covers:** 6.1 → Click tracking: the clicks (the number of clicks on the affiliate links); Rule: the click tracking is the reach (the number of clicks on the affiliate links); the clicks are the measure
**Preconditions:** Affiliate links have been clicked.
**Steps:**
1. View the click tracking.
2. Verify the number of clicks on the affiliate links is shown.
3. Verify the clicks are the reach.
**Expected Result:** The click tracking is shown — the number of clicks on the affiliate links is visible.
**Priority:** High

### TC-SA-14-06-002 — Signup tracking: the signups (the number of signups from the affiliate links); the signups are the engagement
**Type:** Positive
**Covers:** 6.1 → Signup tracking: the signups (the number of signups from the affiliate links); Rule: the signup tracking is the engagement (the number of signups from the affiliate links); the signups are the measure
**Preconditions:** Signups have been made from the affiliate links.
**Steps:**
1. View the signup tracking.
2. Verify the number of signups from the affiliate links is shown.
3. Verify the signups are the engagement.
**Expected Result:** The signup tracking is shown — the number of signups from the affiliate links is visible.
**Priority:** High

### TC-SA-14-06-003 — Purchase tracking: the purchases (the number of purchases from the affiliate links); the purchases are the conversion
**Type:** Positive
**Covers:** 6.1 → Purchase tracking: the purchases (the number of purchases from the affiliate links); Rule: the purchase tracking is the conversion (the number of purchases from the affiliate links); the purchases are the measure
**Preconditions:** Purchases have been made from the affiliate links.
**Steps:**
1. View the purchase tracking.
2. Verify the number of purchases from the affiliate links is shown.
3. Verify the purchases are the conversion.
**Expected Result:** The purchase tracking is shown — the number of purchases from the affiliate links is visible.
**Priority:** High

### TC-SA-14-06-004 — Conversion rate: the rate (the conversion rate, e.g., the purchases per click); the rate is the efficiency
**Type:** Edge
**Covers:** 6.1 → Conversion rate: the rate (the conversion rate, e.g., the purchases per click); Rule: the conversion rate is the efficiency (the conversion rate, e.g., the purchases per click); the rate is the measure
**Preconditions:** An affiliate has 100 clicks and 10 purchases; another affiliate has 0 clicks and 0 purchases.
**Steps:**
1. View the conversion rate for the first affiliate — verify the rate is 10% (10 purchases per 100 clicks).
2. View the conversion rate for the second affiliate (0 clicks) — verify the rate is shown as 0 or N/A without an error (division by zero is handled).
3. Verify the rate is the efficiency.
**Expected Result:** The conversion rate is shown — the purchases per click, with the zero-click case handled without error.
**Priority:** High

### TC-SA-14-06-005 — Analytics view: the view (the conversions per affiliate, per period); the analytics are managed
**Type:** Positive
**Covers:** 6.1 → Analytics view: the view (the conversions per affiliate, per period); Rule: the conversions are visible (the conversions per affiliate, per period); the analytics are managed
**Preconditions:** Conversions exist for multiple affiliates across multiple periods.
**Steps:**
1. View the conversions per affiliate — verify each affiliate's clicks, signups, purchases, and rate are shown.
2. View the conversions per period — verify the conversions for each period are shown.
3. Verify the analytics are complete and managed.
**Expected Result:** The conversions are visible — the conversions per affiliate, per period are shown.
**Priority:** High

### TC-SA-14-06-006 — Analytics record: the record (the affiliate, the clicks, the signups, the purchases, the rate); the record is the proof
**Type:** Positive
**Covers:** 6.1 → Analytics record: the record (the affiliate, the clicks, the signups, the purchases, the rate)
**Preconditions:** Conversion analytics have been tracked.
**Steps:**
1. Open the analytics record.
2. Verify it shows the affiliate, the clicks, the signups, the purchases, and the rate.
**Expected Result:** The analytics are recorded — the affiliate, the clicks, the signups, the purchases, and the rate are shown.
**Priority:** High

### TC-SA-14-06-007 — Conversion analytics are audit-logged with the affiliate, conversions, and timestamp
**Type:** Positive
**Covers:** 6.1 → Audit logging of the conversion analytics; Rule: conversion analytics are audit-logged with the affiliate, conversions, and timestamp
**Preconditions:** Conversion analytics events have occurred.
**Steps:**
1. Open the audit trail and filter by "conversion analytics".
2. Verify entries show the affiliate, the conversions, and the timestamp.
**Expected Result:** The conversion analytics are audit-logged with the affiliate, conversions, and timestamp.
**Priority:** Critical

## 6.2 Top-Performing Courses Report

### TC-SA-14-06-008 — Course ranking: the ranking (the rank of the course, e.g., the top 10); the ranking is the structure
**Type:** Positive
**Covers:** 6.2 → Course ranking: the ranking (the rank of the course, e.g., the top 10); Rule: the course ranking is the order (the rank of the course, e.g., the top 10); the ranking is the structure
**Preconditions:** Referrals, purchases, and revenue exist for multiple courses.
**Steps:**
1. View the top-performing courses report.
2. Verify the courses are ranked (e.g., the top 10) by their performance.
3. Verify the ranking is the order.
**Expected Result:** The course ranking is shown — the rank of the course (e.g., the top 10) is visible.
**Priority:** Critical

### TC-SA-14-06-009 — Referral count: the count (the number of referrals per course); the count is the reach
**Type:** Positive
**Covers:** 6.2 → Referral count: the count (the number of referrals per course); Rule: the referral count is the reach (the number of referrals per course); the count is the measure
**Preconditions:** Referrals exist for multiple courses.
**Steps:**
1. View the referral count in the report.
2. Verify the number of referrals per course is shown.
3. Verify the count is the reach.
**Expected Result:** The referral count is shown — the number of referrals per course is visible.
**Priority:** High

### TC-SA-14-06-010 — Purchase count: the count (the number of purchases per course); the count is the conversion
**Type:** Positive
**Covers:** 6.2 → Purchase count: the count (the number of purchases per course); Rule: the purchase count is the conversion (the number of purchases per course); the count is the measure
**Preconditions:** Purchases exist for multiple courses.
**Steps:**
1. View the purchase count in the report.
2. Verify the number of purchases per course is shown.
3. Verify the count is the conversion.
**Expected Result:** The purchase count is shown — the number of purchases per course is visible.
**Priority:** High

### TC-SA-14-06-011 — Revenue per course: the revenue (the revenue per course); the revenue is the value
**Type:** Positive
**Covers:** 6.2 → Revenue per course: the revenue (the revenue per course); Rule: the revenue per course is the value (the revenue per course); the revenue is the measure
**Preconditions:** Revenue exists for multiple courses.
**Steps:**
1. View the revenue per course in the report.
2. Verify the revenue per course is shown.
3. Verify the revenue is the value.
**Expected Result:** The revenue per course is shown — the revenue per course is visible.
**Priority:** High

### TC-SA-14-06-012 — Report view: the view (the report, the period); the report is managed
**Type:** Positive
**Covers:** 6.2 → Report view: the view (the report, the period); Rule: the report is visible (the courses, the ranks, the referrals, the purchases, the revenue); the report is managed
**Preconditions:** The top-performing courses report is generated for a period.
**Steps:**
1. View the report for the period.
2. Verify the courses, the ranks, the referrals, the purchases, and the revenue are visible.
3. Verify the report is managed.
**Expected Result:** The report is visible — the courses, the ranks, the referrals, the purchases, and the revenue are shown.
**Priority:** High

### TC-SA-14-06-013 — Report export: the export (the report, the format); the export is the record
**Type:** Positive
**Covers:** 6.2 → Report export: the export (the report, the format)
**Preconditions:** The top-performing courses report is generated.
**Steps:**
1. Export the report (the report, the format, the period).
2. Verify the export is generated in the selected format.
3. Verify the exported data matches the report view.
**Expected Result:** The report is exported — the report in the selected format for the period is generated.
**Priority:** Medium

### TC-SA-14-06-014 — Report generation is audit-logged with the course, rank, and timestamp
**Type:** Positive
**Covers:** 6.2 → Audit logging of the report generation; Rule: report generation is audit-logged with the course, rank, and timestamp
**Preconditions:** The top-performing courses report has been generated.
**Steps:**
1. Open the audit trail and filter by "top-performing courses report".
2. Verify entries show the course, the rank, and the timestamp.
**Expected Result:** The report generation is audit-logged with the course, rank, and timestamp.
**Priority:** Critical

## 6.3 Affiliate Performance Leaderboard

### TC-SA-14-06-015 — Leaderboard ranking: the ranking (the rank of the affiliate, e.g., the top 10); the ranking is the structure
**Type:** Positive
**Covers:** 6.3 → Leaderboard ranking: the ranking (the rank of the affiliate, e.g., the top 10); Rule: the leaderboard ranking is the order (the rank of the affiliate, e.g., the top 10); the ranking is the structure
**Preconditions:** Performance data exists for multiple affiliates.
**Steps:**
1. View the affiliate performance leaderboard.
2. Verify the affiliates are ranked (e.g., the top 10) by their performance.
3. Verify the ranking is the order.
**Expected Result:** The leaderboard ranking is shown — the rank of the affiliate (e.g., the top 10) is visible.
**Priority:** Critical

### TC-SA-14-06-016 — Performance metric: the metric (the metric for the ranking, e.g., the revenue, the referrals); the metric is the measure
**Type:** Negative
**Covers:** 6.3 → Performance metric: the metric (the metric for the ranking, e.g., the revenue, the referrals); Rule: the performance metric is the basis (the metric for the ranking, e.g., the revenue, the referrals); the metric is the measure
**Preconditions:** The leaderboard is generated with the revenue metric.
**Steps:**
1. Verify the ranking is by revenue (the highest revenue is rank 1).
2. Switch the metric to referrals — verify the ranking is re-ordered by referrals.
3. Verify the metric is the basis for the ranking.
**Expected Result:** The performance metric is enforced — the ranking is by the selected metric (the revenue, the referrals).
**Priority:** High

### TC-SA-14-06-017 — Leaderboard period: the period (the period of the leaderboard, e.g., the monthly, the quarterly); the period is the context
**Type:** Negative
**Covers:** 6.3 → Leaderboard period: the period (the period of the leaderboard, e.g., the monthly, the quarterly); Rule: the leaderboard period is the timing (the period of the leaderboard, e.g., the monthly, the quarterly); the period is the context
**Preconditions:** Performance data exists across multiple periods.
**Steps:**
1. View the leaderboard for the monthly period — verify only the current month's performance is ranked.
2. View the leaderboard for the quarterly period — verify only the current quarter's performance is ranked.
3. Verify the period is the context.
**Expected Result:** The leaderboard period is enforced — the ranking is for the selected period only.
**Priority:** High

### TC-SA-14-06-018 — Leaderboard view: the view (the leaderboard, the period); the leaderboard is managed
**Type:** Positive
**Covers:** 6.3 → Leaderboard view: the view (the leaderboard, the period); Rule: the leaderboard is visible (the affiliates, the ranks, the performance); the leaderboard is managed
**Preconditions:** The leaderboard is generated for a period.
**Steps:**
1. View the leaderboard for the period.
2. Verify the affiliates, the ranks, and the performance are visible.
3. Verify the leaderboard is managed.
**Expected Result:** The leaderboard is visible — the affiliates, the ranks, and the performance are shown.
**Priority:** High

### TC-SA-14-06-019 — Leaderboard export: the export (the leaderboard, the format); the export is the record
**Type:** Positive
**Covers:** 6.3 → Leaderboard export: the export (the leaderboard, the format)
**Preconditions:** The leaderboard is generated.
**Steps:**
1. Export the leaderboard (the leaderboard, the format, the period).
2. Verify the export is generated in the selected format.
3. Verify the exported data matches the leaderboard view.
**Expected Result:** The leaderboard is exported — the leaderboard in the selected format for the period is generated.
**Priority:** Medium

### TC-SA-14-06-020 — Leaderboard record: the record (the affiliate, the rank, the performance, the period); the record is the proof
**Type:** Positive
**Covers:** 6.3 → Leaderboard record: the record (the affiliate, the rank, the performance, the period)
**Preconditions:** The leaderboard has been generated.
**Steps:**
1. Open the leaderboard record.
2. Verify it shows the affiliate, the rank, the performance, and the period.
**Expected Result:** The leaderboard is recorded — the affiliate, the rank, the performance, and the period are shown.
**Priority:** High

### TC-SA-14-06-021 — Leaderboard generation is audit-logged with the affiliate, rank, and timestamp
**Type:** Positive
**Covers:** 6.3 → Audit logging of the leaderboard generation; Rule: leaderboard generation is audit-logged with the affiliate, rank, and timestamp
**Preconditions:** The leaderboard has been generated.
**Steps:**
1. Open the audit trail and filter by "affiliate leaderboard".
2. Verify entries show the affiliate, the rank, and the timestamp.
**Expected Result:** The leaderboard generation is audit-logged with the affiliate, rank, and timestamp.
**Priority:** Critical

## 6.4 Performance Tracking per Affiliate

### TC-SA-14-06-022 — Performance tracking: the tracking (the affiliate, the referrals, the purchases, the revenue, the period); the tracking is the visibility
**Type:** Positive
**Covers:** 6.4 → Performance tracking: the tracking (the affiliate, the referrals, the purchases, the revenue, the period); Rule: the performance tracking is explicit (the affiliate, the referrals, the purchases, the revenue, the period); the tracking is the visibility
**Preconditions:** Performance data exists for multiple affiliates.
**Steps:**
1. View the performance tracking.
2. Verify it shows the affiliate, the referrals, the purchases, the revenue, and the period.
3. Verify the tracking is explicit.
**Expected Result:** The performance tracking is shown — the affiliate, the referrals, the purchases, the revenue, and the period are visible.
**Priority:** Critical

### TC-SA-14-06-023 — Referral tracking: the referrals (the number of referrals per affiliate); the referrals are the reach
**Type:** Positive
**Covers:** 6.4 → Referral tracking: the referrals (the number of referrals per affiliate); Rule: the referral tracking is the reach (the number of referrals per affiliate); the referrals are the measure
**Preconditions:** Referrals exist for multiple affiliates.
**Steps:**
1. View the referral tracking.
2. Verify the number of referrals per affiliate is shown.
3. Verify the referrals are the reach.
**Expected Result:** The referral tracking is shown — the number of referrals per affiliate is visible.
**Priority:** High

### TC-SA-14-06-024 — Purchase tracking: the purchases (the number of purchases per affiliate); the purchases are the conversion
**Type:** Positive
**Covers:** 6.4 → Purchase tracking: the purchases (the number of purchases per affiliate); Rule: the purchase tracking is the conversion (the number of purchases per affiliate); the purchases are the measure
**Preconditions:** Purchases exist for multiple affiliates.
**Steps:**
1. View the purchase tracking.
2. Verify the number of purchases per affiliate is shown.
3. Verify the purchases are the conversion.
**Expected Result:** The purchase tracking is shown — the number of purchases per affiliate is visible.
**Priority:** High

### TC-SA-14-06-025 — Revenue tracking: the revenue (the revenue per affiliate); the revenue is the value
**Type:** Positive
**Covers:** 6.4 → Revenue tracking: the revenue (the revenue per affiliate); Rule: the revenue tracking is the value (the revenue per affiliate); the revenue is the measure
**Preconditions:** Revenue exists for multiple affiliates.
**Steps:**
1. View the revenue tracking.
2. Verify the revenue per affiliate is shown.
3. Verify the revenue is the value.
**Expected Result:** The revenue tracking is shown — the revenue per affiliate is visible.
**Priority:** High

### TC-SA-14-06-026 — Performance view: the view (the performance per affiliate, per period); the tracking is managed
**Type:** Positive
**Covers:** 6.4 → Performance view: the view (the performance per affiliate, per period); Rule: the performance is visible (the performance per affiliate, per period); the tracking is managed
**Preconditions:** Performance data exists for multiple affiliates across multiple periods.
**Steps:**
1. View the performance per affiliate — verify each affiliate's referrals, purchases, and revenue are shown.
2. View the performance per period — verify the performance for each period is shown.
3. Verify the tracking is complete and managed.
**Expected Result:** The performance is visible — the performance per affiliate, per period is shown.
**Priority:** High

### TC-SA-14-06-027 — Performance trend: the trend (the performance trend, the period); the trend is the direction
**Type:** Positive
**Covers:** 6.4 → Performance trend: the trend (the performance trend, the period)
**Preconditions:** Performance data exists across multiple periods.
**Steps:**
1. View the performance trend.
2. Verify the trend is shown per period (e.g., increasing, decreasing, stable).
3. Verify the trend is the direction of the performance.
**Expected Result:** The performance trend is shown — the performance trend per period is visible.
**Priority:** Medium

### TC-SA-14-06-028 — Performance tracking is audit-logged with the affiliate, performance, and timestamp
**Type:** Positive
**Covers:** 6.4 → Audit logging of the performance tracking; Rule: performance tracking is audit-logged with the affiliate, performance, and timestamp
**Preconditions:** Performance tracking events have occurred.
**Steps:**
1. Open the audit trail and filter by "performance tracking".
2. Verify entries show the affiliate, the performance, and the timestamp.
**Expected Result:** The performance tracking is audit-logged with the affiliate, performance, and timestamp.
**Priority:** Critical
