fix(web): contain pipeline debug scrolling

This commit is contained in:
RockChinQ
2026-08-25 12:03:43 +08:00
parent e70a0d3f01
commit f65cca3f40
3 changed files with 26 additions and 12 deletions
@@ -22,6 +22,9 @@ test('agent and pipeline details share the split processor workbench', () => {
const websocketClient = readSource(
'src/app/infra/websocket/WebSocketClient.ts',
);
const pipelineDebug = readSource(
'src/app/home/pipelines/components/debug-dialog/DebugDialog.tsx',
);
assert.match(
workbench,
@@ -42,6 +45,8 @@ test('agent and pipeline details share the split processor workbench', () => {
websocketClient,
/data\.type === 'connected'[\s\S]*this\.reconnectAttempts = 0/,
);
assert.match(pipelineDebug, /data-slot="scroll-area-viewport"/);
assert.doesNotMatch(pipelineDebug, /scrollIntoView/);
});
test('processor forms expose their primary orchestration flow horizontally', () => {