ATS-MBR-MEM-017Export a roster and let members see their own memberships: Acceptance Test Set
MarkdownExport a roster and let members see their own memberships: Acceptance Test Set
Coverage
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
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
- Source
- services-membership:tests/e2e/s07-regional-officer.e2e.spec.ts#lets Jo read her own memberships in the portal