Skip to content

ATS-ACC-PRD-012Configure a customer purchase ceiling: Capability Test Specification

Markdown

ATS-ACC-PRD-012

Configure a customer purchase ceiling: Capability Test Specification

Markdown
  • DocumentProposed

Planning

Proves capability
CAP-ACC-PRD-012

Design

Executed by
TST-ACC-PRD-006, TST-ACC-PRD-027, TST-ACC-PRD-039

KindAcceptance test setProduct areaAccountingModuleProductsRevision3

Read atservices-accounting f47cb263react-console baf6dae3

Coverage

  • Rule gap: FND-ACC-PRD-061
  • Transition covered
  • Validation covered
  • Permission gap: FND-ACC-PRD-061
  • Edge gap: FND-ACC-PRD-061
  • Failure gap: FND-ACC-PRD-061
  • Boundary gap: FND-ACC-PRD-061
  • Concurrency gap: FND-ACC-PRD-061
  • Invariant gap: FND-ACC-PRD-061
  • Interaction covered

Test Scenarios

4 scenarios proving CAP-ACC-PRD-012; 3 bound to an existing test.

01 Ceilings require compatible intervalsvalidationunitnegativetest
Proves
BR-CAP-ACC-PRD-012-01 BR-CAP-ACC-PRD-012-02
Preconditions
A sellable product supports ceiling fixtures.
Steps
Try zero maximum, missing rolling window, extra all-time window and valid rolling configuration.
Expected
Invalid configurations fail and the valid setting reads back.
Data
A sellable product supports ceiling fixtures.
Bound to
services-accounting:modules/products/tests/e2e/product-features.e2e.spec.js#refuses a rolling purchase limit without its window
Source
services-accounting:modules/products/tests/integration/services/persistence/products.features.integration.spec.js#refuses a purchase limit of zero by the database’s check
02 Console correction preserves a stored ceilinginteractionbrowsertest
Proves
BR-CAP-ACC-PRD-012-05
Preconditions
The API has configured a product ceiling.
Steps
Rename the product through its editor.
Expected
The ceiling remains unchanged.
Data
The API has configured a product ceiling.
Bound to
Source
react-console:acceptance/accounting/playwright/journeys/products/ACT-ACC-0112.spec.ts#ACT-ACC-0112
03 API replacement deliberately removes a purchase ceilingtransitionapinegativeproposed
Proves
BR-CAP-ACC-PRD-012-03
Preconditions
Two products each hold an all-time ceiling.
Steps
Replace one omitting the ceiling and the other sending an explicit empty setting.
Expected
Both products read back without ceilings and their replacement versions advance.
Data
Two products each hold an all-time ceiling.
Source
services-accounting:modules/products/tests/e2e/product-features.e2e.spec.js#switches every feature off with null
04 A console correction preserves an API purchase ceilinginteractionbrowsernegativetest
Proves
BR-CAP-ACC-PRD-012-05 BR-CAP-ACC-PRD-004-10
Preconditions
An API-created product holds an all-time ceiling and hidden settings.
Steps
Rename it in the console, deactivate it from the list, and reread the ceiling after both writes.
Expected
Both saves retain the ceiling and other fixture settings.
Data
An API-created product holds an all-time ceiling and hidden settings.
Bound to
Source
react-console:acceptance/accounting/playwright/journeys/products/ACT-ACC-0112.spec.ts#ACT-ACC-0112; react-console:lib/accounting-config/product-form.ts:formToWrite

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.