chore: fix test for headless=new #812
Annotations
11 errors and 7 warnings
UserProfile cookie tests › should be able to save and restore cookies:
home/runner/work/unblocked/agent/main/lib/Browser.ts#L395
ERROR: Running unblocked headless with chrome < 110 is not supported anymore.
This is because we rely on the new headless mode of recent chrome versions.
To fix this problem either use a newer chrome version or run unblocked in headed (showChrome) mode.
at Browser.applyDefaultLaunchArgs (../../../unblocked/agent/main/lib/Browser.ts:395:15)
at new Browser (../../../unblocked/agent/main/lib/Browser.ts:94:10)
at Object.cb (../../../unblocked/agent/main/lib/Pool.ts:147:23)
at Queue.next (../../../shared/commons/lib/Queue.ts:188:44)
at Queue.run (../../../shared/commons/lib/Queue.ts:72:10)
at Pool.getBrowser (../../../unblocked/agent/main/lib/Pool.ts:137:44)
at Agent.open (../../../unblocked/agent/main/lib/Agent.ts:115:34)
at async Session.openBrowser (../core/lib/Session.ts:276:5)
at async Function.create (../core/lib/Session.ts:954:7)
at async ConnectionToHeroClient.createSession (../core/connections/ConnectionToHeroClient.ts:196:30)
at async Object.<anonymous> (../core/test/user-profile.test.ts:29:18)
------BROWSER_CREATION_Q--------------------------
at Queue.run (../../../shared/commons/lib/Queue.ts:63:19)
at Pool.getBrowser (../../../unblocked/agent/main/lib/Pool.ts:137:44)
at Agent.open (../../../unblocked/agent/main/lib/Agent.ts:115:34)
at async Session.openBrowser (../core/lib/Session.ts:276:5)
at async Function.create (../core/lib/Session.ts:954:7)
at async ConnectionToHeroClient.createSession (../core/connections/ConnectionToHeroClient.ts:196:30)
at async Object.<anonymous> (../core/test/user-profile.test.ts:29:18)
|
UserProfile cookie tests › should track cookies from other domains:
home/runner/work/unblocked/agent/main/lib/Browser.ts#L395
ERROR: Running unblocked headless with chrome < 110 is not supported anymore.
This is because we rely on the new headless mode of recent chrome versions.
To fix this problem either use a newer chrome version or run unblocked in headed (showChrome) mode.
at Browser.applyDefaultLaunchArgs (../../../unblocked/agent/main/lib/Browser.ts:395:15)
at new Browser (../../../unblocked/agent/main/lib/Browser.ts:94:10)
at Object.cb (../../../unblocked/agent/main/lib/Pool.ts:147:23)
at Queue.next (../../../shared/commons/lib/Queue.ts:188:44)
at Queue.run (../../../shared/commons/lib/Queue.ts:72:10)
at Pool.getBrowser (../../../unblocked/agent/main/lib/Pool.ts:137:44)
at Agent.open (../../../unblocked/agent/main/lib/Agent.ts:115:34)
at async Session.openBrowser (../core/lib/Session.ts:276:5)
at async Function.create (../core/lib/Session.ts:954:7)
at async ConnectionToHeroClient.createSession (../core/connections/ConnectionToHeroClient.ts:196:30)
at async Object.<anonymous> (../core/test/user-profile.test.ts:84:20)
------BROWSER_CREATION_Q--------------------------
at Queue.run (../../../shared/commons/lib/Queue.ts:63:19)
at Pool.getBrowser (../../../unblocked/agent/main/lib/Pool.ts:137:44)
at Agent.open (../../../unblocked/agent/main/lib/Agent.ts:115:34)
at async Session.openBrowser (../core/lib/Session.ts:276:5)
at async Function.create (../core/lib/Session.ts:954:7)
at async ConnectionToHeroClient.createSession (../core/connections/ConnectionToHeroClient.ts:196:30)
at async Object.<anonymous> (../core/test/user-profile.test.ts:84:20)
|
UserProfile Dom storage tests › should be able to save and restore local/session storage:
home/runner/work/unblocked/agent/main/lib/Browser.ts#L395
ERROR: Running unblocked headless with chrome < 110 is not supported anymore.
This is because we rely on the new headless mode of recent chrome versions.
To fix this problem either use a newer chrome version or run unblocked in headed (showChrome) mode.
at Browser.applyDefaultLaunchArgs (../../../unblocked/agent/main/lib/Browser.ts:395:15)
at new Browser (../../../unblocked/agent/main/lib/Browser.ts:94:10)
at Object.cb (../../../unblocked/agent/main/lib/Pool.ts:147:23)
at Queue.next (../../../shared/commons/lib/Queue.ts:188:44)
at Queue.run (../../../shared/commons/lib/Queue.ts:72:10)
at Pool.getBrowser (../../../unblocked/agent/main/lib/Pool.ts:137:44)
at Agent.open (../../../unblocked/agent/main/lib/Agent.ts:115:34)
at async Session.openBrowser (../core/lib/Session.ts:276:5)
at async Function.create (../core/lib/Session.ts:954:7)
at async ConnectionToHeroClient.createSession (../core/connections/ConnectionToHeroClient.ts:196:30)
at async Object.<anonymous> (../core/test/user-profile.test.ts:153:18)
------BROWSER_CREATION_Q--------------------------
at Queue.run (../../../shared/commons/lib/Queue.ts:63:19)
at Pool.getBrowser (../../../unblocked/agent/main/lib/Pool.ts:137:44)
at Agent.open (../../../unblocked/agent/main/lib/Agent.ts:115:34)
at async Session.openBrowser (../core/lib/Session.ts:276:5)
at async Function.create (../core/lib/Session.ts:954:7)
at async ConnectionToHeroClient.createSession (../core/connections/ConnectionToHeroClient.ts:196:30)
at async Object.<anonymous> (../core/test/user-profile.test.ts:153:18)
|
UserProfile Dom storage tests › should be able to restore storage for a large number of sites:
home/runner/work/unblocked/agent/main/lib/Browser.ts#L395
ERROR: Running unblocked headless with chrome < 110 is not supported anymore.
This is because we rely on the new headless mode of recent chrome versions.
To fix this problem either use a newer chrome version or run unblocked in headed (showChrome) mode.
at Browser.applyDefaultLaunchArgs (../../../unblocked/agent/main/lib/Browser.ts:395:15)
at new Browser (../../../unblocked/agent/main/lib/Browser.ts:94:10)
at Object.cb (../../../unblocked/agent/main/lib/Pool.ts:147:23)
at Queue.next (../../../shared/commons/lib/Queue.ts:188:44)
at Queue.run (../../../shared/commons/lib/Queue.ts:72:10)
at Pool.getBrowser (../../../unblocked/agent/main/lib/Pool.ts:137:44)
at Agent.open (../../../unblocked/agent/main/lib/Agent.ts:115:34)
at async Session.openBrowser (../core/lib/Session.ts:276:5)
at async Function.create (../core/lib/Session.ts:954:7)
at async ConnectionToHeroClient.createSession (../core/connections/ConnectionToHeroClient.ts:196:30)
at async Object.<anonymous> (../core/test/user-profile.test.ts:247:18)
------BROWSER_CREATION_Q--------------------------
at Queue.run (../../../shared/commons/lib/Queue.ts:63:19)
at Pool.getBrowser (../../../unblocked/agent/main/lib/Pool.ts:137:44)
at Agent.open (../../../unblocked/agent/main/lib/Agent.ts:115:34)
at async Session.openBrowser (../core/lib/Session.ts:276:5)
at async Function.create (../core/lib/Session.ts:954:7)
at async ConnectionToHeroClient.createSession (../core/connections/ConnectionToHeroClient.ts:196:30)
at async Object.<anonymous> (../core/test/user-profile.test.ts:247:18)
|
UserProfile Dom storage tests › should be able to restore storage with the man-in-the-middle disabled:
home/runner/work/unblocked/agent/main/lib/Browser.ts#L395
ERROR: Running unblocked headless with chrome < 110 is not supported anymore.
This is because we rely on the new headless mode of recent chrome versions.
To fix this problem either use a newer chrome version or run unblocked in headed (showChrome) mode.
at Browser.applyDefaultLaunchArgs (../../../unblocked/agent/main/lib/Browser.ts:395:15)
at new Browser (../../../unblocked/agent/main/lib/Browser.ts:94:10)
at Object.cb (../../../unblocked/agent/main/lib/Pool.ts:147:23)
at Queue.next (../../../shared/commons/lib/Queue.ts:188:44)
at Queue.run (../../../shared/commons/lib/Queue.ts:72:10)
at Pool.getBrowser (../../../unblocked/agent/main/lib/Pool.ts:137:44)
at Agent.open (../../../unblocked/agent/main/lib/Agent.ts:115:34)
at async Session.openBrowser (../core/lib/Session.ts:276:5)
at async Function.create (../core/lib/Session.ts:954:7)
at async ConnectionToHeroClient.createSession (../core/connections/ConnectionToHeroClient.ts:196:30)
at async Object.<anonymous> (../core/test/user-profile.test.ts:280:18)
------BROWSER_CREATION_Q--------------------------
at Queue.run (../../../shared/commons/lib/Queue.ts:63:19)
at Pool.getBrowser (../../../unblocked/agent/main/lib/Pool.ts:137:44)
at Agent.open (../../../unblocked/agent/main/lib/Agent.ts:115:34)
at async Session.openBrowser (../core/lib/Session.ts:276:5)
at async Function.create (../core/lib/Session.ts:954:7)
at async ConnectionToHeroClient.createSession (../core/connections/ConnectionToHeroClient.ts:196:30)
at async Object.<anonymous> (../core/test/user-profile.test.ts:280:18)
|
UserProfile Dom storage tests › should keep profile information for sites that aren't loaded in a session:
home/runner/work/unblocked/agent/main/lib/Browser.ts#L395
ERROR: Running unblocked headless with chrome < 110 is not supported anymore.
This is because we rely on the new headless mode of recent chrome versions.
To fix this problem either use a newer chrome version or run unblocked in headed (showChrome) mode.
at Browser.applyDefaultLaunchArgs (../../../unblocked/agent/main/lib/Browser.ts:395:15)
at new Browser (../../../unblocked/agent/main/lib/Browser.ts:94:10)
at Object.cb (../../../unblocked/agent/main/lib/Pool.ts:147:23)
at Queue.next (../../../shared/commons/lib/Queue.ts:188:44)
at Queue.run (../../../shared/commons/lib/Queue.ts:72:10)
at Pool.getBrowser (../../../unblocked/agent/main/lib/Pool.ts:137:44)
at Agent.open (../../../unblocked/agent/main/lib/Agent.ts:115:34)
at async Session.openBrowser (../core/lib/Session.ts:276:5)
at async Function.create (../core/lib/Session.ts:954:7)
at async ConnectionToHeroClient.createSession (../core/connections/ConnectionToHeroClient.ts:196:30)
at async Object.<anonymous> (../core/test/user-profile.test.ts:296:18)
------BROWSER_CREATION_Q--------------------------
at Queue.run (../../../shared/commons/lib/Queue.ts:63:19)
at Pool.getBrowser (../../../unblocked/agent/main/lib/Pool.ts:137:44)
at Agent.open (../../../unblocked/agent/main/lib/Agent.ts:115:34)
at async Session.openBrowser (../core/lib/Session.ts:276:5)
at async Function.create (../core/lib/Session.ts:954:7)
at async ConnectionToHeroClient.createSession (../core/connections/ConnectionToHeroClient.ts:196:30)
at async Object.<anonymous> (../core/test/user-profile.test.ts:296:18)
|
UserProfile Dom storage tests › should not make requests to end sites during profile "install":
home/runner/work/unblocked/agent/main/lib/Browser.ts#L395
ERROR: Running unblocked headless with chrome < 110 is not supported anymore.
This is because we rely on the new headless mode of recent chrome versions.
To fix this problem either use a newer chrome version or run unblocked in headed (showChrome) mode.
at Browser.applyDefaultLaunchArgs (../../../unblocked/agent/main/lib/Browser.ts:395:15)
at new Browser (../../../unblocked/agent/main/lib/Browser.ts:94:10)
at Object.cb (../../../unblocked/agent/main/lib/Pool.ts:147:23)
at Queue.next (../../../shared/commons/lib/Queue.ts:188:44)
at Queue.run (../../../shared/commons/lib/Queue.ts:72:10)
at Pool.getBrowser (../../../unblocked/agent/main/lib/Pool.ts:137:44)
at Agent.open (../../../unblocked/agent/main/lib/Agent.ts:115:34)
at async Session.openBrowser (../core/lib/Session.ts:276:5)
at async Function.create (../core/lib/Session.ts:954:7)
at async ConnectionToHeroClient.createSession (../core/connections/ConnectionToHeroClient.ts:196:30)
at async Object.<anonymous> (../core/test/user-profile.test.ts:352:5)
------BROWSER_CREATION_Q--------------------------
at Queue.run (../../../shared/commons/lib/Queue.ts:63:19)
at Pool.getBrowser (../../../unblocked/agent/main/lib/Pool.ts:137:44)
at Agent.open (../../../unblocked/agent/main/lib/Agent.ts:115:34)
at async Session.openBrowser (../core/lib/Session.ts:276:5)
at async Function.create (../core/lib/Session.ts:954:7)
at async ConnectionToHeroClient.createSession (../core/connections/ConnectionToHeroClient.ts:196:30)
at async Object.<anonymous> (../core/test/user-profile.test.ts:352:5)
|
UserProfile Dom storage tests › should not override changed variables on a second page load in a domain:
home/runner/work/unblocked/agent/main/lib/Browser.ts#L395
ERROR: Running unblocked headless with chrome < 110 is not supported anymore.
This is because we rely on the new headless mode of recent chrome versions.
To fix this problem either use a newer chrome version or run unblocked in headed (showChrome) mode.
at Browser.applyDefaultLaunchArgs (../../../unblocked/agent/main/lib/Browser.ts:395:15)
at new Browser (../../../unblocked/agent/main/lib/Browser.ts:94:10)
at Object.cb (../../../unblocked/agent/main/lib/Pool.ts:147:23)
at Queue.next (../../../shared/commons/lib/Queue.ts:188:44)
at Queue.run (../../../shared/commons/lib/Queue.ts:72:10)
at Pool.getBrowser (../../../unblocked/agent/main/lib/Pool.ts:137:44)
at Agent.open (../../../unblocked/agent/main/lib/Agent.ts:115:34)
at async Session.openBrowser (../core/lib/Session.ts:276:5)
at async Function.create (../core/lib/Session.ts:954:7)
at async ConnectionToHeroClient.createSession (../core/connections/ConnectionToHeroClient.ts:196:30)
at async Object.<anonymous> (../core/test/user-profile.test.ts:373:18)
------BROWSER_CREATION_Q--------------------------
at Queue.run (../../../shared/commons/lib/Queue.ts:63:19)
at Pool.getBrowser (../../../unblocked/agent/main/lib/Pool.ts:137:44)
at Agent.open (../../../unblocked/agent/main/lib/Agent.ts:115:34)
at async Session.openBrowser (../core/lib/Session.ts:276:5)
at async Function.create (../core/lib/Session.ts:954:7)
at async ConnectionToHeroClient.createSession (../core/connections/ConnectionToHeroClient.ts:196:30)
at async Object.<anonymous> (../core/test/user-profile.test.ts:373:18)
|
UserProfile Dom storage tests › should store cross domain domStorage items:
home/runner/work/unblocked/agent/main/lib/Browser.ts#L395
ERROR: Running unblocked headless with chrome < 110 is not supported anymore.
This is because we rely on the new headless mode of recent chrome versions.
To fix this problem either use a newer chrome version or run unblocked in headed (showChrome) mode.
at Browser.applyDefaultLaunchArgs (../../../unblocked/agent/main/lib/Browser.ts:395:15)
at new Browser (../../../unblocked/agent/main/lib/Browser.ts:94:10)
at Object.cb (../../../unblocked/agent/main/lib/Pool.ts:147:23)
at Queue.next (../../../shared/commons/lib/Queue.ts:188:44)
at Queue.run (../../../shared/commons/lib/Queue.ts:72:10)
at Pool.getBrowser (../../../unblocked/agent/main/lib/Pool.ts:137:44)
at Agent.open (../../../unblocked/agent/main/lib/Agent.ts:115:34)
at async Session.openBrowser (../core/lib/Session.ts:276:5)
at async Function.create (../core/lib/Session.ts:954:7)
at async ConnectionToHeroClient.createSession (../core/connections/ConnectionToHeroClient.ts:196:30)
at async Object.<anonymous> (../core/test/user-profile.test.ts:437:20)
------BROWSER_CREATION_Q--------------------------
at Queue.run (../../../shared/commons/lib/Queue.ts:63:19)
at Pool.getBrowser (../../../unblocked/agent/main/lib/Pool.ts:137:44)
at Agent.open (../../../unblocked/agent/main/lib/Agent.ts:115:34)
at async Session.openBrowser (../core/lib/Session.ts:276:5)
at async Function.create (../core/lib/Session.ts:954:7)
at async ConnectionToHeroClient.createSession (../core/connections/ConnectionToHeroClient.ts:196:30)
at async Object.<anonymous> (../core/test/user-profile.test.ts:437:20)
|
UserProfile IndexedDb tests › should not fail on an empty db:
home/runner/work/unblocked/agent/main/lib/Browser.ts#L395
ERROR: Running unblocked headless with chrome < 110 is not supported anymore.
This is because we rely on the new headless mode of recent chrome versions.
To fix this problem either use a newer chrome version or run unblocked in headed (showChrome) mode.
at Browser.applyDefaultLaunchArgs (../../../unblocked/agent/main/lib/Browser.ts:395:15)
at new Browser (../../../unblocked/agent/main/lib/Browser.ts:94:10)
at Object.cb (../../../unblocked/agent/main/lib/Pool.ts:147:23)
at Queue.next (../../../shared/commons/lib/Queue.ts:188:44)
at Queue.run (../../../shared/commons/lib/Queue.ts:72:10)
at Pool.getBrowser (../../../unblocked/agent/main/lib/Pool.ts:137:44)
at Agent.open (../../../unblocked/agent/main/lib/Agent.ts:115:34)
at async Session.openBrowser (../core/lib/Session.ts:276:5)
at async Function.create (../core/lib/Session.ts:954:7)
at async ConnectionToHeroClient.createSession (../core/connections/ConnectionToHeroClient.ts:196:30)
at async Object.<anonymous> (../core/test/user-profile.test.ts:514:20)
------BROWSER_CREATION_Q--------------------------
at Queue.run (../../../shared/commons/lib/Queue.ts:63:19)
at Pool.getBrowser (../../../unblocked/agent/main/lib/Pool.ts:137:44)
at Agent.open (../../../unblocked/agent/main/lib/Agent.ts:115:34)
at async Session.openBrowser (../core/lib/Session.ts:276:5)
at async Function.create (../core/lib/Session.ts:954:7)
at async ConnectionToHeroClient.createSession (../core/connections/ConnectionToHeroClient.ts:196:30)
at async Object.<anonymous> (../core/test/user-profile.test.ts:514:20)
|
Test chrome-latest (node 20; macos-latest)
The hosted runner encountered an error while running your job. (Error Type: Disconnect).
|
Test chrome-97-0 (node 18.x; ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/hero/hero. Supported file pattern: go.sum
|
Test chrome-latest (node 18; macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/hero/hero. Supported file pattern: go.sum
|
Test chrome-latest (node 18; ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/hero/hero. Supported file pattern: go.sum
|
Test chrome-latest (node 20; ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/hero/hero. Supported file pattern: go.sum
|
Test chrome-latest (node 20; windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\hero\hero. Supported file pattern: go.sum
|
Test chrome-latest (node 18; windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\hero\hero. Supported file pattern: go.sum
|
Test chrome-latest (node 20; macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/hero/hero. Supported file pattern: go.sum
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-dbs-ubuntu-latest-18.x
Expired
|
919 KB |
|