feat(ui): ship contextual action primitives
This commit is contained in:
@@ -310,7 +310,7 @@ test('run workspace supports timeline drill-in and evidence replay handoff', asy
|
||||
await page.goto('/releases/runs/run-e2e/graph?step=gate', { waitUntil: 'domcontentloaded' });
|
||||
|
||||
await expect(page.getByTestId('run-graph-replay-page')).toBeVisible();
|
||||
await expect(page.getByTestId('run-workspace-tab-graph')).toHaveClass(/run-tab--active/);
|
||||
await expect(page.getByTestId('run-workspace-tab-graph')).toHaveClass(/active/);
|
||||
await expect(page.getByRole('button', { name: 'Critical path only' })).toBeVisible();
|
||||
|
||||
await page.getByTestId('run-workspace-tab-timeline').click();
|
||||
@@ -330,12 +330,12 @@ test('run workspace supports timeline drill-in and evidence replay handoff', asy
|
||||
|
||||
await page.getByRole('button', { name: 'Open run replay workspace' }).click();
|
||||
await expect(page).toHaveURL(/\/releases\/runs\/run-e2e\/replay\?.*releaseId=rel-e2e.*returnTo=/);
|
||||
await expect(page.getByText('Opened from another operator flow.')).toBeVisible();
|
||||
await expect(page.getByRole('button', { name: 'Return to previous context' })).toBeVisible();
|
||||
});
|
||||
|
||||
test('legacy workflow visualization aliases redirect into the canonical run shell', async ({ page }) => {
|
||||
await page.goto('/workflow-visualization/run-e2e/graph?step=evidence', { waitUntil: 'domcontentloaded' });
|
||||
|
||||
await expect(page).toHaveURL(/\/releases\/runs\/run-e2e\/graph\?.*step=evidence/);
|
||||
await expect(page.getByTestId('run-workspace-tab-graph')).toHaveClass(/run-tab--active/);
|
||||
await expect(page.getByTestId('run-workspace-tab-graph')).toHaveClass(/active/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user