feat(playwright): optimize the visualization and extraction of playwright ai process data #38
Annotations
4 errors and 1 warning
packages/web-integration/src/common/tasks.ts#L56
Error: this.page.screenshot is not a function
TypeError: this.page.screenshot is not a function
at PageTaskExecutor.recordScreenshot (/home/runner/work/midscene/midscene/packages/web-integration/src/common/tasks.ts:56:21)
at Object.executor (/home/runner/work/midscene/midscene/packages/web-integration/src/common/tasks.ts:79:33)
at Executor.flush (/home/runner/work/midscene/midscene/packages/midscene/dist/es/index.js:1223:36)
at PageTaskExecutor.action (/home/runner/work/midscene/midscene/packages/web-integration/src/common/tasks.ts:382:37)
at PageAgent.aiAction (/home/runner/work/midscene/midscene/packages/web-integration/src/common/agent.ts:91:26)
at /home/runner/work/midscene/midscene/packages/web-integration/tests/ai/puppeteer/showcase.test.ts:18: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)
❯ PageTaskExecutor.recordScreenshot src/common/tasks.ts:56:21
❯ Object.executor src/common/tasks.ts:79:33
❯ PageTaskExecutor.action src/common/tasks.ts:382:37
❯ PageAgent.aiAction src/common/agent.ts:91:26
❯ tests/ai/puppeteer/showcase.test.ts:18:7
❯ PageAgent.aiAction src/common/agent.ts:97:13
❯ tests/ai/puppeteer/showcase.test.ts:18:7
|
packages/web-integration/src/common/tasks.ts#L56
Error: this.page.screenshot is not a function
TypeError: this.page.screenshot is not a function
at PageTaskExecutor.recordScreenshot (/home/runner/work/midscene/midscene/packages/web-integration/src/common/tasks.ts:56:21)
at Object.executor (/home/runner/work/midscene/midscene/packages/web-integration/src/common/tasks.ts:79:33)
at Executor.flush (/home/runner/work/midscene/midscene/packages/midscene/dist/es/index.js:1218:36)
at PageTaskExecutor.query (/home/runner/work/midscene/midscene/packages/web-integration/src/common/tasks.ts:427:39)
at PageAgent.aiQuery (/home/runner/work/midscene/midscene/packages/web-integration/src/common/agent.ts:102:34)
at /home/runner/work/midscene/midscene/packages/web-integration/tests/ai/puppeteer/showcase.test.ts:42:22
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)
❯ PageTaskExecutor.recordScreenshot src/common/tasks.ts:56:21
❯ Object.executor src/common/tasks.ts:79:33
❯ PageTaskExecutor.query src/common/tasks.ts:427:39
❯ PageAgent.aiQuery src/common/agent.ts:102:34
❯ tests/ai/puppeteer/showcase.test.ts:42:22
❯ PageAgent.aiQuery src/common/agent.ts:108:13
❯ tests/ai/puppeteer/showcase.test.ts:42:22
|
packages/web-integration/src/common/tasks.ts#L56
Error: this.page.screenshot is not a function
TypeError: this.page.screenshot is not a function
at PageTaskExecutor.recordScreenshot (/home/runner/work/midscene/midscene/packages/web-integration/src/common/tasks.ts:56:21)
at Object.executor (/home/runner/work/midscene/midscene/packages/web-integration/src/common/tasks.ts:79:33)
at Executor.flush (/home/runner/work/midscene/midscene/packages/midscene/dist/es/index.js:1218:36)
at PageTaskExecutor.query (/home/runner/work/midscene/midscene/packages/web-integration/src/common/tasks.ts:427:39)
at PageAgent.aiQuery (/home/runner/work/midscene/midscene/packages/web-integration/src/common/agent.ts:102:34)
at /home/runner/work/midscene/midscene/packages/web-integration/tests/ai/puppeteer/showcase.test.ts:70:22
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)
❯ PageTaskExecutor.recordScreenshot src/common/tasks.ts:56:21
❯ Object.executor src/common/tasks.ts:79:33
❯ PageTaskExecutor.query src/common/tasks.ts:427:39
❯ PageAgent.aiQuery src/common/agent.ts:102:34
❯ tests/ai/puppeteer/showcase.test.ts:70:22
❯ PageAgent.aiQuery src/common/agent.ts:108:13
❯ tests/ai/puppeteer/showcase.test.ts:70:22
|
|
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading