Skip to content

Verification Matrix — Session Management ​

Implements:

  • REQ-CONN-002 Single Session Per User

Requirement → Scenario Index ​

Requirement RefRequirement (short)Scenario IDs
REQ-CONN-002: Single Session
EDR-1Session conflict dialogue displayedTC-CONN-SESSION-002
EDR-2Cancel preserves original sessionTC-CONN-SESSION-003
EDR-3Continue invalidates original sessionTC-CONN-SESSION-004
UNW-1Invalidated session cannot perform actionsTC-CONN-SESSION-005, TC-CONN-SESSION-006

Scenarios (at a glance) ​

IDTitleType
2. Single Session Management (REQ-CONN-002)
TC-CONN-SESSION-002Session conflict dialogue on second loginPositive
TC-CONN-SESSION-003Cancel keeps original session activePositive
TC-CONN-SESSION-004Continue invalidates original sessionPositive
TC-CONN-SESSION-005Invalidated session cannot lock on workersNegative
TC-CONN-SESSION-006Invalidated session cannot manage protectionNegative

Scenario details ​

1. Single Session Management (REQ-CONN-002) ​

TC-CONN-SESSION-002: Session conflict dialogue on second login
  • Arrange
    • User is logged in on Device 1
  • Act
    • User attempts to log in on Device 2
  • Assert
    • Session conflict dialogue displayed on Device 2
    • Dialogue shows clear warning about potential data loss
    • Two options presented: "Cancel" and "Continue"
    • Warning specifically mentions offline devices
    • Visual emphasis on potential consequences

TC-CONN-SESSION-003: Cancel keeps original session active
  • Arrange
    • User is logged in on Device 1
    • User attempts login on Device 2
    • Session conflict dialogue displayed
  • Act
    • User selects "Cancel" on Device 2
  • Assert
    • Device 2 remains unauthenticated (returns to login screen)
    • Device 1 session remains active and functional
    • Device 1 can continue performing actions
    • No disruption to Device 1 session

TC-CONN-SESSION-004: Continue invalidates original session
  • Arrange
    • User is logged in on Device 1
    • User attempts login on Device 2
    • Session conflict dialogue displayed
  • Act
    • User selects "Continue" on Device 2
  • Assert
    • Device 2 successfully authenticates
    • Device 1 session immediately invalidated
    • Device 1 shows session expired message or redirects to login
    • Device 1 cannot perform any further actions
    • Device 2 is now the active session

TC-CONN-SESSION-005: Invalidated session cannot lock on workers
  • Arrange
    • Site Protector logged in on Device 1
    • SP performs session takeover on Device 2 (Device 1 session invalidated)
  • Act
    • On Device 1, SP attempts to lock on worker via QR code
  • Assert
    • User prompted to log in again
    • No worker lock-on occurs
    • No data corruption

TC-CONN-SESSION-006: Invalidated session cannot manage protection
  • Arrange
    • RPO logged in on Device 1
    • RPO performs session takeover on Device 2 (Device 1 session invalidated)
  • Act
    • On Device 1, RPO attempts to activate PWA or authorise worksite
  • Assert
    • Action blocked with clear error message
    • Error indicates session has expired
    • User prompted to log in again
    • No protection state changes occur
    • No data corruption

Internal use only