---
id: ATS-MBR-MEM-011
scope: CAP-MBR-MEM-011
product_area: membership
module: memberships
revision: 1
status: proposed
approved_by:
approved_at:
source_sha:
  services-membership: 5994c270e8a37a30f848e99ba5b5ee6b87c08893
  react-console: baf6dae382d6f41dce976c7f848667ccc37e076f
scenarios:
  - id: ATS-MBR-MEM-011-01
    title: "An application process records what it is for"
    level: api
    proves:
      - BR-CAP-MBR-MEM-011-01
    preconditions: "The well-known FAA workspace fixtures, or a workspace the test builds from them."
    steps: "Create a complete process, read it back, change it at the version read and clear its optional fields."
    expected: "Every value reads back as sent; review defaults to on."
    negative: false
    data_needs: "FAA programs, packages, units and members from the integration seed."
    bound_to:
      - "services-membership:tests/acceptance/commerce/MBR-ACC-0346.acceptance.ts#MBR-ACC-0346"
    provenance: test
    source: "services-membership:tests/acceptance/commerce/MBR-ACC-0346.acceptance.ts#MBR-ACC-0346"
  - id: ATS-MBR-MEM-011-02
    title: "A process's window and packages are checked, naming the field"
    level: api
    proves:
      - BR-CAP-MBR-MEM-011-02
    preconditions: "The well-known FAA workspace fixtures, or a workspace the test builds from them."
    steps: "Save a window that closes before it opens, a package the workspace lacks and a package of another program."
    expected: "Each is refused 400 naming closes_on or the package entry."
    negative: true
    data_needs: "FAA programs, packages, units and members from the integration seed."
    bound_to:
      - "services-membership:tests/e2e/database-refusals.e2e.spec.ts#refuses a window that closes before it opens 400 naming closes_on"
      - "services-membership:tests/e2e/database-refusals.e2e.spec.ts#refuses a package the workspace does not have 400 naming package_ids[1]"
      - "services-membership:tests/e2e/database-refusals.e2e.spec.ts#refuses a package of another program 400 naming package_ids[0] and the program"
    provenance: test
    source: "services-membership:tests/e2e/database-refusals.e2e.spec.ts#refuses a window that closes before it opens 400 naming closes_on"
  - id: ATS-MBR-MEM-011-03
    title: "Outcome parameters are limited in content and size"
    level: api
    proves:
      - BR-CAP-MBR-MEM-011-03
    preconditions: "The well-known FAA workspace fixtures, or a workspace the test builds from them."
    steps: "Save outcome parameters with an unknown key, and over 2 KB."
    expected: "Both are refused."
    negative: true
    data_needs: "FAA programs, packages, units and members from the integration seed."
    bound_to:
      - "services-membership:tests/acceptance/commerce/MBR-ACC-0347.acceptance.ts#MBR-ACC-0347"
    provenance: test
    source: "services-membership:tests/acceptance/commerce/MBR-ACC-0347.acceptance.ts#MBR-ACC-0347"
  - id: ATS-MBR-MEM-011-04
    title: "The list answers the same packages as the single read"
    level: api
    proves:
      - BR-CAP-MBR-MEM-011-04
    preconditions: "The well-known FAA workspace fixtures, or a workspace the test builds from them."
    steps: "List processes and read one."
    expected: "Each listed process carries its packages in order, as the read does."
    negative: false
    data_needs: "FAA programs, packages, units and members from the integration seed."
    bound_to:
      - "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"
    provenance: test
    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"
evidence:
  - "services-membership at 5994c270e8a37a30f848e99ba5b5ee6b87c08893: the capability sources and the bound test files."
---

# Define what applications are for and read the applications: Acceptance Test Set

## Coverage

| Rule | Proved by |
|---|---|
| `BR-CAP-MBR-MEM-011-01` | `ATS-MBR-MEM-011-01` |
| `BR-CAP-MBR-MEM-011-02` | `ATS-MBR-MEM-011-02` |
| `BR-CAP-MBR-MEM-011-03` | `ATS-MBR-MEM-011-03` |
| `BR-CAP-MBR-MEM-011-04` | `ATS-MBR-MEM-011-04` |
| `BR-CAP-MBR-MEM-011-05` | no scenario: `FND-MBR-MEM-041` |
| `BR-CAP-MBR-MEM-011-06` | no scenario: `FND-MBR-MEM-042` |
| `BR-CAP-MBR-MEM-011-07` | no scenario: `FND-MBR-MEM-040` |
