Skip to content

ATS-ACC-CLS-013Track execution and review close history: Capability Test Specification

Markdown

ATS-ACC-CLS-013

Track execution and review close history: Capability Test Specification

Markdown
  • DocumentProposed

KindAcceptance test setProduct areaAccountingModuleMonth-End ClosingRevision2

Read atservices-accounting f47cb263react-console baf6dae3

Coverage

  • Rule covered
  • Transition not-applicable
  • Validation gap: FND-ACC-CLS-069
  • Permission covered
  • Edge covered
  • Failure covered
  • Boundary covered
  • Concurrency gap: FND-ACC-CLS-069
  • Invariant gap: FND-ACC-CLS-069
  • Interaction covered

Test Scenarios

7 scenarios proving CAP-ACC-CLS-013; 5 bound to an existing test.

01 Read retained execution evidenceruleapitest
Proves
BR-CAP-ACC-CLS-013-01 BR-CAP-ACC-CLS-013-02
Preconditions
A close has completed.
Steps
Read its run.
Expected
The response includes ordered steps and outputs, chronological events and retained readiness.
Data
A successful close fixture.
Bound to
services-accounting:modules/fiscal-close/tests/e2e/fiscal-close-runs.e2e.spec.js#carries the readiness evaluated in the close, and the period as closed
Source
services-accounting:modules/fiscal-close/tests/e2e/fiscal-close-runs.e2e.spec.js#the close
02 Recover the selected run after browser refreshedgebrowsertest
Proves
BR-CAP-ACC-CLS-013-03
Preconditions
The console submitted a close.
Steps
Reload its run page while execution progresses.
Expected
The same run and its steps remain visible after refresh, followed by its completed close record.
Data
The browser refresh journey fixture.
Bound to
Source
react-console:acceptance/accounting/playwright/journeys/reconciliation-close/ACT-ACC-0617.spec.ts#ACT-ACC-0617
03 Filter and page the run catalogueboundaryapitest
Proves
BR-CAP-ACC-CLS-013-04 BR-CAP-ACC-CLS-013-05
Preconditions
Runs span units, kinds, years and workspaces.
Steps
Request filters and continuation pages, then an invalid kind or oversized page.
Expected
Filters and ordering remain consistent and invalid requests fail.
Data
A mixed run catalogue.
Bound to
Source
services-accounting:modules/fiscal-close/tests/integration/services/persistence/period-close-runs.queries.integration.spec.js#the tenant’s runs (FC2-4)
04 Enforce run-reading boundariespermissionapinegativetest
Proves
BR-CAP-ACC-CLS-013-06 BR-CAP-ACC-CLS-013-07
Preconditions
A run belongs to another workspace and the route catalogue is available.
Steps
Read absent and foreign runs and inspect required route grants.
Expected
Reads return not found and run routes declare fiscal-period read authority.
Data
A foreign run and permission catalogue.
Bound to
services-accounting:tests/unit/fiscal-close-permissions.spec.ts#is required by the fiscal close routes: close by the close, reopen by the reopen, read by every other
Source
services-accounting:modules/fiscal-close/tests/e2e/fiscal-close-runs.e2e.spec.js#the runs and the record
05 Show retry lineage beside retained close evidenceinteractionapiproposed
Proves
BR-CAP-ACC-CLS-013-01 BR-CAP-ACC-CLS-013-02
Preconditions
A close or reopen has failed after taking its month.
Steps
Read the run, retry eligible retained work, then inspect its attempts and the original successful close record when reopening completes.
Expected
The execution view reflects the recovery without erasing earlier evidence; a reopen adds correction context to the original close.
Data
A close or reopen has failed after taking its month.
Source
rhythm-v2-docs:specs/accounting/close/design/workflows/WF-ACC-CLS-003-retry-an-interrupted-close-or-reopen.md#What It Does,services-accounting:modules/fiscal-close/tests/e2e/fiscal-close-runs.e2e.spec.js#lists the run’s events, oldest first,services-accounting:modules/fiscal-close/tests/e2e/fiscal-close-runs.e2e.spec.js#carries the readiness evaluated in the close, and the period as closed
06 Inspect execution beyond the job-history limitboundaryapiproposed
Proves
BR-CAP-ACC-CLS-013-09
Preconditions
A run has one hundred and one jobs with distinguishable events and attempts.
Steps
Read its execution view and compare it with the underlying ordered job history.
Expected
The view reflects only the oldest one hundred jobs, with no continuation; the omitted newest attempt must not be mistaken for a verified complete history.
Data
A run has one hundred and one jobs with distinguishable events and attempts.
Source
services-accounting:modules/fiscal-close/services/persistence/fiscal-close-jobs.ts:listFiscalCloseJobsOfRun
07 Resolve display names without hiding unnamed peoplefailureunitnegativetest
Proves
BR-CAP-ACC-CLS-013-08
Preconditions
A run response contains unnamed people and the directory lookup fails.
Steps
Read the response through the console adapter.
Expected
The adapter returns the response with each person’s identifier preserved rather than failing the close view.
Data
A transport response with person references and a refused directory lookup.
Bound to
react-console:lib/accounting/close/http-service.test.ts#keeps the ids when the directory cannot be read, and answers anyway
Source
react-console:lib/accounting/close/http-service.test.ts#keeps the ids when the directory cannot be read, and answers anyway

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.