Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

perf(frontend/builder): skip node form re-renders on drag and edge writes (#15683)

Abhimanyu Yadavdff4ccb7d56b
diff --git a/autogpt_platform/frontend/scripts/perf/scenarios/builder-connect-edge.ts b/autogpt_platform/frontend/scripts/perf/scenarios/builder-connect-edge.ts
new file mode 100644
index 0000000000..dc77da3453
--- /dev/null
+++ b/autogpt_platform/frontend/scripts/perf/scenarios/builder-connect-edge.ts
@@ -0,0 +1,66 @@
+import { BuildPage } from "../../../src/playwright/pages/build.page";
+import { createBuilderFixture } from "../lib/builder-fixture";
+import { installRoutes } from "../lib/routes";
+import { settle, type Scenario } from "../lib/scenario";
+
+const MOVES = 20;
+const DRAG_MS = 600;
+const READY_TIMEOUT_MS = 60_000;
+const EDGE_TIMEOUT_MS = 5_000;
+
+export const builderConnectEdge: Scenario = {
+ name: "builder-connect-edge",
+ description:
+ "Connect one new edge (StoreValue node 4 output → Calculator node 5 input `a`) in an idle 50-node workflow.",
+ readyWhen:
+ "all 50 nodes are on the canvas and both handles are visible, then network idle + 1 s",
+ windowMs: 2_000,
+ async setup(ctx) {
+ const { page } = ctx;
+ const fixture = createBuilderFixture(ctx.userID);
+ await installRoutes(page, fixture.handlers);
+ const builder = new BuildPage(page);
+ await page.goto(`/build?flowID=${fixture.graph.id}`);
+ await builder.closeTutorial();
+ await page
+ .locator('[data-id^="custom-node-"]')
+ .nth(fixture.graph.nodes.length - 1)
+ .waitFor({ state: "attached", timeout: READY_TIMEOUT_MS });
+ const [source, target] = [fixture.graph.nodes[3], fixture.graph.nodes[4]];
+ const sourceHandle = page.locator(
+ `[data-tutorial-id="output-handler-${source.id}-output"]`,
+ );
+ const targetHandle = page.locator(
+ `[data-tutorial-id="input-handler-${target.id}-a"]`,
+ );
+ const newEdge = page.locator(
+ `[data-testid="rf__edge-${source.id}:output->${target.id}:a"]`,
+ );
+ await targetHandle.waitFor({ state: "visible", timeout: READY_TIMEOUT_MS });
+ await settle(page);
+ const from = await sourceHandle.boundingBox();
+ const to = await targetHandle.boundingBox();
+ if (!from || !to) throw new Error("Edge handles have no bounding box");
+ return {
+ async run() {
+ const startX = from.x + from.width / 2;
+ const startY = from.y + from.height / 2;
+ const endX = to.x + to.width / 2;
+ const endY = to.y + to.height / 2;
+ await page.mouse.move(startX, startY);
+ await page.mouse.down();
+ for (let move = 1; move <= MOVES; move++) {
+ const progress = move / MOVES;
+ await page.mouse.move(
+ startX + (endX - startX) * progress,
+ startY + (endY - startY) * progress,
+ );
+ await page.waitForTimeout(DRAG_MS / MOVES);
+ }
+ await page.mouse.up();
+ // A missed or rejected drop would otherwise save a run with no edge write.
+ await newEdge.waitFor({ state: "attached", timeout: EDGE_TIMEOUT_MS });
+ },
+ };
+ },
+};
diff --git a/autogpt_platform/frontend/scripts/perf/scenarios/registry.ts b/autogpt_platform/frontend/scripts/perf/scenarios/registry.ts
index 20b8b6063d..7c3ed6e9be 100644
--- a/autogpt_platform/frontend/scripts/perf/scenarios/registry.ts
+++ b/autogpt_platform/frontend/scripts/perf/scenarios/registry.ts
@@ -1,4 +1,5 @@
import type { Scenario } from "../lib/scenario";
+import { builderConnectEdge } from "./builder-connect-edge";
import { builderDragRunning } from "./builder-drag-running";
import { copilotBackgroundStream } from "./copilot-background-stream";
import { copilotIdle } from "./copilot-idle";
@@ -15,6 +16,7 @@ export const SCENARIOS: Scenario[] = [
copilotSwitchThreads,
builderDragRunning,
libraryRunning,
+ builderConnectEdge,
];
export function findScenario(name: string) {
diff --git a/autogpt_platform/frontend/src/app/(platform)/build/__tests__/CustomNode.schemaIdentity.test.tsx b/autogpt_platform/frontend/src/app/(platform)/build/__tests__/CustomNode.schemaIdentity.test.tsx
new file mode 100644
index 0000000000..c545f01075
--- /dev/null
+++ b/autogpt_platform/frontend/src/app/(platform)/build/__tests__/CustomNode.schemaIdentity.test.tsx
@@ -0,0 +1,166 @@
+import { describe, it, expect, vi, beforeEach } from "vitest";
+import { cleanup } from "@testing-library/react";
+import { render } from "@/tests/integrations/test-utils";
+import React from "react";
+import type { RJSFSchema } from "@rjsf/utils";
+import type { NodeProps } from "@xyflow/react";
+import { BlockUIType } from "../components/types";
+import type {
+ CustomNodeData,
+ CustomNode as CustomNodeType,
+} from "../components/FlowEditor/nodes/CustomNode/CustomNode";
+
+const formCreatorSchemas: RJSFSchema[] = [];
+
+vi.mock(
+ "@/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/NodeContainer",
+ () => ({
+ NodeContainer: ({ children }: { children: React.ReactNode }) => (
+ <div>{children}</div>
+ ),
+ }),
+);
+
+vi.mock(
+ "@/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/NodeHeader",
+ () => ({ NodeHeader: () => null }),
+);
+
+vi.mock(
+ "@/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/NodeAdvancedToggle",
+ () => ({ NodeAdvancedToggle: () => null }),
+);
+
+vi.mock(
+ "@/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/NodeOutput/NodeOutput",
+ () => ({ NodeDataRenderer: () => null }),
+);
+
+vi.mock(
+ "@/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/NodeExecutionBadge",
+ () => ({ NodeExecutionBadge: () => null }),
+);
+
+vi.mock(
+ "@/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/NodeRightClickMenu",
+ () => ({
+ NodeRightClickMenu: ({ children }: { children: React.ReactNode }) => (
+ <div>{children}</div>
+ ),
+ }),
+);
+
+vi.mock(
+ "@/app/(platform)/build/components/FlowEditor/nodes/OutputHandler",
+ () => ({ OutputHandler: () => null }),
+);
+
+vi.mock(
+ "@/app/(platform)/build/components/FlowEditor/nodes/FormCreator",
+ () => ({
+ FormCreator: ({ jsonSchema }: { jsonSchema: RJSFSchema }) => {
+ formCreatorSchemas.push(jsonSchema);
+ return <div data-testid="form-creator" />;
+ },
+ }),
+);
+
+import { CustomNode } from "../components/FlowEditor/nodes/CustomNode/CustomNode";
+
+const inputSchema: RJSFSchema = {
+ type: "object",
+ properties: {
+ prompt: { type: "string", title: "Prompt" },
+ anything: { title: "Anything" },
+ },
+};
+
+function buildProps(
+ data: CustomNodeData,
+ overrides: Partial<NodeProps<CustomNodeType>> = {},
+): NodeProps<CustomNodeType> {
+ return {
+ id: "node-1",
+ data,
+ selected: false,
+ type: "custom",
+ isConnectable: true,
+ positionAbsoluteX: 0,
+ positionAbsoluteY: 0,
+ zIndex: 0,
+ dragging: false,
+ dragHandle: undefined,
+ draggable: true,
+ selectable: true,
+ deletable: true,
+ parentId: undefined,
+ width: undefined,
+ height: undefined,
+ sourcePosition: undefined,
+ targetPosition: undefined,
+ ...overrides,
+ };
+}
+
+beforeEach(() => {
+ cleanup();
+ formCreatorSchemas.length = 0;
+});
+
+describe("CustomNode input schema identity", () => {
+ const data: CustomNodeData = {
+ hardcodedValues: {},
+ title: "Test Block",
+ description: "A test block",
+ inputSchema,
+ outputSchema: { type: "object", properties: {} },
+ uiType: BlockUIType.STANDARD,
+ block_id: "block-123",
+ costs: [],
+ categories: [],
+ };
+
+ it("passes the same jsonSchema object to FormCreator while the node is dragged", () => {
+ const { rerender } = render(<CustomNode {...buildProps(data)} />);
+
+ rerender(
+ <CustomNode
+ {...buildProps(data, {
+ positionAbsoluteX: 40,
+ positionAbsoluteY: 20,
+ dragging: true,
+ })}
+ />,
+ );
+
+ expect(formCreatorSchemas).toHaveLength(2);
+ expect(formCreatorSchemas[1]).toBe(formCreatorSchemas[0]);
+ });
+
+ it("still preprocesses the schema it passes on", () => {
+ render(<CustomNode {...buildProps(data)} />);
+
+ const anything = formCreatorSchemas[0].properties?.anything as RJSFSchema;
+ expect(anything.anyOf).toBeDefined();
+ });
+
+ it("passes a new jsonSchema when the input schema changes", () => {
+ const { rerender } = render(<CustomNode {...buildProps(data)} />);
+
+ rerender(
+ <CustomNode
+ {...buildProps({
+ ...data,
+ inputSchema: {
+ ...inputSchema,
+ properties: { other: { type: "number", title: "Other" } },
+ },
+ })}
+ />,
+ );
+
+ expect(formCreatorSchemas).toHaveLength(2);
+ expect(formCreatorSchemas[1]).not.toBe(formCreatorSchemas[0]);
+ expect(formCreatorSchemas[1].properties).toHaveProperty("other");
+ });
+});
diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/CustomNode.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/CustomNode.tsx
index 67123b30a9..37b354897f 100644
--- a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/CustomNode.tsx
+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/CustomNode.tsx
@@ -7,7 +7,7 @@ import { preprocessInputSchema } from "@/components/renderers/InputRenderer/util
import { cn } from "@/lib/utils";
import { RJSFSchema } from "@rjsf/utils";
import { NodeProps, Node as XYNode } from "@xyflow/react";
-import React from "react";
+import React, { useMemo } from "react";
import { BlockUIType } from "../../../types";
import { FormCreator } from "../FormCreator";
import { OutputHandler } from "../OutputHandler";
@@ -56,6 +56,12 @@ export const CustomNode: React.FC<NodeProps<CustomNode>> = React.memo(
data,
nodeId,
});
+ // xyflow re-renders the node on every drag frame (position props), so a
+ // fresh clone here would defeat FormCreator's memo and re-run RJSF.
+ const formSchema = useMemo(
+ () => preprocessInputSchema(inputSchema),
+ [inputSchema],
+ );
const isAgent = data.uiType === BlockUIType.AGENT;
@@ -104,7 +110,7 @@ export const CustomNode: React.FC<NodeProps<CustomNode>> = React.memo(
{isAgent && <SubAgentUpdateFeature nodeID={nodeId} nodeData={data} />}
{isWebhook && <WebhookDisclaimer nodeId={nodeId} />}
<FormCreator
- jsonSchema={preprocessInputSchema(inputSchema)}
+ jsonSchema={formSchema}
nodeId={nodeId}
uiType={data.uiType}
isMCPWithTool={isMCPWithTool}
diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/FormCreator.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/FormCreator.tsx
index 82188051e3..0e298e8799 100644
--- a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/FormCreator.tsx
+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/FormCreator.tsx
@@ -9,6 +9,9 @@ import { CredentialsProvidersContext } from "@/providers/agent-credentials/crede
import { gateDiscriminatorOptions } from "@/components/renderers/InputRenderer/custom/CredentialField/gateDiscriminatorOptions";
import { credentialNotApplicable } from "@/components/renderers/InputRenderer/custom/CredentialField/helpers";
import type { BlockIOCredentialsSubSchema } from "@/lib/autogpt-server-api";
+import type { CustomNodeData } from "./CustomNode/CustomNode";
+
+const NO_HARDCODED_VALUES: CustomNodeData["hardcodedValues"] = {};
function isCredentialsProperty(schema: RJSFSchema, key: string): boolean {
const property = schema.properties?.[key];
@@ -107,7 +110,13 @@ export const FormCreator: React.FC<FormCreatorProps> = React.memo(
updateNodeData(nodeId, { hardcodedValues: updatedValues });
};
- const hardcodedValues = getHardCodedValues(nodeId);
+ // Subscribed rather than read during render: CustomNode memoizes the schema
+ // it passes in, so this component no longer re-renders with its parent.
+ const hardcodedValues =
+ useNodeStore(
+ (state) =>
+ state.nodes.find((n) => n.id === nodeId)?.data?.hardcodedValues,
+ ) || NO_HARDCODED_VALUES;
// Memoized so the object identity is stable across renders. FormRenderer
// memoizes its schema preprocessing on these props, so a fresh object each
diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/__tests__/FormCreator.rerender.test.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/__tests__/FormCreator.rerender.test.tsx
new file mode 100644
index 0000000000..6cac5ad4ba
--- /dev/null
+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/__tests__/FormCreator.rerender.test.tsx
@@ -0,0 +1,138 @@
+import { BlockUIType } from "@/app/(platform)/build/components/types";
+import { FormCreator } from "@/app/(platform)/build/components/FlowEditor/nodes/FormCreator";
+import type { CustomNode } from "@/app/(platform)/build/components/FlowEditor/nodes/CustomNode/CustomNode";
+import { useEdgeStore } from "@/app/(platform)/build/stores/edgeStore";
+import { useHistoryStore } from "@/app/(platform)/build/stores/historyStore";
+import { useNodeStore } from "@/app/(platform)/build/stores/nodeStore";
+import { render } from "@/tests/integrations/test-utils";
+import { act, screen, within } from "@testing-library/react";
+import type { RJSFSchema } from "@rjsf/utils";
+import { beforeEach, describe, expect, it, vi } from "vitest";
+
+const fieldRenders = vi.hoisted(() => [] as string[]);
+
+// FieldError renders once per FieldTemplate render and is not memoised, so it
+// counts how often each node's field templates re-render.
+vi.mock(
+ "@/components/renderers/InputRenderer/base/standard/FieldError",
+ () => ({
+ FieldError: ({ nodeId, fieldId }: { nodeId: string; fieldId: string }) => {
+ fieldRenders.push(`${nodeId}:${fieldId}`);
+ return null;
+ },
+ }),
+);
+
+const schema = {
+ type: "object",
+ properties: {
+ prompt: { title: "Prompt", type: "string" },
+ topic: { title: "Topic", type: "string" },
+ },
+} as RJSFSchema;
+
+function makeNode(id: string, hardcodedValues = {}): CustomNode {
+ return {
+ id,
+ type: "custom",
+ position: { x: 0, y: 0 },
+ data: {
+ hardcodedValues,
+ title: id,
+ description: "",
+ inputSchema: schema,
+ outputSchema: {},
+ uiType: BlockUIType.STANDARD,
+ block_id: "block-1",
+ costs: [],
+ categories: [],
+ },
+ } as unknown as CustomNode;
+}
+
+function renderNodes(...ids: string[]) {
+ useNodeStore.setState({
+ nodes: ids.map((id) => makeNode(id)),
+ nodeAdvancedStates: {},
+ });
+ useEdgeStore.setState({ edges: [] });
+ useHistoryStore.setState({ past: [], future: [] });
+
+ return render(
+ <>
+ {ids.map((id) => (
+ <div key={id} data-testid={id}>
+ <FormCreator
+ jsonSchema={schema}
+ nodeId={id}
+ uiType={BlockUIType.STANDARD}
+ showHandles={false}
+ />
+ </div>
+ ))}
+ </>,
+ );
+}
+
+function rendersOf(nodeId: string) {
+ return fieldRenders.filter((entry) => entry.startsWith(`${nodeId}:`));
+}
+
+beforeEach(() => {
+ fieldRenders.length = 0;
+});
+
+describe("FormCreator re-renders", () => {
+ it("does not re-render node A's fields when an edge of node B changes", async () => {
+ renderNodes("node-a", "node-b");
+ await screen.findAllByText("Topic");
+ fieldRenders.length = 0;
+
+ act(() => {
+ useEdgeStore.getState().addEdge({
+ source: "node-c",
+ sourceHandle: "result",
+ target: "node-b",
+ targetHandle: "prompt",
+ });
+ });
+
+ expect(rendersOf("node-a")).toEqual([]);
+ expect(rendersOf("node-b")).toContain("node-b:prompt");
+ });
+
+ it("hides a field's input once an edge connects to it", async () => {
+ renderNodes("node-a", "node-b");
+ const nodeB = within(screen.getByTestId("node-b"));
+ await nodeB.findByText("Topic");
+ expect(nodeB.getAllByRole("textbox")).toHaveLength(2);
+
+ act(() => {
+ useEdgeStore.getState().addEdge({
+ source: "node-c",
+ sourceHandle: "result",
+ target: "node-b",
+ targetHandle: "prompt",
+ });
+ });
+
+ expect(nodeB.getAllByRole("textbox")).toHaveLength(1);
+ expect(
+ within(screen.getByTestId("node-a")).getAllByRole("textbox"),
+ ).toHaveLength(2);
+ });
+
+ it("shows hardcoded values written to the store without a parent re-render", async () => {
+ renderNodes("node-a");
+ const nodeA = within(screen.getByTestId("node-a"));
+ await nodeA.findByText("Topic");
+
+ act(() => {
+ useNodeStore
+ .getState()
+ .updateNodeData("node-a", { hardcodedValues: { topic: "Rivers" } });
+ });
+
+ expect(await nodeA.findByDisplayValue("Rivers")).toBeDefined();
+ });
+});
diff --git a/autogpt_platform/frontend/src/components/renderers/InputRenderer/base/standard/FieldTemplate.tsx b/autogpt_platform/frontend/src/components/renderers/InputRenderer/base/standard/FieldTemplate.tsx
index 4946b93100..131b359e3c 100644
--- a/autogpt_platform/frontend/src/components/renderers/InputRenderer/base/standard/FieldTemplate.tsx
+++ b/autogpt_platform/frontend/src/components/renderers/InputRenderer/base/standard/FieldTemplate.tsx
@@ -52,7 +52,17 @@ export default function FieldTemplate(props: FieldTemplateProps) {
const { nodeId, uiType } = registry.formContext;
const parentAccessibility = useFieldAccessibilityContext(id);
- const { isInputConnected } = useEdgeStore();
+ const uiOptions = getUiOptions(uiSchema);
+ const handleId = getHandleId({
+ uiOptions,
+ id: id,
+ schema: schema,
+ });
+ // Select only this field's connection so an edge write elsewhere on the
+ // canvas (connect, select, execution beads) does not re-render every field.
+ const isHandleConnected = useEdgeStore((state) =>
+ state.isInputConnected(nodeId, cleanUpHandleId(handleId)),
+ );
const showAdvanced = useNodeStore(
(state) => state.nodeAdvancedStates[registry.formContext.nodeId ?? ""],
);
@@ -65,7 +75,6 @@ export default function FieldTemplate(props: FieldTemplateProps) {
return children;
}
- const uiOptions = getUiOptions(uiSchema);
const TitleFieldTemplate = getTemplate(
"TitleFieldTemplate",
registry,
@@ -79,15 +88,9 @@ export default function FieldTemplate(props: FieldTemplateProps) {
const additional = ADDITIONAL_PROPERTY_FLAG in schema;
- const handleId = getHandleId({
- uiOptions,
- id: id,
- schema: schema,
- });
const updatedUiSchema = updateUiOption(uiSchema, {
handleId: handleId,
});
- const isHandleConnected = isInputConnected(nodeId, cleanUpHandleId(handleId));
const shouldDisplayLabel =
displayLabel ||
diff --git a/docs/engineering/frontend-perf-baseline.md b/docs/engineering/frontend-perf-baseline.md
index dc8c12966e..295ecbbee1 100644
--- a/docs/engineering/frontend-perf-baseline.md
+++ b/docs/engineering/frontend-perf-baseline.md
@@ -341,3 +341,51 @@ What stands out:
| `Primitive.div props:children` | 12 |
| `r$ props:state,children` | 12 |
| `rV props:state,children` | 12 |
+
+## builder-connect-edge · baseline — median of 10 runs
+
+Added later than the other tables: app code is `dev` at `a1578ad9a` (2026-10-19); build, browser and machine are the same as above. Ten saved runs instead of three. A few runs have extra commits in the window; total renders hardly move.
+
+| metric | median | range | spread |
+| --- | --- | --- | --- |
+| commits | 20 | 20 – 36 | 80.0% |
+| total renders | 9,197 | 9,197 – 9,457 | 2.8% |
+| renders per commit | 459.9 | 262.7 – 459.9 | 42.9% |
+| max renders in one commit | 8,682 | 8,682 – 8,682 | 0.0% |
+| script time (ms) | 516 | 489 – 633 | 27.9% |
+| task time (ms) | 673 | 641 – 863 | 33.0% |
+| layout time (ms) | 3 | 2 – 4 | 48.4% |
+| style recalc time (ms) | 7 | 6 – 10 | 59.1% |
+| long tasks (≥ 50 ms) | 1 | 1 – 2 | 100.0% |
+| long task total (ms) | 412 | 396 – 571 | 42.6% |
+| heap used after GC (MB) | 85.4 | 84.0 – 85.8 | 2.0% |
+
+**Top components (median renders)**
+
+| name | renders |
+| --- | --- |
+| `Text` | 491 |
+| `HugeiconsIcon` | 417 |
+| `Icon` | 417 |
+| `Primitive.div` | 401 |
+| `Tooltip` | 370 |
+| `TooltipContent` | 370 |
+| `HandleComponent` | 346 |
+| `SelectItem` | 296 |
+| `TooltipProvider` | 295 |
+| `Presence` | 240 |
+
+**Top render causes (median renders)**
+
+| name | renders |
+| --- | --- |
+| `Tooltip props:children` | 370 |
+| `HugeiconsIcon parent-same-props<-Icon` | 362 |
+| `HandleComponent state#8` | 344 |
+| `SelectItem props:onMouseDown,children` | 296 |
+| `TooltipProvider props:children` | 295 |
+| `Presence props:children` | 240 |
+| `Primitive.div props:children` | 231 |
+| `Primitive.div.Slot props:children` | 231 |
+| `Primitive.div.SlotClone props:children` | 231 |
+| `Text props:children` | 224 |
diff --git a/docs/engineering/frontend-perf-measurement.md b/docs/engineering/frontend-perf-measurement.md
index cb415e689f..5378702f7d 100644
--- a/docs/engineering/frontend-perf-measurement.md
+++ b/docs/engineering/frontend-perf-measurement.md
@@ -108,6 +108,7 @@ Names come from the component function. Third-party code bundled already minifie
| `copilot-switch-threads` | Open the 200-message chat and list the 200 / 50 / 10-message chats in the sidebar | Click 50 → 10 → 200, three rounds, 2 s on each | Until done |
| `builder-drag-running` | Open a 50-node workflow whose run is RUNNING (the page polls it every second) | Drag one node for 2 s with 60 pointer moves | 2 s |
| `library-running` | Open the library with 20 workflows, all with a RUNNING run | Nothing | 30 s |
+| `builder-connect-edge` | Open the same 50-node workflow with no run (nothing polls) | Drag one new edge from StoreValue node 4's `output` to Calculator node 5's `a` input, 20 pointer moves over 0.6 s | 2 s after the drop |
Each scenario's `readyWhen` field says exactly what setup waits for before the window opens. Most wait for the page's own content, then for network idle (at most 15 s, because some pages poll), then one more second.