Stage 11 of 17

Stage 11 of 17

Test

25 test cases across 5 categories: Functional (14), Notifications (4), Security (3), Audit (1), Negative (3). Every Must Have requirement is covered by at least one test case.

14

Functional

4

Notifications

3

Security

1

Audit

3

Negative

Test Cases

TC-001Functional

Submit a change with all required fields

REQ-001, REQ-002

Preconditions

Logged in as Rachel Okafor.

Steps

  1. 1.Open the New Change screen.
  2. 2.Complete all required fields with valid data.
  3. 3.Set AffectsPersonalData = No.
  4. 4.Select Submit.

Expected Result

A new record is created in the Changes list with Status = Draft. The app navigates to the Home Dashboard. A success notification appears.

TC-002Functional

Submit button disabled until all fields valid

REQ-004

Preconditions

Logged in as Rachel Okafor. New Change screen is open.

Steps

  1. 1.Leave all fields blank. Observe Submit button.
  2. 2.Enter a Title of 3 characters. Observe Submit button.
  3. 3.Enter a Description of 30 characters (below minimum 50). Observe Submit button.
  4. 4.Complete all fields correctly. Observe Submit button.

Expected Result

Submit button is disabled in the first three cases. It becomes enabled only when all fields meet their minimum requirements.

TC-003Functional

ChangeID generated in correct format

REQ-005

Preconditions

TC-001 completed.

Steps

  1. 1.Navigate to the Changes list in SharePoint.
  2. 2.Find the change created in TC-001.
  3. 3.Check the ChangeID column.

Expected Result

ChangeID = "CHG-20261201-NNN" where NNN is the zero-padded SharePoint item ID.

TC-004Functional

Risk calculated automatically from Impact × Likelihood

REQ-008

Preconditions

TC-001 completed with Impact = High, Likelihood = High.

Steps

  1. 1.Navigate to the Changes list in SharePoint.
  2. 2.Find the change from TC-001.
  3. 3.Check the Risk column.

Expected Result

Risk = Critical (High Impact × High Likelihood = Critical per the risk matrix).

TC-005Functional

DPO notified when AffectsPersonalData = Yes

REQ-031

Preconditions

Logged in as Rachel Okafor.

Steps

  1. 1.Submit a change with AffectsPersonalData = Yes.
  2. 2.Check Fatima Al-Hassan's email inbox.

Expected Result

Fatima Al-Hassan receives an email notification within 5 minutes.

TC-006Functional

Change Administrator advances change to Assessment

REQ-010

Preconditions

Logged in as Tom Reeves. A change exists with Status = Draft.

Steps

  1. 1.Open the change in Change Details.
  2. 2.Select "Advance to Assessment".

Expected Result

Status = Assessment. A ChangeHistory record is created: OldStatus = Draft, NewStatus = Assessment.

TC-007Functional

Risk override in Assessment screen

REQ-008

Preconditions

Logged in as Tom Reeves. A change exists with Status = Assessment, Impact = Low, Likelihood = Low, Risk = Low.

Steps

  1. 1.Open the Assessment screen.
  2. 2.Override Impact to High.
  3. 3.Override Likelihood to High.
  4. 4.Observe the Calculated Risk label.
  5. 5.Advance to Approval.

Expected Result

Calculated Risk = Critical. After advancing, the Changes list shows Risk = Critical.

TC-008Functional

Approver receives notification when change reaches Approval

REQ-023

Preconditions

TC-007 completed (change advanced to Approval with Priya Mehta as Approver).

Steps

  1. 1.Check Priya Mehta's email inbox.
  2. 2.Check Priya Mehta's Teams messages.

Expected Result

Priya Mehta receives an email and Teams message requesting approval.

TC-009Functional

Approver records Approved decision

REQ-014, REQ-015

Preconditions

Logged in as Priya Mehta. A change exists with Status = Approval.

Steps

  1. 1.Open the Approval Status screen.
  2. 2.Select Approval Decision: Approved.
  3. 3.Enter Decision Note: "Approved. Risk is acceptable. Rollback plan is adequate."
  4. 4.Select Record Decision.

Expected Result

Status = Scheduled. ApprovalDecision = Approved. ApprovalDate is set to the current date and time. A ChangeHistory record is created.

TC-010Functional

Approver records Rejected decision — change returns to Draft

REQ-016

Preconditions

Logged in as Priya Mehta. A change exists with Status = Approval.

Steps

  1. 1.Open the Approval Status screen.
  2. 2.Select Approval Decision: Rejected.
  3. 3.Enter Decision Note: "Rejected. The rollback plan is insufficient. Please provide step-by-step rollback instructions."
  4. 4.Select Record Decision.

Expected Result

Status = Draft. Requester receives an email with the rejection reason.

TC-011Functional

Change cannot be scheduled without a Rollback Plan

REQ-011

Preconditions

Logged in as Tom Reeves. A change exists with Status = Assessment and RollbackPlan is empty.

Steps

  1. 1.Open the Assessment screen.
  2. 2.Attempt to advance to Approval without a Rollback Plan.

Expected Result

The Advance to Approval button is disabled or an error message appears: "A Rollback Plan is required before this change can proceed."

TC-012Functional

Implementer records Successful outcome

REQ-017

Preconditions

Logged in as Marcus Webb. A change exists with Status = Implementation.

Steps

  1. 1.Open the Implementation screen.
  2. 2.Enter Implementation Notes: "Change implemented as planned. All tests passed."
  3. 3.Select Outcome: Successful.
  4. 4.Select Record Outcome.

Expected Result

Status = Successful. Outcome = Successful. ActualEnd is set. ImplementationNotes are saved. A ChangeHistory record is created.

TC-013Functional

Implementer records Backed Out outcome

REQ-017

Preconditions

Logged in as Sandra Obi. A change exists with Status = Implementation.

Steps

  1. 1.Open the Implementation screen.
  2. 2.Enter Implementation Notes: "Firewall rule caused unexpected connectivity issues. Rolled back using the documented rollback plan. All services restored."
  3. 3.Select Outcome: Backed Out.
  4. 4.Select Record Outcome.

Expected Result

Status = Backed Out. Outcome = Backed Out. ImplementationNotes are saved.

TC-014Functional

PIR completed and change closed

REQ-020, REQ-021

Preconditions

Logged in as Tom Reeves. A change exists with Status = Successful.

Steps

  1. 1.Open the PIR screen.
  2. 2.Select PIR Objective Achieved: Yes.
  3. 3.Enter Unexpected Impacts: "None."
  4. 4.Enter Lessons Learned: "The implementation plan was clear and complete. No changes needed."
  5. 5.Select Complete PIR.
  6. 6.Open Change Details. Select Close Change.

Expected Result

Status = PIR after completing PIR. Status = Closed after closing. Change record is read-only.

TC-015Notifications

Requester receives acknowledgement email on submission

REQ-022

Preconditions

TC-001 completed.

Steps

  1. 1.Check Rachel Okafor's email inbox.

Expected Result

Rachel receives an acknowledgement email within 5 minutes. Subject includes the ChangeID.

TC-016Notifications

Requester notified of approval decision

REQ-024

Preconditions

TC-009 completed (Approved).

Steps

  1. 1.Check the requester's email inbox.

Expected Result

Requester receives an email confirming the change has been approved and is now scheduled.

TC-017Notifications

Implementer receives reminder 24 hours before Planned Start

REQ-025

Preconditions

A change exists with Status = Scheduled, PlannedStart = tomorrow at 10:00.

Steps

  1. 1.Wait for the DToDLab011-ImplementationReminder flow to run at 07:00 today.
  2. 2.Check the Assignee's email inbox.

Expected Result

The Assignee receives a reminder email with the Implementation Plan and Rollback Plan.

TC-018Notifications

Sandra Obi receives weekly schedule on Friday

REQ-026

Preconditions

At least one change is scheduled for the coming week.

Steps

  1. 1.Wait for the DToDLab011-WeeklySchedule flow to run on Friday at 08:00.
  2. 2.Check Sandra Obi's email inbox.

Expected Result

Sandra Obi receives an email with an HTML table of scheduled changes for the coming week.

TC-019Security

Requester cannot see another user's changes

REQ-029

Preconditions

Logged in as Rachel Okafor.

Steps

  1. 1.Navigate to My Changes.
  2. 2.Observe the changes shown.

Expected Result

Only Rachel Okafor's changes are shown.

TC-020Security

Requester cannot advance a change to Assessment

REQ-030

Preconditions

Logged in as Rachel Okafor.

Steps

  1. 1.Open one of Rachel's Draft changes.
  2. 2.Observe the available action buttons.

Expected Result

The "Advance to Assessment" button is not visible.

TC-021Security

ChangeHistory list not accessible to requesters

REQ-032

Preconditions

Logged in as Rachel Okafor.

Steps

  1. 1.Navigate directly to the ChangeHistory list URL.

Expected Result

Access denied (403 error).

TC-022Audit

ChangeHistory record created for every status transition

REQ-032

Preconditions

TC-006 completed (Draft → Assessment).

Steps

  1. 1.Navigate to the ChangeHistory list in SharePoint.
  2. 2.Filter by ChangeRef = the ChangeID from TC-006.

Expected Result

A ChangeHistory record exists: OldStatus = Draft, NewStatus = Assessment, ChangedBy = t.reeves@contoso.co.uk, ChangedDate = the time of the transition.

TC-023Negative

Rollback Plan required before Approval

REQ-011

Preconditions

Logged in as Tom Reeves. A change exists with Status = Assessment and RollbackPlan is empty.

Steps

  1. 1.Open the Assessment screen.
  2. 2.Attempt to advance to Approval.

Expected Result

The Advance to Approval button is disabled or an error is shown. The change cannot proceed without a Rollback Plan.

TC-024Negative

PIR cannot be skipped — change cannot be closed without PIR

REQ-020

Preconditions

Logged in as Tom Reeves. A change exists with Status = Successful.

Steps

  1. 1.Open Change Details.
  2. 2.Observe the available action buttons.

Expected Result

The "Close Change" button is not visible. Only the "Complete PIR" button is visible. The change cannot be closed without completing the PIR.

TC-025Negative

Approval Decision dropdown not visible to non-Approver

REQ-014

Preconditions

Logged in as Sandra Obi (IT team, not the Approver). A change exists with Status = Approval with Priya Mehta as Approver.

Steps

  1. 1.Open the Approval Status screen.
  2. 2.Observe the Approval Decision dropdown.

Expected Result

The Approval Decision dropdown is not visible or is disabled for Sandra Obi.

Stage Complete — What You Now Have

  • ✓25 test cases across 5 categories
  • ✓Functional: submission, validation, risk calculation, DPO notification, status transitions, approval, implementation, PIR
  • ✓Notifications: acknowledgement, approval decision, implementation reminder, weekly schedule
  • ✓Security: data isolation, action restrictions, ChangeHistory access
  • ✓Audit: ChangeHistory record creation
  • ✓Negative: rollback plan required, PIR cannot be skipped, approval decision restricted

Need more help with the concepts?

Visit DosToDigital for guides, templates, and deeper explanations.

DosToDigital
DToD Labs

Learn it. Build it. Make it work.

A DosToDigital Project

About DToD Labs

Practical technology learning for Microsoft 365 and Power Platform. Build real business solutions from real business problems.

Learn the concepts at DosToDigital. Put them into practice at DToD Labs.

DToD Labs provides practical learning projects for educational purposes. Microsoft services, interfaces, licensing and product capabilities change over time. Always check current Microsoft documentation and licensing before implementing a solution in a production environment. All organisations, business scenarios and data used in DToD Labs are fictional. Learners should not use confidential employer, customer or personal information when following DToD Labs exercises.

© 2026 DToD Labs — A DosToDigital Project