Skip to content

ATS-PFM-CSH-016Refresh application choices when access changes — acceptance

Markdown

ATS-PFM-CSH-016

Refresh application choices when access changes — acceptance

Markdown
  • DocumentProposed

Planning

Proves capability
CAP-PFM-CSH-016

KindAcceptance test setProduct areaPlatformModuleConsole Shell and NavigationRevision2

Read atreact-console baf6dae3services-platform ad3f6a65

Test Scenarios

4 scenarios proving CAP-PFM-CSH-016; 2 bound to an existing test.

01 An application refusal updates offered workbrowsertest
Proves
BR-CAP-PFM-CSH-016-01
Preconditions
CRM and Membership are initially offered, then mock CRM requests are refused.
Steps
Open Tasks to trigger the refusal path.
Expected
The refreshed menu removes CRM and retains Membership.
Data
Mock application refusal responses.
Bound to
react-console:e2e/mock/application-access.mock.spec.ts#brings the launcher up to date instead of leaving it offering what is gone
Source
react-console:e2e/mock/application-access.mock.spec.ts#brings the launcher up to date instead of leaving it offering what is gone
02 Only application-specific refusal codes notify listenersunitnegativetest
Proves
BR-CAP-PFM-CSH-016-01 BR-CAP-PFM-CSH-016-02
Preconditions
Responses cover both application codes and unrelated refusal codes.
Steps
Report each refusal to registered listeners.
Expected
Application refusals notify each listener once; other refusals produce no notification.
Data
Refusal-code variants and registered listeners.
Bound to
react-console:lib/security-context/application-refusal.test.ts#reads the two application codes off a 403
Source
react-console:lib/security-context/application-refusal.test.ts#reads the two application codes off a 403
03 Returning to an old tab refreshes application answersunitproposed
Proves
BR-CAP-PFM-CSH-016-03
Preconditions
The last application read is six minutes old.
Steps
Bring the tab to the foreground.
Expected
One application refresh is requested.
Data
A controlled clock and request observer.
Source
react-console:lib/security-context/provider.tsx:SecurityContextProvider
04 A prior-workspace refresh cannot replace the new answerunitnegativeproposed
Proves
BR-CAP-PFM-CSH-016-06
Preconditions
An application refresh is pending in the old workspace.
Steps
Enter another workspace, then resolve the earlier request.
Expected
The new workspace application list remains unchanged by the late answer.
Data
Delayed refresh and workspace-entry responses.
Source
react-console:lib/security-context/provider.tsx:refreshApplications

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.