Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Feat: recursive dom profiler #670

Feat: recursive dom profiler

Feat: recursive dom profiler #670

Triggered via pull request June 17, 2024 08:36
Status Failure
Total duration 26m 30s
Artifacts 3

lint-and-test.yml

on: pull_request
Matrix: lint-and-test
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 17 warnings
basic Navigation tests withoutMitm › can load a cached page multiple times: agent/main/test/navigation.test.ts#L125
expect(received).toHaveLength(expected) Expected length: 20 Received length: 21 Received array: [{"documentUrl": "http://localhost:32957/etag", "frameId": 1, "id": 95, "isRedirect": false, "receivedAtCommandId": 1, "request": [Object], "response": [Object], "tabId": 1, "type": "Image", "url": "http://localhost:32957/img.jpeg"}, {"documentUrl": "http://localhost:32957/etag", "frameId": 1, "id": 96, "isRedirect": false, "receivedAtCommandId": 1, "request": [Object], "response": [Object], "tabId": 1, "type": "Document", "url": "http://localhost:32957/etag"}, {"documentUrl": "http://localhost:32957/etag", "frameId": 1, "id": 97, "isRedirect": false, "receivedAtCommandId": 3, "request": [Object], "response": [Object], "tabId": 1, "type": "Image", "url": "http://localhost:32957/img.jpeg"}, {"documentUrl": "http://localhost:32957/etag", "frameId": 1, "id": 98, "isRedirect": false, "receivedAtCommandId": 3, "request": [Object], "response": [Object], "tabId": 1, "type": "Document", "url": "http://localhost:32957/etag"}, {"documentUrl": "http://localhost:32957/etag", "frameId": 1, "id": 99, "isRedirect": false, "receivedAtCommandId": 5, "request": [Object], "response": [Object], "tabId": 1, "type": "Image", "url": "http://localhost:32957/img.jpeg"}, {"documentUrl": "http://localhost:32957/etag", "frameId": 1, "id": 101, "isRedirect": false, "receivedAtCommandId": 5, "request": [Object], "response": [Object], "tabId": 1, "type": "Image", "url": "http://localhost:32957/img.jpeg"}, {"documentUrl": "http://localhost:32957/etag", "frameId": 1, "id": 100, "isRedirect": false, "receivedAtCommandId": 5, "request": [Object], "response": [Object], "tabId": 1, "type": "Document", "url": "http://localhost:32957/etag"}, {"documentUrl": "http://localhost:32957/etag", "frameId": 1, "id": 102, "isRedirect": false, "receivedAtCommandId": 7, "request": [Object], "response": [Object], "tabId": 1, "type": "Image", "url": "http://localhost:32957/img.jpeg"}, {"documentUrl": "http://localhost:32957/etag", "frameId": 1, "id": 103, "isRedirect": false, "receivedAtCommandId": 7, "request": [Object], "response": [Object], "tabId": 1, "type": "Document", "url": "http://localhost:32957/etag"}, {"documentUrl": "http://localhost:32957/etag", "frameId": 1, "id": 104, "isRedirect": false, "receivedAtCommandId": 9, "request": [Object], "response": [Object], "tabId": 1, "type": "Image", "url": "http://localhost:32957/img.jpeg"}, …] at Object.<anonymous> (../agent/main/test/navigation.test.ts:125:67)
it should be able to add polyfills: agent/main/lib/DevtoolsSession.ts#L142
CanceledPromiseError: Cancel Pending Promise (Runtime.evaluate): Target closed. at DevtoolsSession.onClosed (../agent/main/lib/DevtoolsSession.ts:142:21) at Connection.onClosed (../agent/main/lib/Connection.ts:93:15) at PipeTransport.onReadClosed (../agent/main/lib/PipeTransport.ts:85:42) ------DEVTOOLS------------------------------------ ------DEVTOOLS_SESSION_ID=4105C123FF62019C8A62B497847C9439 at new Resolvable (../../shared/commons/lib/Resolvable.ts:19:18) at createPromise (../../shared/commons/lib/utils.ts:140:10) at DevtoolsSession.send (../agent/main/lib/DevtoolsSession.ts:82:37) at Frame.evaluate (../agent/main/lib/Frame.ts:285:84) at async Object.<anonymous> (../plugins/default-browser-emulator/test/polyfills.test.ts:110:16)
it should be able to remove properties: agent/main/lib/DevtoolsSession.ts#L71
CanceledPromiseError: Cancel Pending Promise (Target.createTarget): Target closed. at DevtoolsSession.send (../agent/main/lib/DevtoolsSession.ts:71:13) at BrowserContext.sendWithBrowserDevtoolsSession (../agent/main/lib/BrowserContext.ts:449:41) at BrowserContext.newPage (../agent/main/lib/BrowserContext.ts:134:37) at createPage (../plugins/default-browser-emulator/test/polyfills.test.ts:287:30) at Object.<anonymous> (../plugins/default-browser-emulator/test/polyfills.test.ts:134:22)
it should be able to change properties: agent/main/lib/DevtoolsSession.ts#L71
CanceledPromiseError: Cancel Pending Promise (Target.createTarget): Target closed. at DevtoolsSession.send (../agent/main/lib/DevtoolsSession.ts:71:13) at BrowserContext.sendWithBrowserDevtoolsSession (../agent/main/lib/BrowserContext.ts:449:41) at BrowserContext.newPage (../agent/main/lib/BrowserContext.ts:134:37) at createPage (../plugins/default-browser-emulator/test/polyfills.test.ts:287:30) at Object.<anonymous> (../plugins/default-browser-emulator/test/polyfills.test.ts:155:22)
it should be able to change property order: agent/main/lib/DevtoolsSession.ts#L71
CanceledPromiseError: Cancel Pending Promise (Target.createTarget): Target closed. at DevtoolsSession.send (../agent/main/lib/DevtoolsSession.ts:71:13) at BrowserContext.sendWithBrowserDevtoolsSession (../agent/main/lib/BrowserContext.ts:449:41) at BrowserContext.newPage (../agent/main/lib/BrowserContext.ts:134:37) at createPage (../plugins/default-browser-emulator/test/polyfills.test.ts:287:30) at Object.<anonymous> (../plugins/default-browser-emulator/test/polyfills.test.ts:193:22)
it should be able to change window property order: agent/main/lib/DevtoolsSession.ts#L71
CanceledPromiseError: Cancel Pending Promise (Target.createTarget): Target closed. at DevtoolsSession.send (../agent/main/lib/DevtoolsSession.ts:71:13) at BrowserContext.sendWithBrowserDevtoolsSession (../agent/main/lib/BrowserContext.ts:449:41) at BrowserContext.newPage (../agent/main/lib/BrowserContext.ts:134:37) at createPage (../plugins/default-browser-emulator/test/polyfills.test.ts:287:30) at Object.<anonymous> (../plugins/default-browser-emulator/test/polyfills.test.ts:238:22)
Test node-20.x, ubuntu-latest, chrome-115-0
Process completed with exit code 1.
basic Navigation tests withoutMitm › can wait for another page: agent/main/test/navigation.test.ts#L505
thrown: "Exceeded timeout of 180000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." at ../agent/main/test/navigation.test.ts:505:3 at Array.forEach (<anonymous>) at Object.<anonymous> (../agent/main/test/navigation.test.ts:46:3)
should send preflight requests: agent/main/test/mitm.test.ts#L102
expect(jest.fn()).toHaveBeenCalledTimes(expected) Expected number of calls: 4 Received number of calls: 3 at Object.<anonymous> (../agent/main/test/mitm.test.ts:102:43)
Test node-18, windows-latest, latest
Process completed with exit code 1.
basic Navigation tests withoutMitm › can wait for another page: agent/main/test/navigation.test.ts#L505
thrown: "Exceeded timeout of 180000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." at ../agent/main/test/navigation.test.ts:505:3 at Array.forEach (<anonymous>) at Object.<anonymous> (../agent/main/test/navigation.test.ts:46:3)
can use widevine: plugins/default-browser-emulator/test/media.test.ts#L51
expect(received).toBe(expected) // Object.is equality Expected: "MediaKeys" Received: [Error: Uncaught (in promise)] at Object.<anonymous> (../plugins/default-browser-emulator/test/media.test.ts:51:21)
Test node-20, windows-latest, latest
Process completed with exit code 1.
Test node-20, ubuntu-latest, latest
Restore cache failed: Dependencies file is not found in /home/runner/work/unblocked/unblocked. Supported file pattern: go.sum
Test node-18, ubuntu-latest, latest
Restore cache failed: Dependencies file is not found in /home/runner/work/unblocked/unblocked. Supported file pattern: go.sum
Test node-20.x, ubuntu-latest, chrome-124-0
Restore cache failed: Dependencies file is not found in /home/runner/work/unblocked/unblocked. Supported file pattern: go.sum
Test node-20.x, ubuntu-latest, chrome-119-0
Restore cache failed: Dependencies file is not found in /home/runner/work/unblocked/unblocked. Supported file pattern: go.sum
Test node-20.x, ubuntu-latest, chrome-117-0
Restore cache failed: Dependencies file is not found in /home/runner/work/unblocked/unblocked. Supported file pattern: go.sum
Test node-20.x, ubuntu-latest, chrome-114-0
Restore cache failed: Dependencies file is not found in /home/runner/work/unblocked/unblocked. Supported file pattern: go.sum
Test node-20.x, ubuntu-latest, chrome-120-0
Restore cache failed: Dependencies file is not found in /home/runner/work/unblocked/unblocked. Supported file pattern: go.sum
Test node-20.x, ubuntu-latest, chrome-122-0
Restore cache failed: Dependencies file is not found in /home/runner/work/unblocked/unblocked. Supported file pattern: go.sum
Test node-20.x, ubuntu-latest, chrome-123-0
Restore cache failed: Dependencies file is not found in /home/runner/work/unblocked/unblocked. Supported file pattern: go.sum
Test node-20.x, ubuntu-latest, chrome-116-0
Restore cache failed: Dependencies file is not found in /home/runner/work/unblocked/unblocked. Supported file pattern: go.sum
Test node-20.x, ubuntu-latest, chrome-115-0
Restore cache failed: Dependencies file is not found in /home/runner/work/unblocked/unblocked. Supported file pattern: go.sum
Test node-20.x, ubuntu-latest, chrome-118-0
Restore cache failed: Dependencies file is not found in /home/runner/work/unblocked/unblocked. Supported file pattern: go.sum
Test node-20.x, ubuntu-latest, chrome-121-0
Restore cache failed: Dependencies file is not found in /home/runner/work/unblocked/unblocked. Supported file pattern: go.sum
Test node-18, macos-13, latest
Restore cache failed: Dependencies file is not found in /Users/runner/work/unblocked/unblocked. Supported file pattern: go.sum
Test node-20, macos-13, latest
Restore cache failed: Dependencies file is not found in /Users/runner/work/unblocked/unblocked. Supported file pattern: go.sum
Test node-18, windows-latest, latest
Restore cache failed: Dependencies file is not found in D:\a\unblocked\unblocked. Supported file pattern: go.sum
Test node-20, windows-latest, latest
Restore cache failed: Dependencies file is not found in D:\a\unblocked\unblocked. Supported file pattern: go.sum

Artifacts

Produced during runtime
Name Size
test-logs-ubuntu-latest-20.x-chrome-115-0 Expired
2.07 MB
test-logs-windows-latest-18-main Expired
2.1 MB
test-logs-windows-latest-20-main Expired
2.11 MB