ATS-MBR-MEM-018 See how a membership changed and what it was on any date: Acceptance Test Set
Markdown Planning / Membership / Memberships, Applications and Membership Billing / Membership Accountability and Reporting / Capability Test Specification See how a membership changed and what it was on any date: Acceptance Test Set Coverage Show evidence (sources, provenance, origins, pinned commits)Test Scenarios 8 scenarios proving CAP-MBR-MEM-018 ; 8 bound to an existing test.
01 Every committed change is one attributed revision, and caches record nothing api test
Proves BR-CAP-MBR-MEM-018-01 Preconditions The well-known FAA workspace fixtures, or a workspace the test builds from them. Steps Create a membership, correct its term, change its stored status alone, and undo a change in the same save. Expected One revision for the creation with its term and affiliation, one for the correction, nothing for the cache or the undone change; each names its person then and its source. Data FAA programs, packages, units and members from the integration seed. Bound to Source services-membership:modules/history/tests/integration/membership-history.integration.spec.ts #records the creation as one revision of the membership, its term and affiliation as collections 02 An unattributed write is refused with its business write api negative test
Proves BR-CAP-MBR-MEM-018-02 Preconditions The well-known FAA workspace fixtures, or a workspace the test builds from them. Steps Write with no source and no actor. Expected Refused at commit; nothing is written. Data FAA programs, packages, units and members from the integration seed. Bound to Source services-membership:modules/history/tests/integration/membership-history.integration.spec.ts #refuses at commit a write that names no source and no actor, and the write with it (a program, which has no versions) 03 The timeline pages, filters and opens section by section api test
Proves BR-CAP-MBR-MEM-018-03 Preconditions The well-known FAA workspace fixtures, or a workspace the test builds from them. Steps Read a busy membership's timeline by page, by operation and by person; open one revision; list the people. Expected Newest first by cursor; filters narrow it; the revision opens by section; each person listed once. Data FAA programs, packages, units and members from the integration seed. Bound to Source services-membership:modules/history/tests/integration/membership-history.integration.spec.ts #pages the timeline newest first by its sequence, the cursor continuing where a page ended 05 History needs its own key api negative test
Proves BR-CAP-MBR-MEM-018-05 Preconditions The well-known FAA workspace fixtures, or a workspace the test builds from them. Steps A reader with membership-read but not history asks for history. Expected Refused. Data FAA programs, packages, units and members from the integration seed. Bound to Source services-membership:tests/e2e/history-api.e2e.spec.ts #refuses the history to a reader of memberships who does not hold membership.memberships.history 06 A past date is reconstructed with its units, fields, seats and contact api test
Proves BR-CAP-MBR-MEM-018-06 Preconditions The well-known FAA workspace fixtures, or a workspace the test builds from them. Steps Ask Jo as of a date in her term, with and without Committees' history, and her custom fields at the end of the date. Expected Her term, type, package, status, chapters with names and ancestors then, custom fields as recorded, seats or unavailable, and the contact marked captured. Data FAA programs, packages, units and members from the integration seed. Bound to Source services-membership:modules/history/tests/integration/membership-as-of.integration.spec.ts #answers Jo’s chapters on the date with each unit’s name, parent and ancestors then 08 A backdated correction shows only to readers asking after it api test
Proves BR-CAP-MBR-MEM-018-08 Preconditions The well-known FAA workspace fixtures, or a workspace the test builds from them. Steps Correct a term, then ask as known before and after the correction. Expected The earlier and the corrected term respectively. Data FAA programs, packages, units and members from the integration seed. Bound to Source services-membership:modules/history/tests/integration/membership-as-of.integration.spec.ts #answers the term as it was known before the correction, with a known_at before it ← Previous Capability Test Specification ATS-MBR-MEM-017 · Export a roster and let members see their own memberships: Acceptance Test Set Next Capability Test Specification → ATS-MBR-MEM-019 · Report on membership now and month by month: Acceptance Test Set