Skip to content

refactor: convert to class #348

refactor: convert to class

refactor: convert to class #348

Triggered via pull request June 17, 2025 03:54
Status Failure
Total duration 45s
Artifacts

compile.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
test
Process completed with exit code 1.
Mouse movements › Should scroll to position correctly: src/spoof.ts#L394
TypeError: Cannot read properties of undefined (reading '#primaryTargetClient') at _client (node_modules/puppeteer-core/src/cdp/Page.ts:386:17) at GhostCursor.client [as getCDPClient] (src/spoof.ts:394:43) at GhostCursor.getCDPClient [as scroll] (src/spoof.ts:753:28) at GhostCursor.scroll [as scrollTo] (src/spoof.ts:840:16) at Object.<anonymous> (src/__test__/spoof.spec.ts:96:5)
Mouse movements › Should scroll to elements correctly: src/spoof.ts#L394
TypeError: Cannot read properties of undefined (reading '#primaryTargetClient') at _client (node_modules/puppeteer-core/src/cdp/Page.ts:386:17) at GhostCursor.client [as getCDPClient] (src/spoof.ts:394:43) at GhostCursor.getCDPClient [as tracePath] (src/spoof.ts:362:28) at tracePath (src/spoof.ts:578:18) at GhostCursor.move (src/spoof.ts:602:5) at GhostCursor.click (src/spoof.ts:510:7) at Object.<anonymous> (src/__test__/spoof.spec.ts:74:5)
Mouse movements › Should click on the element without throwing an error (XPath selector): src/spoof.ts#L394
TypeError: Cannot read properties of undefined (reading '#primaryTargetClient') at _client (node_modules/puppeteer-core/src/cdp/Page.ts:386:17) at GhostCursor.client [as getCDPClient] (src/spoof.ts:394:43) at GhostCursor.getCDPClient [as tracePath] (src/spoof.ts:362:28) at tracePath (src/spoof.ts:578:18) at GhostCursor.move (src/spoof.ts:602:5) at GhostCursor.click (src/spoof.ts:510:7) at testClick (src/__test__/spoof.spec.ts:47:5) at Object.<anonymous> (src/__test__/spoof.spec.ts:60:5)
Mouse movements › Should click on the element without throwing an error (CSS selector): src/spoof.ts#L394
TypeError: Cannot read properties of undefined (reading '#primaryTargetClient') at _client (node_modules/puppeteer-core/src/cdp/Page.ts:386:17) at GhostCursor.client [as getCDPClient] (src/spoof.ts:394:43) at GhostCursor.getCDPClient [as tracePath] (src/spoof.ts:362:28) at tracePath (src/spoof.ts:578:18) at GhostCursor.move (src/spoof.ts:602:5) at GhostCursor.click (src/spoof.ts:510:7) at testClick (src/__test__/spoof.spec.ts:47:5) at Object.<anonymous> (src/__test__/spoof.spec.ts:56:5)