Skip to content

ATS-PFM-CSH-011Continue in another workspace without reusing a record: Capability Test Specification

Markdown

ATS-PFM-CSH-011

Continue in another workspace without reusing a record: Capability Test Specification

Markdown
  • DocumentProposed

Planning

Proves capability
CAP-PFM-CSH-011

Design

Executed by
TST-PFM-CSH-014, TST-PFM-CSH-029

KindAcceptance test setProduct areaPlatformModuleConsole Shell and NavigationRevision3

Read atreact-console baf6dae3services-platform ad3f6a65rhythm-v2-docs 25e253cb

Coverage

  • Rule gap: FND-PFM-CSH-061
  • Transition gap: FND-PFM-CSH-061
  • Validation covered
  • Permission gap: FND-PFM-CSH-061
  • Edge gap: FND-PFM-CSH-061
  • Failure gap: FND-PFM-CSH-061
  • Boundary covered
  • Concurrency gap: FND-PFM-CSH-061
  • Invariant gap: FND-PFM-CSH-061
  • Interaction covered

Test Scenarios

6 scenarios proving CAP-PFM-CSH-011; 2 bound to an existing test.

01 Switch construction retains reusable work and removes recordsinteractionunittest
Proves
BR-CAP-PFM-CSH-011-02
Preconditions
Address fixtures cover record, administrative and planned destinations.
Steps
Compute the reusable destination for a different workspace.
Expected
Area and list survive; record values and queries are removed, including the appropriate handling of a planned path.
Data
Independent fixture inputs for the variants listed in this case.
Bound to
Source
react-console:lib/routes/__tests__/routes.test.ts#keeps the workspace and resource list and drops record ids and queries
02 Browser switching waits for destination authorityrulebrowserproposed
Proves
BR-CAP-PFM-CSH-011-02 BR-CAP-PFM-CSH-011-07 AS-JNY-PFM-CSH-004-01
Preconditions
A person can reach another workspace while viewing a contact record.
Steps
Select the other workspace and await entry.
Expected
Its contacts list uses the destination identity and authority without retaining the previous record body.
Data
An isolated browser context with the stated identity, workspace and response fixtures.
Source
react-console:lib/security-context/provider.tsx:openTenantId
03 The selector offers the context’s reachable choicesinvariantbrowserproposed
Proves
BR-CAP-PFM-CSH-011-01
Preconditions
The context contains exactly two reachable workspaces.
Steps
Open the header selector and enumerate its choices.
Expected
The offered pair matches the context rather than a broader workspace catalogue.
Data
An isolated browser context with the stated identity, workspace and response fixtures.
Source
react-console:components/console/tenant-switcher.tsx:TenantSwitcher
04 The current workspace selection causes no route changevalidationbrowserproposed
Proves
BR-CAP-PFM-CSH-011-03
Preconditions
The selector names the workspace already held.
Steps
Select that workspace and observe navigation and requests.
Expected
The address and working page remain in place with no selection-driven navigation.
Data
A fresh browser context, isolated account fixtures and controlled responses for the listed transitions.
Source
rhythm-v2-docs:specs/platform/console-shell/planning/capabilities/CAP-PFM-CSH-011-switch-to-another-workspace-without-carrying-records-across.md
05 Workspace search appears only beyond six choicesboundarybrowserproposed
Proves
BR-CAP-PFM-CSH-011-01 BR-CAP-PFM-CSH-011-05
Preconditions
The context is exercised with one, six and seven reachable workspaces.
Steps
Inspect the selector and search by partial name and identifier when search is present.
Expected
Alternatives depend on having multiple choices; search is absent at six and present at seven, with a clear empty result for unmatched input.
Data
A fresh browser context, isolated account fixtures and controlled responses for the listed transitions.
Source
rhythm-v2-docs:specs/platform/console-shell/planning/capabilities/CAP-PFM-CSH-011-switch-to-another-workspace-without-carrying-records-across.md
06 Switching rewrites a record destination to the new listinteractionbrowsertest
Proves
BR-CAP-PFM-CSH-011-02 BR-CAP-PFM-CSH-009-02
Preconditions
A contact record is open in the association workspace.
Steps
Select the reachable sandbox from the workspace selector.
Expected
The sandbox contact list opens without the old record identity and the selector names the sandbox.
Data
A fresh browser context, isolated account fixtures and controlled responses for the listed transitions.
Bound to
Source
react-console:e2e/mock/url-architecture.mock.spec.ts#switching tenant opens the same list under the other tenant's id, record ids dropped

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.