Skip to content

ATS-ACC-PRD-003Locate products and inspect their configuration: Capability Test Specification

Markdown

ATS-ACC-PRD-003

Locate products and inspect their configuration: Capability Test Specification

Markdown
  • DocumentProposed

KindAcceptance test setProduct areaAccountingModuleProductsRevision3

Read atservices-accounting f47cb263react-console baf6dae3

Coverage

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

Test Scenarios

5 scenarios proving CAP-ACC-PRD-003; 4 bound to an existing test.

01 Paging honors limits and continuationboundaryapinegativetest
Proves
BR-CAP-ACC-PRD-003-01
Preconditions
The catalogue contains more than one page.
Steps
Request a small page, follow its cursor and request 201 entries.
Expected
Pages retain ordering without repeated products and the excessive limit fails.
Data
The catalogue contains more than one page.
Bound to
Source
services-accounting:modules/products/tests/e2e/products.e2e.spec.js#answers 400 to a limit above 200
02 Workspace boundaries hide other productspermissionapinegativetest
Proves
BR-CAP-ACC-PRD-003-04
Preconditions
Workspace A owns a product and B owns none.
Steps
From B, list products, retrieve A’s product and attempt to bundle it.
Expected
B sees no product, retrieval returns not found and the component request fails without changing A.
Data
Workspace A owns a product and B owns none.
Bound to
services-accounting:modules/products/tests/integration/db/products.table.integration.spec.js#refuses a bundle of tenant B including a product only tenant A has
Source
services-accounting:modules/products/tests/e2e/products-security.e2e.spec.js#answers tenant B 404 for tenant A’s product
03 Setup reading has separate authoritypermissionapinegativetest
Proves
BR-CAP-ACC-PRD-003-05
Preconditions
A reader and a product-only manager are available.
Steps
Read the product and its full setup using each identity.
Expected
Product reads succeed but the manager cannot retrieve setup information.
Data
A reader and a product-only manager are available.
Bound to
Source
services-accounting:modules/products/tests/e2e/products-security.e2e.spec.js#reads the products
04 Read-only editors permit inspectionpermissionbrowsernegativetest
Proves
BR-CAP-ACC-PRD-003-06
Preconditions
A read-only persona can reach an existing product.
Steps
Open the editor and inspect its controls.
Expected
Fields are disabled, Save is unavailable and no mutation is sent.
Data
A read-only persona can reach an existing product.
Bound to
Source
react-console:acceptance/accounting/playwright/journeys/products/ACT-ACC-0122.spec.ts#ACT-ACC-0122
05 Product reads reflect setup and default changesinteractionapinegativeproposed
Proves
BR-CAP-ACC-PRD-003-03 BR-CAP-ACC-PRD-015-10 BR-CAP-ACC-PRD-018-01
Preconditions
A product has its own setup class and its kind has a different default.
Steps
Read the product, remove its setup, remove the kind default, and repeat the product read after each action.
Expected
The resolved class and accounting summary track the remaining configuration in priority order.
Data
A product has its own setup class and its kind has a different default.
Source
services-accounting:modules/products/tests/integration/services/persistence/products.queries.integration.spec.js#maps a product whole: every column, its prices, its components and its accounting summary; services-accounting:modules/products/tests/e2e/product-accounting.e2e.spec.js#deletes it, leaving the product with accounting: null; services-accounting:modules/products/tests/e2e/products-shared-base.e2e.spec.js#lets the product’s own accounting setup class win over the type default

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.