---
id: TST-PFM-ELG-406
title: Attention rendering checks
kind: unit
product_area: platform
module: eligibility
revision: 1
status: draft
source_sha:
  services-platform: ad3f6a6582843008ed0f5a17b131878d15829af1
repository: services-platform
files:
  - modules/attention/tests/unit/rendering.spec.js
implements:
  - ATS-PFM-ELG-017-08
environment: mock
implementation_state: implemented
latest_result: not-run
conformance: not-verified
estimated_minutes: 1
isolation: One process with suite-local inputs.
evidence:
  - provenance: test
    source: 'services-platform:modules/attention/tests/unit/rendering.spec.js'
    cases:
      - shows a console reader every declared fact and nothing undeclared
      - strips every fact not portal_visible for a portal reader
      - >-
        lets a tenant’s override win part by part over the definition’s
        templates
      - >-
        opens the record on the console when the definition’s destination is a
        portal route
      - fills a portal route’s parameters from the item’s facts
      - 'names a console route and the record, never a URL'
      - 'reads the label, due, fact, scope and subject fields once each'
      - >-
        makes the record’s item: its facts typed, its scope, a contact audience
        and subject, the due day’s start in the tenant zone
      - 'skips a record whose subject field is empty, since nobody is addressed'
      - puts the tenant’s setting where the criteria carry its parameter token
      - 'is due every hour for PT1H, once per hour slot'
      - is due every sixth hour for PT6H
      - >-
        runs the unassigned-responsibilities evaluator at 07:20, after the 07:10
        reconcile
      - counts a single batch in the singular
      - counts several batches in the plural
      - counts none in the plural
      - counts a fact the same way
      - adds an s when no plural form is given
      - names a scope that is the item’s own record by the record’s label
      - 'names another record’s scope by its registered object, never its id'
      - names a scope of an unregistered object as this record
      - leaves the tenant scope as it is
      - gives the covering reason a labelled scope
      - labels each fact present with the definition’s label and no other
      - 'says an escalation in labels, short dates and days'
      - writes durations in words
  - provenance: documented
    source: >-
      services-platform:modules/attention/tests/unit/rendering.spec.js:suite
      header
    note: >-
      The source header describes the verification boundary and declared
      substitutions.
proof_limit: >-
  Only the named scenario checkpoints have a verified source binding; execution
  has not been attempted.
---

# Attention rendering checks

## Verification Boundary

This suite checks isolated decisions and validation using the imported inputs. It cannot establish a complete service or browser lifecycle.

## What This Suite Proves

The mapped scenarios identify the capability and feature checkpoints this file exercises. The source test titles preserve the assertion-level evidence.

## What It Does Not Prove

Registration supplies no execution result or conformance decision. Passing isolated checks does not establish deployed dependencies or cross-application delivery.

## Real Dependencies and Test Doubles

The suite runs isolated checks; its imported fixtures and injected collaborators define the substitutions. The source imports and suite header identify the exact dependencies.

## Must Not Be Doubled

The decision or validator being asserted remains real; returning the expected answer from a substitute defeats the check.
