Skip to content

Verification Matrix — Deactivating Worksites and Projects ​

Implements: Deactivating Worksites and Projects

MECE Coverage: See MECE Coverage Matrix for complete Mutually Exclusive, Collectively Exhaustive analysis.

Component Scenarios (at a glance) ​

IDTitleACs CoveredType
TC-PROT-DEACT-001Site Protector deactivates worksite with clear frameAC-PROT-009-01Positive
TC-PROT-DEACT-002Worksite deactivation confirmation and successAC-PROT-009-02Positive
TC-PROT-DEACT-003RPO deactivates multi-site PWA when all worksites deactivatedAC-PROT-009-03Positive
TC-PROT-DEACT-004PWA deactivation confirmation and successAC-PROT-009-04Positive
TC-PROT-DEACT-005Audit trail records deactivation eventsAC-PROT-009-05Positive
TC-PROT-DEACT-006Acting Site Protector sees deactivate actionAC-PROT-009-06Positive
TC-PROT-DEACT-007Acting RPO sees deactivate PWA actionAC-PROT-009-07Positive
TC-PROT-DEACT-008Inactive entities hide active-state actionsAC-PROT-009-08Positive
TC-PROT-DEACT-009Worksite deactivation works offlineAC-PROT-009-09Positive
TC-PROT-DEACT-010PWA deactivation requires online connectivityAC-PROT-009-10Positive
TC-PROT-DEACT-011Workers locked on prevents worksite deactivationAC-PROT-009-11Defensive
TC-PROT-DEACT-012Plant locked on prevents worksite deactivationAC-PROT-009-12Defensive
TC-PROT-DEACT-013Active worksites prevent PWA deactivationAC-PROT-009-13Defensive
TC-PROT-DEACT-014Non-acting users cannot access deactivationAC-PROT-009-14Negative
TC-PROT-DEACT-015RPO deactivates single-site PWAAC-PROT-009-15Positive
TC-PROT-DEACT-016Real-time status updates when onlineAC-PROT-009-16Positive
TC-PROT-DEACT-017Status updates sync when device comes onlineAC-PROT-009-17Positive

End-to-End Flow Scenarios ​

IDTitleACs CoveredComponent TestsType
TC-PROT-DEACT-E2E-001Complete Worksite Deactivation JourneyAC-PROT-009-01, AC-PROT-009-02, AC-PROT-009-05TC-001, TC-002, TC-005E2E Flow
TC-PROT-DEACT-E2E-002Complete Multi-site PWA Deactivation JourneyAC-PROT-009-03, AC-PROT-009-04, AC-PROT-009-05TC-003, TC-004, TC-005E2E Flow
TC-PROT-DEACT-E2E-003Emergency Deactivation with Safety ValidationAC-PROT-009-06, AC-PROT-009-11, AC-PROT-009-12, AC-PROT-009-02TC-006, TC-011, TC-012, TC-002E2E Flow
TC-PROT-DEACT-E2E-004Offline Worksite Deactivation JourneyAC-PROT-009-09, AC-PROT-009-02, AC-PROT-009-05TC-009, TC-002, TC-005E2E Flow

Component Scenario Details ​

TC-PROT-DEACT-001: Site Protector deactivates worksite with clear frame

Covers: AC-PROT-009-01

  • Arrange
    • The user is logged in as the acting Site Protector for a worksite.
    • The worksite status is Active.
    • All workers except the Site Protector are locked off.
    • All plant is locked off (clear frame condition).
  • Act
    • The user selects the Deactivate Worksite action.
  • Assert
    • The system displays a confirmation dialog.
    • The confirmation dialog explains the deactivation action.

TC-PROT-DEACT-002: Worksite deactivation confirmation and success

Covers: AC-PROT-009-02

  • Arrange
    • The user is logged in as the acting Site Protector.
    • The worksite shows clear frame.
    • The deactivation confirmation dialog is displayed.
  • Act
    • The user confirms the deactivation.
  • Assert
    • The worksite status changes to Inactive.
    • The system displays a success message.

TC-PROT-DEACT-003: RPO deactivates multi-site PWA when all worksites deactivated

Covers: AC-PROT-009-03

  • Arrange
    • The user is logged in as the acting RPO for a multi-site PWA.
    • The PWA status is Active.
    • All associated worksites are Inactive (deactivated).
  • Act
    • The user selects the Deactivate PWA action.
  • Assert
    • The system displays a confirmation dialog.
    • The confirmation dialog explains the PWA deactivation action.

TC-PROT-DEACT-004: PWA deactivation confirmation and success

Covers: AC-PROT-009-04

  • Arrange
    • The user is logged in as the acting RPO.
    • All worksites in the PWA are deactivated.
    • The PWA deactivation confirmation dialog is displayed.
  • Act
    • The user confirms the PWA deactivation.
  • Assert
    • The PWA status changes to Inactive.
    • The system displays a success message.

TC-PROT-DEACT-005: Audit trail records deactivation events

Covers: AC-PROT-009-05

  • Arrange
    • The user is logged in as the acting Site Protector or RPO.
    • A worksite or PWA is ready for deactivation.
  • Act
    • The user completes the deactivation process.
  • Assert
    • An audit event is recorded with the user's identifier and timestamp.
    • The audit event includes the deactivated entity (worksite or PWA ID).

TC-PROT-DEACT-006: Acting Site Protector sees deactivate action

Covers: AC-PROT-009-06

  • Arrange
    • The user is logged in as the acting Site Protector for a worksite.
    • The worksite shows clear frame (all workers except SP locked off, all plant locked off).
  • Act
    • The user views the worksite actions.
  • Assert
    • The Deactivate Worksite action is visible and enabled.

TC-PROT-DEACT-007: Acting RPO sees deactivate PWA action

Covers: AC-PROT-009-07

  • Arrange
    • The user is logged in as the acting RPO for a PWA.
    • All worksites in the PWA are deactivated.
  • Act
    • The user views the PWA actions.
  • Assert
    • The Deactivate PWA action is visible and enabled.

TC-PROT-DEACT-008: Inactive entities hide active-state actions

Covers: AC-PROT-009-08

  • Arrange
    • A worksite or PWA has been deactivated (status is Inactive).
  • Act
    • The user views the available actions for the inactive entity.
  • Assert
    • Actions that require an active state are hidden or disabled.
    • Only actions appropriate for inactive entities are shown.

TC-PROT-DEACT-009: Worksite deactivation works offline

Covers: AC-PROT-009-09

  • Arrange
    • The user is logged in as the acting Site Protector.
    • The worksite shows clear frame.
    • The device is offline (no network connectivity).
  • Act
    • The user deactivates the worksite.
  • Assert
    • The deactivation completes successfully.
    • The worksite status changes to Inactive.
    • The action is queued for synchronisation when online.

TC-PROT-DEACT-010: PWA deactivation requires online connectivity

Covers: AC-PROT-009-10

  • Arrange
    • The user is logged in as the acting RPO.
    • All worksites in the PWA are deactivated.
    • The device is offline (no network connectivity).
  • Act
    • The user attempts to deactivate the PWA.
  • Assert
    • The system prevents the deactivation.
    • An error message indicates that online connectivity is required.

TC-PROT-DEACT-011: Workers locked on prevents worksite deactivation

Covers: AC-PROT-009-11

  • Arrange
    • The user is logged in as the acting Site Protector.
    • The worksite is Active.
    • One or more workers (other than the Site Protector) remain locked on.
  • Act
    • The user attempts to deactivate the worksite.
  • Assert
    • The system prevents the deactivation.
    • The Deactivate Worksite action is disabled or hidden.

TC-PROT-DEACT-012: Plant locked on prevents worksite deactivation

Covers: AC-PROT-009-12

  • Arrange
    • The user is logged in as the acting Site Protector.
    • The worksite is Active.
    • All workers except the Site Protector are locked off.
    • One or more plant items remain locked on.
  • Act
    • The user attempts to deactivate the worksite.
  • Assert
    • The system prevents the deactivation.
    • The Deactivate Worksite action is disabled or hidden.

TC-PROT-DEACT-013: Active worksites prevent PWA deactivation

Covers: AC-PROT-009-13

  • Arrange
    • The user is logged in as the acting RPO.
    • The PWA is Active.
    • One or more worksites in the PWA remain Active (not deactivated).
  • Act
    • The user attempts to deactivate the PWA.
  • Assert
    • The system prevents the deactivation.
    • The Deactivate PWA action is disabled or hidden.

TC-PROT-DEACT-014: Non-acting users cannot access deactivation

Covers: AC-PROT-009-14

  • Arrange
    • The user is logged in with Site Protector or RPO role.
    • The user is NOT the acting Site Protector for the worksite or acting RPO for the PWA.
  • Act
    • The user views the worksite or PWA actions.
  • Assert
    • The deactivation actions are hidden or disabled.
    • Only the acting protector can access deactivation functionality.

TC-PROT-DEACT-015: RPO deactivates single-site PWA

Covers: AC-PROT-009-15

  • Arrange
    • The user is logged in as the acting RPO for a single-site PWA.
    • The single worksite shows clear frame.
    • The PWA status is Active.
  • Act
    • The user selects the Deactivate PWA action and confirms.
  • Assert
    • Both the worksite and PWA status change to Inactive.
    • The system displays a success message.

TC-PROT-DEACT-016: Real-time status updates when online

Covers: AC-PROT-009-16

  • Arrange
    • Multiple users are logged in and viewing the same worksite or PWA.
    • All devices are online with network connectivity.
    • The worksite or PWA is Active.
  • Act
    • The acting Site Protector or RPO deactivates the worksite or PWA.
  • Assert
    • All other users viewing the entity see the status change to Inactive automatically.
    • The status update occurs in real-time without requiring page refresh.

TC-PROT-DEACT-017: Status updates sync when device comes online

Covers: AC-PROT-009-17

  • Arrange
    • A user is logged in and viewing a worksite on a device that is offline.
    • The worksite is Active.
    • Another user (acting Site Protector) has a device that is online.
  • Act
    • The acting Site Protector deactivates the worksite while the first user's device is offline.
  • Assert
    • The offline device does not show the status change immediately.
  • Act
    • The offline device regains network connectivity.
  • Assert
    • The device synchronises with the server.
    • The worksite status updates to Inactive on the previously offline device.
    • The user now sees the current status without requiring manual refresh.

End-to-End Flow Scenario Details ​

TC-PROT-DEACT-E2E-001: Complete Worksite Deactivation Journey

Covers: AC-PROT-009-01, AC-PROT-009-02, AC-PROT-009-05
Composed of: [TC-PROT-DEACT-001], [TC-PROT-DEACT-002], [TC-PROT-DEACT-005]

User Journey: Acting Site Protector deactivates worksite at end of shift

  • Arrange
    • The user is logged in as the acting Site Protector for a worksite.
    • The worksite status is Active.
    • All workers except the Site Protector are locked off.
    • All plant is locked off (clear frame condition).
  • Act
    • The user selects the Deactivate Worksite action.
  • Assert
    • The system displays a confirmation dialog. (validates TC-PROT-DEACT-001)
  • Act
    • The user confirms the deactivation.
  • Assert
    • The worksite status changes to Inactive. (validates TC-PROT-DEACT-002)
    • The system displays a success message. (validates TC-PROT-DEACT-002)
    • All users viewing the worksite see the status update automatically.
    • An audit event is recorded with user ID and timestamp. (validates TC-PROT-DEACT-005)

Business Value: Ensures the complete deactivation workflow works seamlessly for end-of-shift scenarios.

TC-PROT-DEACT-E2E-002: Complete Multi-site PWA Deactivation Journey

Covers: AC-PROT-009-03, AC-PROT-009-04, AC-PROT-009-05
Composed of: [TC-PROT-DEACT-003], [TC-PROT-DEACT-004], [TC-PROT-DEACT-005]

User Journey: Acting RPO deactivates multi-site PWA after all worksites are deactivated

  • Arrange
    • The user is logged in as the acting RPO for a multi-site PWA.
    • The PWA status is Active.
    • All associated worksites have been deactivated by their Site Protectors.
  • Act
    • The user selects the Deactivate PWA action.
  • Assert
    • The system displays a confirmation dialog. (validates TC-PROT-DEACT-003)
  • Act
    • The user confirms the PWA deactivation.
  • Assert
    • The PWA status changes to Inactive. (validates TC-PROT-DEACT-004)
    • The system displays a success message. (validates TC-PROT-DEACT-004)
    • All users viewing the PWA see the status update automatically.
    • An audit event is recorded with user ID and timestamp. (validates TC-PROT-DEACT-005)

Business Value: Ensures the complete multi-site PWA deactivation workflow works seamlessly for project completion scenarios.

TC-PROT-DEACT-E2E-003: Emergency Deactivation with Safety Validation

Covers: AC-PROT-009-06, AC-PROT-009-11, AC-PROT-009-12, AC-PROT-009-02
Composed of: [TC-PROT-DEACT-006], [TC-PROT-DEACT-011], [TC-PROT-DEACT-012], [TC-PROT-DEACT-002]

User Journey: Acting Site Protector attempts emergency deactivation but must ensure clear frame first

  • Arrange
    • The user is logged in as the acting Site Protector for a worksite.
    • The worksite status is Active.
    • Initially, some workers and plant remain locked on (not clear frame).
  • Act
    • The user views worksite actions while workers are still locked on.
  • Assert
    • The Deactivate Worksite action is disabled/hidden. (validates TC-PROT-DEACT-011)
  • Act
    • All workers (except Site Protector) are locked off, but plant remains locked on.
  • Assert
    • The Deactivate Worksite action remains disabled/hidden. (validates TC-PROT-DEACT-012)
  • Act
    • All plant is locked off (clear frame achieved).
  • Assert
    • The Deactivate Worksite action becomes visible and enabled. (validates TC-PROT-DEACT-006)
  • Act
    • The user selects and confirms the deactivation.
  • Assert
    • The worksite status changes to Inactive. (validates TC-PROT-DEACT-002)
    • The system displays a success message. (validates TC-PROT-DEACT-002)
    • All users viewing the worksite see the status update automatically.

Business Value: Ensures safety constraints prevent unsafe deactivation while allowing proper emergency procedures.

TC-PROT-DEACT-E2E-004: Offline Worksite Deactivation Journey

Covers: AC-PROT-009-09, AC-PROT-009-02, AC-PROT-009-05
Composed of: [TC-PROT-DEACT-009], [TC-PROT-DEACT-002], [TC-PROT-DEACT-005]

User Journey: Acting Site Protector deactivates worksite while offline, with later synchronisation

  • Arrange
    • The user is logged in as the acting Site Protector for a worksite.
    • The worksite shows clear frame.
    • The device is offline (no network connectivity).
  • Act
    • The user selects and confirms worksite deactivation while offline.
  • Assert
    • The deactivation completes successfully. (validates TC-PROT-DEACT-009)
    • The worksite status changes to Inactive locally. (validates TC-PROT-DEACT-002)
    • The system displays a success message. (validates TC-PROT-DEACT-002)
    • The action is queued for synchronisation.
  • Act
    • The device comes back online.
  • Assert
    • The deactivation action synchronises to the server.
    • All users viewing the worksite see the status update automatically.
    • An audit event is recorded with the correct timestamp. (validates TC-PROT-DEACT-005)

Business Value: Ensures worksite deactivation works reliably in areas with poor connectivity, critical for remote rail locations.

Internal use only