mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-28 21:27:14 +00:00
fix(agents): make pipeline flow animation seamless
This commit is contained in:
@@ -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) => {
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user