Skip to content

ATS-PFM-INT-006Recognize integration problems and trace changes: Capability Test Specification

Markdown

ATS-PFM-INT-006

Recognize integration problems and trace changes: Capability Test Specification

Markdown
  • DocumentProposed

KindAcceptance test setProduct areaPlatformModuleIntegration access, customer extensions and shared workflow configurationRevision3

Read atservices-platform ad3f6a65macroservice-libraries 54536a44react-console baf6dae3

Coverage

  • Rule covered
  • Transition covered
  • Validation gap: FND-PFM-INT-062
  • Permission gap: FND-PFM-INT-062
  • Edge gap: FND-PFM-INT-062
  • Failure covered
  • Boundary covered
  • Concurrency gap: FND-PFM-INT-062
  • Invariant gap: FND-PFM-INT-062
  • Interaction covered

Test Scenarios

13 scenarios proving CAP-PFM-INT-006; 8 bound to an existing test.

01 Connection indicators distinguish use from healthruleunittest
Proves
BR-CAP-PFM-INT-006-01
Preconditions
Construct a connection in every status.
Steps
Render connection and installation indicators.
Expected
The statuses receive their defined colours and an installation takes the worst indicator among connections in use.
Data
Fixtures establishing the stated accounts, declarations and history in an isolated workspace.
Bound to
Source
react-console:lib/integrations/connection-dot.test.ts#is grey for suspended and disconnected, whatever the last health check said
02 Check cadence responds to health stateruleapitest
Proves
BR-CAP-PFM-INT-006-02
Preconditions
Prepare active, degraded, recent-failure, long-healthy and suspended accounts.
Steps
Run recent-failure and daily verification passes.
Expected
The first queues health checks for degradation and recent failure; daily verification covers active and degraded accounts and neither checks paused accounts.
Data
Fixtures establishing the stated accounts, declarations and history in an isolated workspace.
Bound to
Source
services-platform:modules/integrations/tests/integration/services/health/health-pass.integration.spec.js#submits a health job for each eligible connection with a recent failure, and for a degraded one
03 Health recovery changes the visible standingtransitionbrowsertest
Proves
BR-CAP-PFM-INT-006-03
Preconditions
The test provider is configured to fail its probe.
Steps
Request Health, allow provider recovery and check again.
Expected
The connection becomes amber with recent figures and returns to green after recovery.
Data
Fixtures establishing the stated accounts, declarations and history in an isolated workspace.
Bound to
Source
services-platform:modules/integrations/tests/integration/services/connections/connection-jobs.integration.spec.js#degrades an active connection whose provider is unhealthy
04 Operational figures exclude undelivered workruleunittest
Proves
BR-CAP-PFM-INT-006-04
Preconditions
Prepare recent succeeded, failed, unknown, cancelled, admission-refused and unfinished calls.
Steps
Calculate the connection’s last-hour figures.
Expected
Eligible completed provider calls determine the rate, refused and unfinished calls are excluded and missing latency leaves the percentile empty.
Data
Fixtures establishing the stated accounts, declarations and history in an isolated workspace.
Bound to
Source
services-platform:modules/integrations/tests/unit/services/connection-figures.spec.ts#does not count an execution refused before the adapter, whatever its status
05 Feature-loss notices follow committed changesfailureapitest
Proves
BR-CAP-PFM-INT-006-06
Preconditions
A connection loses a required feature, regains it and has administrators.
Steps
Verify after each change and repeat a loss with mail delivery failing.
Expected
Loss notifies each administrator once, gain sends none and mail failure does not undo the loss.
Data
Fixtures establishing the stated accounts, declarations and history in an isolated workspace.
Bound to
Source
services-platform:modules/integrations/tests/integration/services/connections/connection-feature-changes.integration.spec.js#INT-ACC-0113 step 3: the loss tells each administrator of the tenant once, two notices in all, each with the features-lost subject
06 Connector warnings remain actionable without failing successfailureapitest
Proves
BR-CAP-PFM-INT-006-07
Preconditions
A payment succeeds after its connector omits a refused statement name.
Steps
Repeat the call, change that installation setting and evaluate notices after thirty days.
Expected
The warning shares one counted notice naming the setting, the setting edit clears it and warning handling never changes payment success.
Data
Fixtures establishing the stated accounts, declarations and history in an isolated workspace.
Bound to
Source
services-platform:modules/integrations/tests/integration/services/executions/connection-notices.integration.spec.js#records the warnings of a succeeded call with the setting, and the call is answered as it always was
07 History pagination retains order and boundariesboundaryapitest
Proves
BR-CAP-PFM-INT-006-08
Preconditions
A connection has one hundred and thirty history entries.
Steps
Read successive pages and request invalid limits of zero and one hundred and one.
Expected
The valid pages return one hundred then thirty entries newest first without overlap; invalid limits refuse.
Data
Fixtures establishing the stated accounts, declarations and history in an isolated workspace.
Bound to
Source
services-platform:modules/integrations/tests/e2e/audit-events-paging.e2e.spec.js#INT-ACC-0530 step 2: the pages run newest first across the boundary
08 Attention follows the platform settlement stateinteractionbrowsertest
Proves
BR-CAP-PFM-INT-006-10 AS-JNY-PFM-INT-001-03
Preconditions
Prepare failed and degraded accounts, a reconciling call, an abandoned settlement and a connector notice.
Steps
Open Needs Attention and compare Library counters.
Expected
Actionable items appear with their links, the reconciling call is omitted and counters reflect connection states.
Data
Fixtures establishing the stated accounts, declarations and history in an isolated workspace.
Bound to
Source
react-console:lib/integrations/needs-attention.test.ts#leaves a settling (unknown) execution out however long it has been unknown
09 Feature loss invalidates affected selectionsinteractionapiproposed
Proves
BR-CAP-PFM-INT-006-06 BR-CAP-PFM-INT-007-06
Preconditions
Two bindings use one account and only one requires a feature that verification removes.
Steps
Record feature loss and recovery, read both bindings and inspect notices.
Expected
Only the affected binding becomes invalid and restores when eligible; loss produces the post-commit notice.
Data
Run-owned records and principals in an isolated workspace.
Source
services-platform:modules/integrations/tests/integration/services/connections/connection-feature-changes.integration.spec.js#INT-ACC-0113 step 3: the loss tells each administrator of the tenant once, two notices in all, each with the features-lost subject,services-platform:modules/integrations/tests/integration/services/bindings/invalidation.integration.spec.js#invalidates its active bindings with connection_suspended, at the next revision
10 Attention follows settlement rather than elapsed ageinteractionapiproposed
Proves
BR-CAP-PFM-INT-006-10 BR-CAP-PFM-INT-010-07
Preconditions
One call is still scheduled for lookup and another has exhausted investigation.
Steps
Read both execution states and open the attention view.
Expected
Only the exhausted investigation appears as a call requiring a person.
Data
Run-owned records and principals in an isolated workspace.
Source
react-console:lib/integrations/needs-attention.test.ts#leaves a settling (unknown) execution out however long it has been unknown,services-platform:modules/integrations/tests/unit/services/execution-settlement-wire.spec.ts#gives the next lookup time of an unknown execution, not in needs attention
11 Repeated delivery failure becomes visible attentioninteractionapiproposed
Proves
BR-CAP-PFM-INT-006-10 BR-CAP-PFM-INT-014-05
Preconditions
A subscription has forty-nine consecutive dead deliveries.
Steps
Fail its next delivery, read operational attention and resume the subscription.
Expected
The subscription pauses with one notice and the dead delivery is available for investigation.
Data
Run-owned records and principals in an isolated workspace.
Source
react-console:lib/integrations/needs-attention.test.ts#leaves a settling (unknown) execution out however long it has been unknown,services-platform:modules/integrations/tests/integration/services/subscriptions/subscriptions.integration.spec.js#pauses a subscription after fifty dead deliveries in a row and tells its administrators once
12 Lost authorization becomes an actionable account probleminteractionapiproposed
Proves
BR-CAP-PFM-INT-005-11 BR-CAP-PFM-INT-006-06
Preconditions
A due sign-in token has an active account and administrator recipients.
Steps
Run refresh with provider refusal, then inspect health and delivered administrator notices.
Expected
The account requires re-authorization and the saved result remains even when mail delivery fails.
Data
Run-owned records and principals in an isolated workspace.
Source
services-platform:modules/integrations/tests/integration/services/credentials/refresh.integration.spec.js#makes one token request when two refreshes of a connection run at once,services-platform:modules/integrations/tests/integration/services/connections/connection-feature-changes.integration.spec.js#INT-ACC-0113 step 3: the loss tells each administrator of the tenant once, two notices in all, each with the features-lost subject
13 Provider checks change operational standinginteractionapiproposed
Proves
BR-CAP-PFM-INT-004-05 BR-CAP-PFM-INT-006-03
Preconditions
A verified active account can return failing and passing health results.
Steps
Run a failed check followed by a recovered check and inspect the account and health view.
Expected
The visible status follows degradation and recovery with retained check outcomes.
Data
Run-owned records and principals in an isolated workspace.
Source
services-platform:modules/integrations/tests/integration/services/connections/connection-jobs.integration.spec.js#becomes active with the account and every declared feature verified,services-platform:modules/integrations/tests/integration/services/connections/connection-jobs.integration.spec.js#degrades an active connection whose provider is unhealthy

The Markdown files under specs/ in rhythmsoftware/rhythm-v2-docs are the canonical source of truth. This reader is a generated, read-only projection of them.