Skip to content

FAS-MBR-MEM-04Membership Requests and Decisions: Feature Acceptance Suite

Markdown

FAS-MBR-MEM-04

Membership Requests and Decisions: Feature Acceptance Suite

Markdown
  • DocumentProposed
  • Product intentProposed

Planning

Feature
FEAT-MBR-MEM-04
Capabilities
CAP-MBR-MEM-011, CAP-MBR-MEM-012
Executed by
TST-MBR-MEM-002

Product areaMembershipModuleMemberships, Applications and Membership BillingRevision1

Read atservices-membership 5994c270react-console baf6dae3

Scenarios

5 scenarios proving FEAT-MBR-MEM-04 as a whole.

01 Connect a configured application offer to its approved order behaviour test
Exercises
CAP-MBR-MEM-011 CAP-MBR-MEM-012
Relies on
ATS-MBR-MEM-011-01 ATS-MBR-MEM-012-05
Preconditions
A reviewed process offers a package and a typed application chooses its chapter.
Steps
[object Object]
Expected
The approval records one decision and places the offered package with the chosen chapter dues while coverage remains pending.
Data
An isolated workspace, dated member fixtures, chapter and package configuration, and recording partner ports where the case requires them.
Bound to
Source
services-membership:modules/applications/tests/integration/decision-handler.integration.spec.ts,services-membership:tests/acceptance/commerce/MBR-ACC-0346.acceptance.ts#MBR-ACC-0346,services-membership:modules/applications/tests/integration/decision-handler.integration.spec.ts#records an approval, places the dues order through the port (package and chapter dues), and acknowledges it
02 Require the matching reviewed decision before checkout interaction test
Exercises
CAP-MBR-MEM-011 CAP-MBR-MEM-012
Relies on
ATS-MBR-MEM-011-01 ATS-MBR-MEM-012-05
Preconditions
A process reviews the selected package and an application chooses it.
Steps
[object Object]
Expected
The initial checkout needs approval; the handler’s approved preparation permits the package and chapter dues order.
Data
An isolated workspace, dated member fixtures, chapter and package configuration, and recording partner ports where the case requires them.
Bound to
Source
services-membership:modules/applications/tests/integration/decision-handler.integration.spec.ts,services-membership:tests/acceptance/commerce/MBR-ACC-0346.acceptance.ts#MBR-ACC-0346,services-membership:modules/applications/tests/integration/decision-handler.integration.spec.ts#records an approval, places the dues order through the port (package and chapter dues), and acknowledges it
03 Replace a decision without losing its typed application lifecycle proposed
Exercises
CAP-MBR-MEM-011 CAP-MBR-MEM-012
Relies on
ATS-MBR-MEM-011-04 ATS-MBR-MEM-012-03 ATS-MBR-MEM-012-04 ATS-MBR-MEM-012-06
Preconditions
An application is in review and may have a pending purchase.
Steps
[object Object]
Expected
The same application follows the recorded outcomes; rejecting or closing decisions release applicable pending coverage without duplicating the record.
Data
An isolated workspace, dated member fixtures, chapter and package configuration, and recording partner ports where the case requires them.
Source
services-membership:tests/e2e/application-processes-api.e2e.spec.ts#answers each listed process with the packages it offers, in their order, as the read of the process does,services-membership:modules/applications/tests/unit/submissions-contracts.spec.ts#records a first decision,services-membership:modules/applications/tests/unit/submissions-contracts.spec.ts#leaves the application decided, awaiting the applicant or withdrawn by the decision’s kind,services-membership:modules/applications/tests/integration/decision-handler.integration.spec.ts#cancels the pending term of a rejected application whose purchase was placed
04 Confine offer changes and application reads to their grants permissionnegative proposed
Exercises
CAP-MBR-MEM-011 CAP-MBR-MEM-012
Relies on
ATS-MBR-MEM-011-01 ATS-MBR-MEM-012-05
Preconditions
An administrator, reader and two chapter officers have applications with reachable, unreachable and absent memberships.
Steps
[object Object]
Expected
Only the manager changes the offer; scoped reads reveal only reachable records and unattached applications require workspace-wide authority.
Data
An isolated workspace, dated member fixtures, chapter and package configuration, and recording partner ports where the case requires them.
Source
services-membership:tests/acceptance/commerce/MBR-ACC-0346.acceptance.ts#MBR-ACC-0346,services-membership:modules/applications/tests/integration/decision-handler.integration.spec.ts#records an approval, places the dues order through the port (package and chapter dues), and acknowledges it
05 Keep repeated approval from placing or acknowledging twice regression test
Exercises
CAP-MBR-MEM-011 CAP-MBR-MEM-012
Relies on
ATS-MBR-MEM-011-01 ATS-MBR-MEM-012-05
Preconditions
An approved application already has its placed order and acknowledgement.
Steps
[object Object]
Expected
The recorded result is returned and neither partner port receives another call.
Data
An isolated workspace, dated member fixtures, chapter and package configuration, and recording partner ports where the case requires them.
Bound to
Source
services-membership:modules/applications/tests/integration/decision-handler.integration.spec.ts,services-membership:tests/acceptance/commerce/MBR-ACC-0346.acceptance.ts#MBR-ACC-0346,services-membership:modules/applications/tests/integration/decision-handler.integration.spec.ts#records an approval, places the dues order through the port (package and chapter dues), and acknowledges it

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.