Skip to content

12. Task: Add connector configuration and diagnostics tests #216

@smithaldon1

Description

@smithaldon1

Parent Epic

#206

Purpose

Add the test coverage needed to keep connection management safe and reviewable.

Acceptance Criteria

  • Unit tests cover connection schema validation and redacted serialization.
  • API tests cover profile CRUD, test connection, error states, and secret redaction.
  • Adapter tests use fake OPC-UA, MQTT, and BACnet clients.
  • UI tests cover Connections, Protocol Diagnostics, and tag/source browser states.
  • Playwright covers creating a disabled/test profile and viewing diagnostics.

Implementation Order

Step 12. Add focused tests with each slice, then complete this card as the cross-feature coverage pass.

Test Plan

Run relevant backend, frontend, and Playwright commands documented in docs/TESTING.md.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Taskconnection-managementConnection profile, credential reference, health, and test-connection workconnectorConnector architecture and integration workneeds-e2eNeeds end-to-end test coverageoperations-workbenchOperations Workbench web UI workpost-demoNot required for the manufacturer demo path

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions