fix(agents): make pipeline flow animation seamless

This commit is contained in:
RockChinQ
2026-08-27 15:28:43 +08:00
parent 05fe93e108
commit e6f6789e8b
2 changed files with 3 additions and 2 deletions
@@ -287,10 +287,11 @@ function PipelineDiagram() {
fill="none" fill="none"
stroke={LANGBOT_BLUE} stroke={LANGBOT_BLUE}
strokeWidth="3" strokeWidth="3"
strokeDasharray="4 14" strokeDasharray="4 11"
strokeLinecap="round" strokeLinecap="round"
className="processor-line-flow" className="processor-line-flow"
data-motion="flow" data-motion="flow"
data-dash-cycle="15"
/> />
{steps.map((step, index) => { {steps.map((step, index) => {
+1 -1
View File
@@ -196,7 +196,7 @@ test.describe('frontend CRUD smoke flows', () => {
await expect(page.getByTestId('pipeline-diagram')).toBeVisible(); await expect(page.getByTestId('pipeline-diagram')).toBeVisible();
await expect( await expect(
page.getByTestId('pipeline-diagram').locator('[data-motion="flow"]'), page.getByTestId('pipeline-diagram').locator('[data-motion="flow"]'),
).toHaveCount(1); ).toHaveAttribute('data-dash-cycle', '15');
await expect(page.getByTestId('agent-diagram')).toHaveCount(0); await expect(page.getByTestId('agent-diagram')).toHaveCount(0);
await expect(page.locator('input[name="name"]')).toBeVisible(); await expect(page.locator('input[name="name"]')).toBeVisible();