Skip to content

ATS-MBR-MEM-017Export a roster and let members see their own memberships: Acceptance Test Set

Markdown

ATS-MBR-MEM-017

Export a roster and let members see their own memberships: Acceptance Test Set

Markdown
  • DocumentProposed

Planning

Proves capability
CAP-MBR-MEM-017

KindAcceptance test setProduct areaMembershipModuleMemberships, Applications and Membership BillingRevision1

Read atservices-membership 5994c270react-console baf6dae3

Test Scenarios

5 scenarios proving CAP-MBR-MEM-017; 5 bound to an existing test.

01 An export captures the requester's scope at request timeapitest
Proves
BR-CAP-MBR-MEM-017-01
Preconditions
The well-known FAA workspace fixtures, or a workspace the test builds from them.
Steps
The Atlanta officer requests an export; staff and an officer with no reach request too.
Expected
Each captures exactly the memberships its scope reaches with the filters.
Data
FAA programs, packages, units and members from the integration seed.
Bound to
Source
services-membership:modules/memberships/tests/integration/services/unit-scope.integration.spec.ts#captures the ids the requester’s set reaches at request time
02 Export rows hold the captured members with their units on the dateapitest
Proves
BR-CAP-MBR-MEM-017-02
Preconditions
The well-known FAA workspace fixtures, or a workspace the test builds from them.
Steps
Let the export job run.
Expected
One row per captured membership with number, owner, program, status and units on the date.
Data
FAA programs, packages, units and members from the integration seed.
Bound to
services-membership:modules/memberships/tests/integration/services/unit-scope.integration.spec.ts#writes rows for the captured memberships only, with their units on the date
Source
services-membership:modules/memberships/tests/integration/services/unit-scope.integration.spec.ts#writes rows for the captured memberships only, with their units on the date
03 An export is read by its requester and staff onlyapinegativetest
Proves
BR-CAP-MBR-MEM-017-03
Preconditions
The well-known FAA workspace fixtures, or a workspace the test builds from them.
Steps
The requester, staff and another officer read the export.
Expected
The first two read it; the other officer gets not found.
Data
FAA programs, packages, units and members from the integration seed.
Bound to
services-membership:modules/memberships/tests/integration/services/unit-scope.integration.spec.ts#answers the export to the person who asked for it and to staff, and not to another officer
Source
services-membership:modules/memberships/tests/integration/services/unit-scope.integration.spec.ts#answers the export to the person who asked for it and to staff, and not to another officer
04 No reach, no captureapitest
Proves
BR-CAP-MBR-MEM-017-05
Preconditions
The well-known FAA workspace fixtures, or a workspace the test builds from them.
Steps
A caller whose scope reaches nobody requests an export.
Expected
It captures nothing.
Data
FAA programs, packages, units and members from the integration seed.
Bound to
Source
services-membership:modules/memberships/tests/integration/services/unit-scope.integration.spec.ts#captures nothing for a caller with NONE
05 A portal member sees their own memberships onlyapitest
Proves
BR-CAP-MBR-MEM-017-06
Preconditions
The well-known FAA workspace fixtures, or a workspace the test builds from them.
Steps
Jo reads her own memberships and tries the staff read; Dana, with none, reads her own.
Expected
Jo sees hers; the staff read is refused; Dana gets an empty answer.
Data
FAA programs, packages, units and members from the integration seed.
Bound to
services-membership:tests/e2e/s07-regional-officer.e2e.spec.ts#lets Jo read her own memberships in the portal
services-membership:tests/e2e/s07-regional-officer.e2e.spec.ts#refuses Jo the staff read of her own membership: a portal member holds no members.read
services-membership:tests/e2e/s07-regional-officer.e2e.spec.ts#answers Dana’s own portal read with no membership, Dana holding none
Source
services-membership:tests/e2e/s07-regional-officer.e2e.spec.ts#lets Jo read her own memberships in the portal

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.