Skip to main content

View workspace item details (test harness)

Use the detail view test harness to simulate loading a workspace item and confirm what information appears on the detail page.

Audience

This guide is designed for project manager.

Steps

Step 1: Open the workspace item detail test scenario

Open the automated test or story that uses the detail view harness so you can simulate the workspace item detail page without connecting to live services.

Open the workspace item detail test scenario

Step 2: Confirm the workspace item being loaded

Check that the mocked routing parameters are set to load project "proj-1" and workspace item "item-1", so everyone is testing against the same predictable example.

Confirm the workspace item being loaded

Step 3: Review how the page fetches workspace item data

Observe that the detail view calls the mocked WorkspaceItems API and the shared getWorkspaceItem function to retrieve the item data used in the UI.

Review how the page fetches workspace item data

Step 4: Check how authentication and configuration are simulated

Verify that authentication (getToken) and lifecycle configuration (getEffectiveConfig) are provided through stable mocks, ensuring the detail page always renders reliably during tests.

Check how authentication and configuration are simulated

Use the mocked router (MemoryRouter, Link and NavLink) to see how navigation elements appear and behave visually without affecting your real browser history.

Validate the behaviour of navigation and links


Last updated: 2026-09-01