feat: add controlled engine run review and verify desktop mobile workflows

This commit is contained in:
Agent Workbench Dev
2026-10-31 05:38:55 +08:00
parent 213845e72e
commit 48635be1ce
41 changed files with 14539 additions and 36 deletions
+38
View File
@@ -0,0 +1,38 @@
{
"passed": false,
"targetVersion": "1.14.0",
"testedVersion": "1.13.0",
"error": "Error: expect(locator).toBeHidden() failed\n\nLocator: locator('.inspector')\nExpected: hidden\nReceived: visible\nTimeout: 5000ms\n\nCall log:\n - Expect \"toBeHidden\" locator('.inspector') with timeout 5000ms\n - waiting for locator('.inspector')\n 14 × locator resolved to <aside class=\"inspector\">…</aside>\n - unexpected value \"visible\"\n\n at captureRawStack (D:\\Ai-project\\REA逆向\\Agent-Workbench\\node_modules\\playwright-core\\lib\\coreBundle.js:9282:17)\n at callMatcherAsStep (D:\\Ai-project\\REA逆向\\Agent-Workbench\\node_modules\\playwright\\lib\\matchers\\expect.js:13316:57)\n at Object.toBeHidden (D:\\Ai-project\\REA逆向\\Agent-Workbench\\node_modules\\playwright\\lib\\matchers\\expect.js:13308:23)\n at closeInspector (D:\\Ai-project\\REA逆向\\Agent-Workbench\\scripts\\verify-controlled-ui.mjs:34:200)\n at async openEngine (D:\\Ai-project\\REA逆向\\Agent-Workbench\\scripts\\verify-controlled-ui.mjs:36:31)\n at async file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/scripts/verify-controlled-ui.mjs:89:3",
"assertions": [
"desktop engine selector rejects a missing source, pins the actual installation and seals one original scope without model calls",
"actual Harness runs the owned bridge and returns reviewable proposals after confirmed process-tree closure",
"390px keeps the real single-engine scope, header and a single-line 42px refresh action without horizontal overflow",
"mobile child run view shows actual counts and closure, pages original inputs and downloads the exact original report bytes",
"closing a run view ignores an old delayed record failure and keeps the selected task unchanged"
],
"screenshots": [
{
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\controlled-ui-49aec7a4-63d2-4e3c-8f32-27affba1e652\\desktop-controlled-parent.png",
"sha256": "3ee1ad49f1120ddef7ae963bf43d5591520a019e7340466060749fb22e05d2f2"
},
{
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\controlled-ui-49aec7a4-63d2-4e3c-8f32-27affba1e652\\mobile-controlled-parent.png",
"sha256": "bdf176f6f2c36a7ac6c69a42b7b1f2e4ae220c89acb6e85f804d3346f515408f"
},
{
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\controlled-ui-49aec7a4-63d2-4e3c-8f32-27affba1e652\\mobile-controlled-input.png",
"sha256": "f15ecced0577768d72cbb7f2e5fc1f04ac23190baa8fa71314d159899d1e9d33"
},
{
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\controlled-ui-49aec7a4-63d2-4e3c-8f32-27affba1e652\\mobile-controlled-approval.png",
"sha256": "c4222fa49198553d690f3e5cb9dd0329c878acb2542acf25b6232f2993e31105"
},
{
"file": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\controlled-ui-49aec7a4-63d2-4e3c-8f32-27affba1e652\\controlled-ui-failure.png",
"sha256": "fff671875da0f3c94d9405b061df68f1d035eae2c05cdca8b909560fc907804c"
}
],
"pageErrors": [],
"requestFailures": [],
"realModelRequests": 0
}