Skip to content

fix(e2e): optimize e2e error (#307) #331

fix(e2e): optimize e2e error (#307)

fix(e2e): optimize e2e error (#307) #331

Triggered via push January 22, 2025 05:51
Status Failure
Total duration 14m 7s
Artifacts 4

ai.yml

on: push
Matrix: main
Fit to window
Zoom out
Zoom in

Annotations

7 errors
main (18.19.0)
Process completed with exit code 1.
main (18.19.0)
Process completed with exit code 1.
main (18.19.0)
Process completed with exit code 1.
tests/ai/web/puppeteer/showcase.test.ts > puppeteer integration > scroll: packages/web-integration/src/common/tasks.ts#L352
Error: Cannot read properties of null (reading 'direction') TypeError: Cannot read properties of null (reading 'direction') at Object.executor (/home/runner/work/midscene/midscene/packages/web-integration/src/common/tasks.ts:352:31) at Object.executor (/home/runner/work/midscene/midscene/packages/web-integration/src/common/tasks.ts:93:40) at Executor.flush (/home/runner/work/midscene/midscene/packages/midscene/dist/lib/index.js:119:25) at PageTaskExecutor.action (/home/runner/work/midscene/midscene/packages/web-integration/src/common/tasks.ts:680:16) at PuppeteerAgent.aiAction (/home/runner/work/midscene/midscene/packages/web-integration/src/common/agent.ts:174:28) at /home/runner/work/midscene/midscene/packages/web-integration/tests/ai/web/puppeteer/showcase.test.ts:104:7 at runTest (file:///home/runner/work/midscene/midscene/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:781:11) at runSuite (file:///home/runner/work/midscene/midscene/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:909:15) at runSuite (file:///home/runner/work/midscene/midscene/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:909:15) at runFiles (file:///home/runner/work/midscene/midscene/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:958:5) ❯ Object.executor src/common/tasks.ts:352:31 ❯ Object.executor src/common/tasks.ts:93:40 ❯ PageTaskExecutor.action src/common/tasks.ts:680:16 ❯ PuppeteerAgent.aiAction src/common/agent.ts:174:28 ❯ tests/ai/web/puppeteer/showcase.test.ts:104:7 ❯ PuppeteerAgent.aiAction src/common/agent.ts:182:15 ❯ tests/ai/web/puppeteer/showcase.test.ts:104:7
tests/ai/evaluate/inspect.test.ts > taobao-2-planning: locate element: packages/midscene/tests/ai/evaluate/inspect.test.ts#L142
AssertionError: expected 2 to be less than or equal to 1 ❯ test.timeout tests/ai/evaluate/inspect.test.ts:142:40
tests/ai/plan/plan-to-target.test.ts > inspect with quick answer: packages/midscene/tests/ai/plan/plan-to-target.test.ts#L38
TypeError: Cannot read properties of undefined (reading 'action_inputs') ❯ tests/ai/plan/plan-to-target.test.ts:38:35
main (18.19.0)
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
e2e-cache-report
13.3 MB
e2e-report
6.65 MB
e2e-report-output
18.5 MB
test-ai-output
37.1 MB