feat(ui-automation): Add rs/1 runtime automation parity #1206
Annotations
4 errors and 1 warning
|
build-and-test (24.x)
Process completed with exit code 1.
|
|
src/mcp/tools/ui-automation/__tests__/wait_for_ui.test.ts > Wait for UI Plugin > records empty UI payloads and times out with empty candidates:
src/mcp/tools/ui-automation/__tests__/wait_for_ui.test.ts#L852
AssertionError: expected undefined to be { type: 'runtime-snapshot', …(8) } // Object.is equality
- Expected:
{
"actions": [],
"capturedAtMs": 0,
"elements": [],
"expiresAtMs": 60000,
"protocol": "rs/1",
"screenHash": "1sr53u2",
"seq": 2,
"simulatorId": "12E2CB7E-780E-467B-BE90-2917AB236F77",
"type": "runtime-snapshot",
}
+ Received:
undefined
❯ src/mcp/tools/ui-automation/__tests__/wait_for_ui.test.ts:852:57
|
|
src/mcp/tools/ui-automation/__tests__/wait_for_ui.test.ts > Wait for UI Plugin > times out with latest snapshot and candidates for unresolved enabled state:
src/mcp/tools/ui-automation/__tests__/wait_for_ui.test.ts#L592
AssertionError: expected undefined to be { type: 'runtime-snapshot', …(8) } // Object.is equality
- Expected:
{
"actions": [],
"capturedAtMs": 0,
"elements": [
{
"actions": [],
"frame": {
"height": 40,
"width": 100,
"x": 10,
"y": 20,
},
"identifier": "login-button",
"label": "Continue",
"ref": "e1",
"role": "button",
"state": {
"enabled": false,
"visible": true,
},
},
],
"expiresAtMs": 60000,
"protocol": "rs/1",
"screenHash": "1ka6b7q",
"seq": 1,
"simulatorId": "12E2CB7E-780E-467B-BE90-2917AB236F77",
"type": "runtime-snapshot",
}
+ Received:
undefined
❯ src/mcp/tools/ui-automation/__tests__/wait_for_ui.test.ts:592:57
|
|
src/mcp/tools/ui-automation/__tests__/wait_for_ui.test.ts > Wait for UI Plugin > converts elementRef to identifier before polling:
src/mcp/tools/ui-automation/__tests__/wait_for_ui.test.ts#L278
AssertionError: expected undefined to be { type: 'runtime-snapshot', …(8) } // Object.is equality
- Expected:
{
"actions": [
{
"action": "tap",
"elementRef": "e1",
"label": "Continue now",
},
{
"action": "longPress",
"elementRef": "e1",
"label": "Continue now",
},
{
"action": "touch",
"elementRef": "e1",
"label": "Continue now",
},
],
"capturedAtMs": 0,
"elements": [
{
"actions": [
"tap",
"longPress",
"touch",
],
"frame": {
"height": 40,
"width": 100,
"x": 10,
"y": 20,
},
"identifier": "continue-button",
"label": "Continue now",
"ref": "e1",
"role": "button",
"state": {
"enabled": true,
"visible": true,
},
},
],
"expiresAtMs": 60000,
"protocol": "rs/1",
"screenHash": "1mbkj53",
"seq": 2,
"simulatorId": "12E2CB7E-780E-467B-BE90-2917AB236F77",
"type": "runtime-snapshot",
}
+ Received:
undefined
❯ src/mcp/tools/ui-automation/__tests__/wait_for_ui.test.ts:278:57
|
|
build-and-test (24.x)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3, actions/setup-node@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|