Skip to content

Verification Matrix — PWA and Updates ​

Implements:

  • REQ-CONN-003 PWA Installation and Update Management

Requirement → Scenario Index ​

Requirement RefRequirement (short)Scenario IDs
REQ-CONN-003: PWA Updates
BR-1Update check on launchTC-CONN-UPDATE-001
EDR-1Update notification displayedTC-CONN-UPDATE-002, TC-CONN-UPDATE-003
EDR-2Standard update with optionsTC-CONN-UPDATE-004
EDR-3Critical update (no dismiss)TC-CONN-UPDATE-005
EDR-4Unsynchronised data warningTC-CONN-UPDATE-006
EDR-5Remind me later behaviourTC-CONN-UPDATE-007
EDR-6Offline update queueingTC-CONN-UPDATE-008
EDR-8PWA installation promptTC-CONN-UPDATE-010
SDR-1Suppress during operationsTC-CONN-UPDATE-011
UBI-1Background downloadTC-CONN-UPDATE-012
UBI-2Session preservationTC-CONN-UPDATE-013
ADR-007Offline detectionTC-CONN-HEART-002, TC-CONN-HEART-003

Scenarios (at a glance) ​

IDTitleType
3. PWA Updates (REQ-CONN-003)
TC-CONN-UPDATE-001Update check on app launchPositive
TC-CONN-UPDATE-002Update notification not during operationPositive
TC-CONN-UPDATE-003Update notification after operation completePositive
TC-CONN-UPDATE-006Unsynchronised data warning before updatePositive
TC-CONN-UPDATE-008Offline update queued and displayed onlinePositive
TC-CONN-UPDATE-010PWA installation prompt displayedPositive
TC-CONN-UPDATE-012Background download automaticPositive
TC-CONN-UPDATE-013Session preserved across updatePositive
TC-CONN-UPDATE-014Multiple versions cumulative updatePositive

Scenario details ​

3. PWA Updates (REQ-CONN-003) ​

TC-CONN-UPDATE-001: Update check on app launch
  • Arrange
    • User has PWA installed
    • New version available on server
    • User is not currently using the app
  • Act
    • User launches the app (from home screen or browser)
  • Assert
    • System checks for updates on launch
    • If update available and user idle, notification displayed
    • If update available and user starts action, notification queued
    • Update check logged for analytics

TC-CONN-UPDATE-002: Update notification not during operation
  • Arrange
    • User is using the app
    • New update becomes available
    • User is in middle of locking on workers
  • Act
    • Server pushes update notification
  • Assert
    • Update notification NOT displayed during lock-on flow
    • Notification queued for later
    • User workflow not interrupted
    • No modal or banner appears during operation

TC-CONN-UPDATE-003: Update notification after operation complete
  • Arrange
    • User was locking on worker (update notification queued)
    • Update notification was suppressed during operation
  • Act
    • User completes worker lock-on (returns to worksite view)
  • Assert
    • Update notification now displayed
    • Notification shows "A new app version is available"
    • Clear message to refresh or relaunch app
    • User can make informed decision

TC-CONN-UPDATE-006: Unsynchronised data warning before update
  • Arrange
    • Update available
    • User has unsynchronised data (offline actions queued)
    • User clicks "Update Now"
  • Act
    • System checks for unsynchronised data
  • Assert
    • Warning displayed before update proceeds
    • Warning states: "You have unsynchronised changes. Updating now may result in data loss."
    • User given options: "Wait for sync" or "Proceed anyway"
    • Clear indication of risk
    • User can cancel update to preserve data

TC-CONN-UPDATE-008: Offline update queued and displayed online
  • Arrange
    • Device is offline
    • Server pushes update notification (or update becomes available)
  • Act
    • Device regains connectivity
  • Assert
    • Queued update notification now displayed
    • Notification not lost during offline period
    • User receives update prompt when back online
    • Update can now be installed with connectivity

TC-CONN-UPDATE-010: PWA installation prompt displayed
  • Arrange
    • User accessing app via browser (not installed to home screen)
    • User meets trigger criteria (e.g., 3rd visit, engaged usage pattern)
  • Act
    • Trigger conditions met
  • Assert
    • PWA installation prompt displayed
    • Prompt encourages adding to home screen
    • Clear benefits explained (faster access, offline capability)
    • User can accept or dismiss
    • Prompt respectful, not aggressive
    • Browser's native install prompt may also appear

TC-CONN-UPDATE-012: Background download automatic
  • Arrange
    • New update becomes available
    • User's device is online
  • Act
    • Time passes (user may or may not be actively using app)
  • Assert
    • Update downloads automatically in background
    • No user intervention required for download
    • Download happens without disrupting use
    • User only prompted when ready to install
    • Service worker handles download silently

TC-CONN-UPDATE-013: Session preserved across update
  • Arrange
    • User is authenticated and using app
    • Update available and user clicks "Update Now"
    • No unsynchronised data
  • Act
    • App refreshes/relaunches to install update
  • Assert
    • User remains authenticated after update
    • Session preserved where technically feasible
    • User doesn't need to log in again
    • Workflow can continue after update
    • If session cannot be preserved, clear message shown

TC-CONN-UPDATE-014: Multiple versions cumulative update
  • Arrange
    • User running version 1.0.0
    • Server has versions 1.1.0, 1.2.0, and 1.3.0 available
  • Act
    • User clicks "Update Now"
  • Assert
    • System updates directly to latest version (1.3.0)
    • No need to install each intermediate version
    • Single update action brings user current
    • Update process efficient and fast

Internal use only