Skip to content

FAS-COM-CAT-05Contextual Suggestions: Feature Acceptance Suite

Markdown

FAS-COM-CAT-05

Contextual Suggestions: 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-05 as a whole.

01 An offered item becomes one attributable order line behaviour test
Exercises
CAP-COM-CAT-019 CAP-COM-CAT-020
Relies on
ATS-COM-CAT-019-04 ATS-COM-CAT-020-01
Preconditions
A compatible active rule offers a twelve-dollar mug beside a member’s cart.
Steps
[object Object]
Expected
One mug line retains the offer, repetition adds nothing, reevaluation suppresses it and performance records one shown, one accepted and one converted line.
Data
A run-owned workspace, named fixture products and independent caller grants; deterministic clock for dated cases.
Bound to
Source
services-commerce:modules/recommendations/tests/e2e/offers.e2e.spec.js
02 A presentation protects rule substance before an offer response interaction proposed
Exercises
CAP-COM-CAT-019 CAP-COM-CAT-020
Relies on
ATS-COM-CAT-019-05 ATS-COM-CAT-020-01
Preconditions
A rule can be evaluated live or previewed by staff.
Steps
[object Object]
Expected
Preview does not protect substance; live presentation protects it while message editing and an authorized response remain available.
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-019-configure-what-is-recommended-where.md#ATS-COM-CAT-019-05,rhythm-v2-docs:specs/commerce/catalog/design/tests/ATS-COM-CAT-020-offer-suggestions-to-a-buyer-and-record-the-answer.md#ATS-COM-CAT-020-01
03 Rule and response states change later suppression lifecyclenegative proposed
Exercises
CAP-COM-CAT-019 CAP-COM-CAT-020
Relies on
ATS-COM-CAT-019-04 ATS-COM-CAT-020-02 ATS-COM-CAT-020-03
Preconditions
A compatible rule is active and one member has a shown offer.
Steps
[object Object]
Expected
A paused rule produces no live offer; resumption restores eligibility, dismissal suppresses and expired first acceptance refuses.
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-019-configure-what-is-recommended-where.md#ATS-COM-CAT-019-04,rhythm-v2-docs:specs/commerce/catalog/design/tests/ATS-COM-CAT-020-offer-suggestions-to-a-buyer-and-record-the-answer.md#ATS-COM-CAT-020-02,rhythm-v2-docs:specs/commerce/catalog/design/tests/ATS-COM-CAT-020-offer-suggestions-to-a-buyer-and-record-the-answer.md#ATS-COM-CAT-020-03
04 Reading offers does not permit responding or launching permissionnegative test
Exercises
CAP-COM-CAT-019 CAP-COM-CAT-020
Relies on
ATS-COM-CAT-019-07 ATS-COM-CAT-020-06
Preconditions
A rule reader and an offer reader have no write or response grants.
Steps
[object Object]
Expected
Authorized reads and evaluation succeed; creation, activation and acceptance refuse.
Data
A run-owned workspace, named fixture products and independent caller grants; deterministic clock for dated cases.
Bound to
Source
services-commerce:modules/recommendations/tests/e2e/recommendations-security.e2e.spec.js
05 Anonymous estimates remain unavailable for acceptance regression test
Exercises
CAP-COM-CAT-019 CAP-COM-CAT-020
Relies on
ATS-COM-CAT-019-02 ATS-COM-CAT-020-04
Preconditions
An active rule is bound to a public placement and a private cart placement.
Steps
[object Object]
Expected
The estimate has the public amount, acceptance requires a live signed subject and the private placement refuses.
Data
A run-owned workspace, named fixture products and independent caller grants; deterministic clock for dated cases.
Bound to
Source
services-commerce:modules/recommendations/tests/e2e/offers.e2e.spec.js

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.