Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

test(e2e): use targeted canvas operations fixture

Louis Beaumont8d89e5e2458d
diff --git a/apps/screenpipe-app-tauri/e2e/specs/brain-overview.spec.ts b/apps/screenpipe-app-tauri/e2e/specs/brain-overview.spec.ts
index 9d19722fc..52bc5a2e2 100644
--- a/apps/screenpipe-app-tauri/e2e/specs/brain-overview.spec.ts
+++ b/apps/screenpipe-app-tauri/e2e/specs/brain-overview.spec.ts
@@ -528,26 +528,29 @@ describe("Brain Live Views", function () {
piConversation.setResponseDelay(500);
piConversation.setTextResponse(
JSON.stringify({
- title: "Process map",
- timeRange: "7d",
- timeRangeBehavior: "selectable",
- blocks: [
+ operations: [
{
- id: "trigger-and-outcome",
- title: "Trigger, owner, and outcome",
- component: "table.v1",
- width: 6,
- intent:
- "Show the workflow trigger, accountable owner, and verified outcome.",
- pipeName: null,
+ op: "update",
+ blockId: "trigger-and-outcome",
+ block: {
+ title: "Trigger, owner, and outcome",
+ component: "table.v1",
+ width: 6,
+ intent:
+ "Show the workflow trigger, accountable owner, and verified outcome.",
+ pipeName: null,
+ },
},
{
- id: "safe-improvement-path",
- title: "Risky automation path",
- component: "markdown.v1",
- width: 6,
- intent: "Describe a risky automation path.",
- pipeName: null,
+ op: "update",
+ blockId: "safe-improvement-path",
+ block: {
+ title: "Risky automation path",
+ component: "markdown.v1",
+ width: 6,
+ intent: "Describe a risky automation path.",
+ pipeName: null,
+ },
},
],
note: "Two Block edits are ready for review.",