---
id: TST-PFM-INT-457
title: needs attention
kind: unit
product_area: platform
module: integrations
revision: 1
status: draft
source_sha:
  services-platform: ad3f6a6582843008ed0f5a17b131878d15829af1
  macroservice-libraries: 54536a441935c6e09fdb7f96f0bec71c52ba4e03
  react-console: baf6dae382d6f41dce976c7f848667ccc37e076f
repository: react-console
files:
  - lib/integrations/needs-attention.test.ts
implements:
  - ATS-PFM-INT-006-08
environment: mock
implementation_state: implemented
latest_result: not-run
latest_run_at: null
latest_run_ref: null
conformance: not-verified
estimated_minutes: 1
isolation: Pure test fixtures owned by the test process.
evidence:
  - 'react-console:lib/integrations/needs-attention.test.ts'
test_cases:
  - source: >-
      react-console:lib/integrations/needs-attention.test.ts#orders the groups as support works through
      them and leaves empty groups out
    provenance: test
  - source: 'react-console:lib/integrations/needs-attention.test.ts#puts the oldest row of a group first'
    provenance: test
  - source: 'react-console:lib/integrations/needs-attention.test.ts#gives each row its one fixing action'
    provenance: test
  - source: 'react-console:lib/integrations/needs-attention.test.ts#answers no groups for an empty queue'
    provenance: test
  - source: >-
      react-console:lib/integrations/needs-attention.test.ts#has a row for every kind Platform's records
      say: executions, dead deliveries, connections, connector notices
    provenance: test
  - source: >-
      react-console:lib/integrations/needs-attention.test.ts#leaves a settling (unknown) execution out
      however long it has been unknown
    provenance: test
  - source: >-
      react-console:lib/integrations/needs-attention.test.ts#takes Platform's in_needs_attention as the
      only way an execution is queued
    provenance: test
  - source: 'react-console:lib/integrations/needs-attention.test.ts#loses a row once it is fixed'
    provenance: test
  - source: >-
      react-console:lib/integrations/needs-attention.test.ts#lists failed_verification, degraded and
      reauth_required connections, each with its state and reason
    provenance: test
  - source: >-
      react-console:lib/integrations/needs-attention.test.ts#gives a degraded connection without a
      recorded error a reason
    provenance: test
  - source: >-
      react-console:lib/integrations/needs-attention.test.ts#lists the double's seeded notice as its own
      kind, about the connection, with the message and the setting
    provenance: test
  - source: >-
      react-console:lib/integrations/needs-attention.test.ts#groups them after the connections, and a
      cleared notice leaves the queue
    provenance: test
  - source: >-
      react-console:lib/integrations/needs-attention.test.ts#leaves a notice out when its connection is
      not among the connections read
    provenance: test
  - source: >-
      react-console:lib/integrations/needs-attention.test.ts#is one row per connection and code, so two
      connections' notices of one code stay apart
    provenance: test
  - source: 'react-console:lib/integrations/needs-attention.test.ts#has its one action change a setting'
    provenance: test
  - source: >-
      react-console:lib/integrations/needs-attention.test.ts#links to the installation's Settings tab,
      the setting anchored when the connector named one
    provenance: test
dependency_evidence:
  provenance: test
  source: 'react-console:lib/integrations/needs-attention.test.ts'
  reviewed:
    - Suite introduction
    - Fixture setup
    - Client substitutions
    - Assertions and cleanup
---
# needs attention

## Verification Boundary

This unit suite exercises needs attention. Its registration records the executable definition; no run result is asserted.

## What This Suite Proves

The bindings identify the detailed outcomes asserted by this suite. Test-level evidence retains the individual checks, including cases where several suites contribute to one scenario.

## What It Does Not Prove

Pure cases do not establish database constraints, deployed authorization or provider effects.

## Real Dependencies and Test Doubles

The suite evaluates its imported functions with controlled inputs. Its source records the fixture and substitution boundary.

## Must Not Be Doubled

The function under test and its result checks must execute. Replacing them with expected answers provides no proof.
