This suite tests the connection between a configured reviewed offer, the typed application and its delivered decisions. It distinguishes a recorded approval and placed purchase from committed membership coverage.
The composite cases test the effect of a change in one capability on the records and answers of another. Detailed reliance links identify the supporting capability scenarios; an executable binding requires assertions for the complete feature case. Cases without such a binding remain proposed.
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
02Require the matching reviewed decision before checkoutinteractiontest
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
03Replace a decision without losing its typed applicationlifecycleproposed
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
04Confine offer changes and application reads to their grantspermissionnegativeproposed
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
05Keep repeated approval from placing or acknowledging twiceregressiontest
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