Skip to content

FAS-COM-CAT-01Sale Configuration: Feature Acceptance Suite

Markdown

FAS-COM-CAT-01

Sale Configuration: Feature Acceptance Suite

Markdown
  • DocumentProposed
  • Product intentProposed

Product areaCommerceModuleCatalog and Selling ConfigurationRevision1

Read atservices-commerce c8b66a98react-console baf6dae3

Scenarios

5 scenarios proving FEAT-COM-CAT-01 as a whole.

01 Prepared selling configuration supports a consistent quote behaviour proposed
Exercises
CAP-COM-CAT-001 CAP-COM-CAT-002 CAP-COM-CAT-003 CAP-COM-CAT-004
Relies on
ATS-COM-CAT-001-01 ATS-COM-CAT-002-01 ATS-COM-CAT-003-01 ATS-COM-CAT-004-04
Preconditions
An administrator owns two active policies, a store, a published product and a postal tax zone.
Steps
[object Object]
Expected
The store and default choices are readable and the quote identifies the applicable tax components.
Data
A run-owned workspace, named fixture products and independent caller grants; deterministic clock for dated cases.
Source
rhythm-v2-docs:specs/commerce/catalog/design/tests/ATS-COM-CAT-001-define-how-each-kind-of-sale-is-billed-and-paid.md#ATS-COM-CAT-001-01,rhythm-v2-docs:specs/commerce/catalog/design/tests/ATS-COM-CAT-002-decide-which-checkout-policy-a-sale-follows.md#ATS-COM-CAT-002-01,rhythm-v2-docs:specs/commerce/catalog/design/tests/ATS-COM-CAT-003-open-a-store-that-sells-a-chosen-assortment.md#ATS-COM-CAT-003-01,rhythm-v2-docs:specs/commerce/catalog/design/tests/ATS-COM-CAT-004-charge-tax-according-to-where-the-buyer-is.md#ATS-COM-CAT-004-04
02 A retained store prevents policy deletion interaction proposed
Exercises
CAP-COM-CAT-001 CAP-COM-CAT-002 CAP-COM-CAT-003
Relies on
ATS-COM-CAT-001-07 ATS-COM-CAT-002-01 ATS-COM-CAT-003-01
Preconditions
A store retains an active policy that has no remaining default designation.
Steps
[object Object]
Expected
The first refusal identifies the store; the unreferenced policy can then be removed and resolution still returns the retained default.
Data
A run-owned workspace, named fixture products and independent caller grants; deterministic clock for dated cases.
Source
rhythm-v2-docs:specs/commerce/catalog/design/tests/ATS-COM-CAT-001-define-how-each-kind-of-sale-is-billed-and-paid.md#ATS-COM-CAT-001-07,rhythm-v2-docs:specs/commerce/catalog/design/tests/ATS-COM-CAT-002-decide-which-checkout-policy-a-sale-follows.md#ATS-COM-CAT-002-01,rhythm-v2-docs:specs/commerce/catalog/design/tests/ATS-COM-CAT-003-open-a-store-that-sells-a-chosen-assortment.md#ATS-COM-CAT-003-01
03 Default transfer leaves the store’s policy retained lifecyclenegative proposed
Exercises
CAP-COM-CAT-001 CAP-COM-CAT-002 CAP-COM-CAT-003
Relies on
ATS-COM-CAT-001-06 ATS-COM-CAT-001-07 ATS-COM-CAT-002-01 ATS-COM-CAT-003-04
Preconditions
Two policies exist and a store uses the first.
Steps
[object Object]
Expected
The workspace still has one active default; retained references prevent removal until the store moves.
Data
A run-owned workspace, named fixture products and independent caller grants; deterministic clock for dated cases.
Source
rhythm-v2-docs:specs/commerce/catalog/design/tests/ATS-COM-CAT-001-define-how-each-kind-of-sale-is-billed-and-paid.md#ATS-COM-CAT-001-06,rhythm-v2-docs:specs/commerce/catalog/design/tests/ATS-COM-CAT-001-define-how-each-kind-of-sale-is-billed-and-paid.md#ATS-COM-CAT-001-07,rhythm-v2-docs:specs/commerce/catalog/design/tests/ATS-COM-CAT-002-decide-which-checkout-policy-a-sale-follows.md#ATS-COM-CAT-002-01,rhythm-v2-docs:specs/commerce/catalog/design/tests/ATS-COM-CAT-003-open-a-store-that-sells-a-chosen-assortment.md#ATS-COM-CAT-003-04
04 A configuration reader can inspect without changing records permissionnegative test
Exercises
CAP-COM-CAT-001 CAP-COM-CAT-002 CAP-COM-CAT-003 CAP-COM-CAT-004
Relies on
ATS-COM-CAT-001-09 ATS-COM-CAT-002-04 ATS-COM-CAT-003-06 ATS-COM-CAT-004-06
Preconditions
A read-only caller and saved policies, defaults, stores and tax zones exist.
Steps
[object Object]
Expected
Reads succeed and all attempted writes refuse with the saved records unchanged.
Data
A run-owned workspace, named fixture products and independent caller grants; deterministic clock for dated cases.
Bound to
Source
services-commerce:modules/configuration/tests/e2e/configuration-security.e2e.spec.js
05 The policy view reflects a saved card-range edit regression test
Exercises
CAP-COM-CAT-001
Relies on
ATS-COM-CAT-001-10
Preconditions
The browser uses a fresh mock workspace.
Steps
[object Object]
Expected
The returned view displays the revised range.
Data
A run-owned workspace, named fixture products and independent caller grants; deterministic clock for dated cases.
Bound to
Source
react-console:e2e/mock/commerce-checkout-policies.mock.spec.ts

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.