Skip to content

Implement connected flow tests that verify end-to-end interaction with a real, already-paired TNC. #17

@mobilinkd

Description

@mobilinkd

Implement connected flow tests that verify end-to-end interaction with a real, already-paired TNC.

Test cases

  1. testScanFindsTnc() — tap Scan, wait for device list, assert cell exists
  2. testConnectToTnc() — tap device cell, tap Connect, assert menu screen
  3. testReadTxDelay() — navigate to TX Delay, assert value label non-empty
  4. testChangeTxDelay() — move slider, tap Save, assert success
  5. testReadModemConfig() — navigate to Modem Config, assert type label non-empty
  6. testChangeModemType() — select picker row, tap Save, assert success
  7. testReadBattery() — navigate to Power, assert battery label non-empty
  8. testReadFirmwareVersion() — navigate to TNC Info, assert version label non-empty
  9. testDisconnect() — tap Disconnect, assert scan screen reappears

Prerequisites

  • TNC is on and advertising
  • TNC is already paired/bonded in iOS Settings
  • Bluetooth is enabled on phone

Requirements

Acceptance criteria

  • All tests pass with TNC present and paired
  • Tests use waitForExistence(timeout: 15) for BLE scan timing
  • Failed tests capture automatic screenshots

Parent: #12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions