---
id: TST-PFM-OPS-056
title: Record views
kind: api-lifecycle
product_area: platform
module: operations
revision: 1
status: draft
source_sha:
  services-platform: ad3f6a6582843008ed0f5a17b131878d15829af1
repository: services-platform
files:
  - modules/audit/tests/e2e/record-views.e2e.spec.js
implements: []
environment: local
implementation_state: implemented
latest_result: not-run
latest_run_at: null
latest_run_ref: null
conformance: not-verified
estimated_minutes: 5
estimate_basis: Scheduling estimate only; no duration is measured during this documentation pass.
isolation: >-
  The prepared local test database and suite-owned identifiers; existing hooks control rollback or
  cleanup.
evidence:
  - >-
    services-platform:modules/audit/tests/e2e/record-views.e2e.spec.js at
    ad3f6a6582843008ed0f5a17b131878d15829af1: existing suite body, setup, assertions and cleanup.
binding_note: This existing engineering suite is registered without claiming a complete specification scenario.
assertion_sources:
  - >-
    services-platform:modules/audit/tests/e2e/record-views.e2e.spec.js#carries both organization keys
    into the slice of the report route (premise)
  - >-
    services-platform:modules/audit/tests/e2e/record-views.e2e.spec.js#records a view of an organization
    for a caller holding organization read and organization query
  - >-
    services-platform:modules/audit/tests/e2e/record-views.e2e.spec.js#refuses a view of an organization
    as 403 for a caller holding neither organization key
  - >-
    services-platform:modules/audit/tests/e2e/record-views.e2e.spec.js#refuses a view of an organization
    as 403 for a caller holding organization read but not organization query
  - >-
    services-platform:modules/audit/tests/e2e/record-views.e2e.spec.js#records a view of a contact for a
    caller holding contact read and contact query
  - >-
    services-platform:modules/audit/tests/e2e/record-views.e2e.spec.js#refuses a view of a contact as 403
    for a caller holding neither contact key
  - >-
    services-platform:modules/audit/tests/e2e/record-views.e2e.spec.js#writes nothing for a refused
    report
---

# Record views

## Verification Boundary

This suite exercises record activity through the local API dispatcher. Its implementation is present at the pinned source revision, and this register records no execution result.

## What This Suite Proves

The checks exercise record views within the file’s declared setup and assertion boundary. The structured assertion anchors distinguish these checks from the surrounding feature flows. No complete specification scenario is attributed to this suite yet.

## What It Does Not Prove

Local execution does not establish deployed infrastructure, live commercial-provider configuration or authorization-cache completion. Registration and an implemented suite do not establish a passing result.

## Real Dependencies and Test Doubles

The prepared PostgreSQL database and production operations under test are real. Signed request contexts use a run-owned signing key.

## Must Not Be Doubled

The dispatcher, route evaluation and handler effects under assertion remain real.
