-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
WebdriverIO Version
9.0.7
Node.js Version
22.7.0
Mode
WDIO Testrunner
Which capabilities are you using?
{
browserName: 'firefox'
}What happened?
In browser-runner v8.40.5, everything works fine, but in v9 (tested with v9.0.0 and 9.0.7) the tests hang in Firefox. A complete, minimal test case is available at: https://github.com/Mr0grog/test-wdio-9-firefox-hang
When running the tests, the browser opens and loads the mocha harness/UI, but never loads or runs the actual tests (it shows a loading spinner the whole time). On the command line, the test polls for a result until it times out and fails.
Looking at the logs (and devtools in the browser), it looks like the problem is probably something with a websocket handshake:
WARN geckodriver: JavaScript error: chrome://remote/content/server/WebSocketHandshake.sys.mjs, line 166: Error: The handshake request has incorrect Origin header http://localhost:61600
Looking at the network panel in the browser dev tools, it appears to be trying to load the websocket from 127.0.0.1 (functionally the same, but 🤷) and from a different port than the one listed in the message above.
What is your expected behavior?
The test should run and wdio should finish without an error.
How to reproduce the bug.
The following repository has a complete example: https://github.com/Mr0grog/test-wdio-9-firefox-hang
Just npm install and then npm test.
Mainly, the relevant code is the wdio.conf.js:
// wdio.conf.js
exports.config = {
runner: 'browser',
specs: [
'./example.test.js'
],
capabilities: [{
browserName: 'firefox'
}],
logLevel: 'debug', // trace | debug | info | warn | error | silent
framework: 'mocha',
mochaOpts: {
ui: 'bdd',
timeout: 10000
},
};And a simple test for it to run in example.test.js:
// example.test.js
import { expect } from '@wdio/globals'
describe('WebdriverIO Test', () => {
it('should work', async () => {
expect(true).toEqual(true);
});
});You can test that this works fine in v8 by changing the dependencies in package.json to:
"devDependencies": {
"@wdio/browser-runner": "^8.40.5",
"@wdio/cli": "^8.40.5",
"@wdio/mocha-framework": "^8.40.3"
}Then reinstall and re-run. Everything should succeed.
Relevant log output
Complete log output:
% npm test
> test-wdio-firefox-hang@1.0.0 test
> npm run wdio
> test-wdio-firefox-hang@1.0.0 wdio
> wdio run ./wdio.conf.js
Execution of 1 workers started at 2024-09-01T21:11:45.017Z
2024-09-01T21:11:45.271Z INFO @wdio/browser-runner: Initiate browser environment
2024-09-01T21:11:45.272Z INFO @wdio/cli:launcher: Run onPrepare hook
2024-09-01T21:11:45.272Z INFO @wdio/utils: Setting up browser driver for: firefox@stable
2024-09-01T21:11:45.272Z INFO @wdio/utils: Setting up browser binaries for: firefox@stable
2024-09-01T21:11:45.407Z INFO @wdio/cli:launcher: Run onWorkerStart hook
2024-09-01T21:11:45.427Z INFO @wdio/browser-runner:vite: Re-optimizing dependencies because lockfile has changed
2024-09-01T21:11:45.435Z WARN @wdio/browser-runner:vite: Failed to resolve dependency: lodash.merge, present in 'optimizeDeps.include'
2024-09-01T21:11:45.437Z WARN @wdio/browser-runner:vite: Failed to resolve dependency: p-iteration, present in 'optimizeDeps.include'
2024-09-01T21:11:45.447Z INFO @wdio/browser-runner:ViteServer: Vite server started successfully on port 61600, root directory: /Users/rbrackett/Dev/test/webdriverio2
2024-09-01T21:11:45.447Z INFO @wdio/local-runner: Start worker 0-0 with arg: run,./wdio.conf.js
2024-09-01T21:11:45.448Z DEBUG @wdio/local-runner: Send command run to worker with cid "0-0"
[0-0] 2024-09-01T21:11:45.954Z INFO @wdio/local-runner: Run worker command: run
[0-0] 2024-09-01T21:11:45.958Z DEBUG @wdio/runner: init remote session
[0-0] RUNNING in firefox - file:///example.test.js
[0-0] 2024-09-01T21:11:45.959Z DEBUG @wdio/runner: init remote session
[0-0] 2024-09-01T21:11:45.960Z INFO webdriver: Initiate new session using the WebDriver protocol
[0-0] 2024-09-01T21:11:46.065Z INFO geckodriver: Starting Geckodriver at /var/folders/jk/1hv06w454vj4q4rk2gl0zg800000gn/T/geckodriver with params: --port=61602 --allow-hosts=localhost --host=0.0.0.0 --websocket-port=0
[0-0] 2024-09-01T21:11:46.071Z INFO geckodriver: 1725225106068 geckodriver INFO Listening on 0.0.0.0:61602
[0-0] 2024-09-01T21:11:46.077Z INFO @wdio/utils: Started GeckoDriver in 117ms on port 61602
[0-0] 2024-09-01T21:11:46.078Z INFO webdriver: [POST] http://localhost:61602/session
[0-0] 2024-09-01T21:11:46.078Z INFO webdriver: DATA {
[0-0] capabilities: {
[0-0] alwaysMatch: {
[0-0] browserName: 'firefox',
[0-0] 'moz:firefoxOptions': [Object],
[0-0] webSocketUrl: true
[0-0] },
[0-0] firstMatch: [ {} ]
[0-0] },
[0-0] desiredCapabilities: {
[0-0] browserName: 'firefox',
[0-0] 'moz:firefoxOptions': { binary: '/Applications/Firefox.app/Contents/MacOS/Firefox' },
[0-0] webSocketUrl: true
[0-0] }
[0-0] }
[0-0] 2024-09-01T21:11:46.090Z INFO geckodriver: 1725225106090 mozrunner::runner INFO Running command: MOZ_CRASHREPORTER="1" MOZ_CRASHREPORTER_NO_REPORT="1" MOZ_CRASHREPORTER_SHUTDOWN="1" MOZ_NO_REMOTE="1" "/App ... s" "localhost" "-foreground" "-no-remote" "-profile" "/var/folders/jk/1hv06w454vj4q4rk2gl0zg800000gn/T/rust_mozprofilenmsuqI"
[0-0] 2024-09-01T21:11:46.234Z INFO geckodriver: console.warn: services.settings: Ignoring preference override of remote settings server
[0-0] 2024-09-01T21:11:46.234Z INFO geckodriver: console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
[0-0] 2024-09-01T21:11:46.323Z INFO geckodriver: 1725225106322 Marionette INFO Marionette enabled
[0-0] 2024-09-01T21:11:46.529Z INFO geckodriver: console.error: "Warning: unrecognized command line flag" "-remote-allow-hosts"
[0-0] 2024-09-01T21:11:46.542Z INFO geckodriver: 1725225106542 Marionette INFO Listening on port 61605
[0-0] 2024-09-01T21:11:46.549Z WARN geckodriver: WebDriver BiDi listening on ws://127.0.0.1:61606
[0-0] 2024-09-01T21:11:46.613Z INFO geckodriver: Read port: 61605
[0-0] 2024-09-01T21:11:47.029Z WARN geckodriver: UNSUPPORTED (log once): POSSIBLE ISSUE: unit 1 GLD_TEXTURE_INDEX_2D is unloadable and bound to sampler type (Float) - using zero texture because texture unloadable
[0-0] 2024-09-01T21:11:47.379Z INFO webdriver: Register BiDi handler for session with id b9a656d2-896a-4779-9c7c-5af14f84c0e8
[0-0] 2024-09-01T21:11:47.379Z INFO webdriver: Connect to webSocketUrl ws://127.0.0.1:61606/session/b9a656d2-896a-4779-9c7c-5af14f84c0e8
[0-0] 2024-09-01T21:11:47.383Z INFO geckodriver: 1725225107383 RemoteAgent INFO Perform WebSocket upgrade for incoming connection from 127.0.0.1:61616
[0-0] 2024-09-01T21:11:47.385Z INFO webdriver: Connected session to Bidi protocol
[0-0] 2024-09-01T21:11:47.385Z INFO webdriver: Connected session to Bidi protocol
[0-0] 2024-09-01T21:11:47.385Z INFO webdriver: Connected to WebDriver Bidi interface at ws://127.0.0.1:61606/session/b9a656d2-896a-4779-9c7c-5af14f84c0e8
[0-0] 2024-09-01T21:11:47.385Z INFO webdriver: BIDI COMMAND script.addPreloadScript { functionDeclaration: <PreloadScript[868 bytes]>, contexts: undefined }
[0-0] 2024-09-01T21:11:47.386Z INFO webdriver: BIDI COMMAND session.subscribe {"events":["browsingContext.navigationStarted","network.responseCompleted","network.beforeRequestSent","network.fetchError"]}
[0-0] 2024-09-01T21:11:47.386Z INFO webdriver: BIDI COMMAND session.subscribe {"events":["browsingContext.userPromptOpened"]}
[0-0] 2024-09-01T21:11:47.386Z INFO webdriver: BIDI COMMAND session.subscribe {"events":["browsingContext.navigationStarted"]}
[0-0] 2024-09-01T21:11:47.386Z INFO webdriver: BIDI COMMAND session.subscribe {"events":["log.entryAdded"]}
[0-0] 2024-09-01T21:11:47.401Z DEBUG webdriver: BIDI RESULT {"type":"success","id":4,"result":{}}
[0-0] 2024-09-01T21:11:47.402Z DEBUG webdriver: BIDI RESULT {"type":"success","id":1,"result":{"script":"61a7f7f6-57da-4093-9f6d-5feda8171639"}}
[0-0] 2024-09-01T21:11:47.402Z DEBUG webdriver: BIDI RESULT {"type":"success","id":2,"result":{}}
[0-0] 2024-09-01T21:11:47.402Z DEBUG webdriver: BIDI RESULT {"type":"success","id":3,"result":{}}
[0-0] 2024-09-01T21:11:47.403Z DEBUG webdriver: BIDI RESULT {"type":"success","id":5,"result":{}}
[0-0] 2024-09-01T21:11:47.403Z INFO @wdio/runner: Run spec file file:///Users/rbrackett/Dev/test/webdriverio2/example.test.js for cid 0-0
[0-0] 2024-09-01T21:11:47.403Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-09-01T21:11:47.403Z INFO webdriver: [GET] http://localhost:61602/session/b9a656d2-896a-4779-9c7c-5af14f84c0e8/window
[0-0] 2024-09-01T21:11:47.406Z INFO webdriver: RESULT 897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa
[0-0] 2024-09-01T21:11:47.406Z INFO webdriver: BIDI COMMAND browsingContext.navigate {"context":"897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa","url":"http://localhost:61600/?cid=0-0&spec=/Users/rbrackett/Dev/test/webdriverio2/example.test.js","wait":"complete"}
[0-0] 2024-09-01T21:11:47.411Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-09-01T21:11:47.411Z INFO webdriver: [GET] http://localhost:61602/session/b9a656d2-896a-4779-9c7c-5af14f84c0e8/window
2024-09-01T21:11:47.416Z INFO @wdio/browser-runner:plugin: Received request for: /?cid=0-0&spec=/Users/rbrackett/Dev/test/webdriverio2/example.test.js
2024-09-01T21:11:47.418Z DEBUG @wdio/browser-runner:plugin: Render template for /?cid=0-0&spec=/Users/rbrackett/Dev/test/webdriverio2/example.test.js
[0-0] 2024-09-01T21:11:47.417Z INFO webdriver: RESULT 897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa
[0-0] 2024-09-01T21:11:47.417Z INFO webdriverio:ContextManager: Update current context: 897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa
2024-09-01T21:11:47.819Z DEBUG @wdio/local-runner: Send command workerRequest to worker with cid "0-0"
[0-0] 2024-09-01T21:11:47.827Z INFO webdriverio:ShadowRootManager: Registered new shadow root for element <mocha-framework /> with id eeaf2e5c-4b01-4a82-965f-07f311a5abbb
[0-0] 2024-09-01T21:11:47.838Z INFO geckodriver: 1725225107838 RemoteAgent INFO Perform WebSocket upgrade for incoming connection from 127.0.0.1:61626
[0-0] 2024-09-01T21:11:47.838Z WARN geckodriver: JavaScript error: chrome://remote/content/server/WebSocketHandshake.sys.mjs, line 166: Error: The handshake request has incorrect Origin header http://localhost:61600
[0-0] 2024-09-01T21:11:47.843Z DEBUG webdriver: BIDI RESULT {"type":"success","id":6,"result":{"navigation":"1edcd6cb-43b0-4f67-879f-f464f37e85c7","url":"http://localhost:61600/?cid=0-0&spec=/Users/rbrackett/Dev/test/webdriverio2/example.test.js"}}
[0-0] 2024-09-01T21:11:47.843Z INFO webdriver: COMMAND addCookie(<object>)
[0-0] 2024-09-01T21:11:47.843Z INFO webdriver: [POST] http://localhost:61602/session/b9a656d2-896a-4779-9c7c-5af14f84c0e8/cookie
[0-0] 2024-09-01T21:11:47.843Z INFO webdriver: DATA {
[0-0] cookie: {
[0-0] name: 'WDIO_SPEC',
[0-0] value: '/Users/rbrackett/Dev/test/webdriverio2/example.test.js'
[0-0] }
[0-0] }
[0-0] 2024-09-01T21:11:47.852Z INFO webdriver: RESULT null
[0-0] 2024-09-01T21:11:47.852Z INFO webdriver: COMMAND addCookie(<object>)
[0-0] 2024-09-01T21:11:47.852Z INFO webdriver: [POST] http://localhost:61602/session/b9a656d2-896a-4779-9c7c-5af14f84c0e8/cookie
[0-0] 2024-09-01T21:11:47.852Z INFO webdriver: DATA { cookie: { name: 'WDIO_CID', value: '0-0' } }
[0-0] 2024-09-01T21:11:47.856Z INFO webdriver: RESULT null
[0-0] 2024-09-01T21:11:48.359Z INFO webdriver: BIDI COMMAND script.callFunction {"functionDeclaration":"<Function[849 bytes]>","awaitPromise":false,"arguments":[],"target":{"context":"897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa"}}
[0-0] 2024-09-01T21:11:48.408Z DEBUG webdriver: BIDI RESULT {"type":"success","id":7,"result":{"realm":"86c39598-e1a8-49d0-9f78-0749e142901b","type":"success","result":{"type":"object","value":[["errors",{"type":"array","value":[]}],["hasViteError",{"type":"boolean","value":false}]]}}}
[0-0] 2024-09-01T21:11:48.858Z INFO webdriver: BIDI COMMAND script.callFunction {"functionDeclaration":"<Function[849 bytes]>","awaitPromise":false,"arguments":[],"target":{"context":"897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa"}}
[0-0] 2024-09-01T21:11:48.863Z DEBUG webdriver: BIDI RESULT {"type":"success","id":8,"result":{"realm":"86c39598-e1a8-49d0-9f78-0749e142901b","type":"success","result":{"type":"object","value":[["errors",{"type":"array","value":[]}],["hasViteError",{"type":"boolean","value":false}]]}}}
[0-0] 2024-09-01T21:11:49.361Z INFO webdriver: BIDI COMMAND script.callFunction {"functionDeclaration":"<Function[849 bytes]>","awaitPromise":false,"arguments":[],"target":{"context":"897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa"}}
[0-0] 2024-09-01T21:11:49.365Z DEBUG webdriver: BIDI RESULT {"type":"success","id":9,"result":{"realm":"86c39598-e1a8-49d0-9f78-0749e142901b","type":"success","result":{"type":"object","value":[["errors",{"type":"array","value":[]}],["hasViteError",{"type":"boolean","value":false}]]}}}
[0-0] 2024-09-01T21:11:49.862Z INFO webdriver: BIDI COMMAND script.callFunction {"functionDeclaration":"<Function[849 bytes]>","awaitPromise":false,"arguments":[],"target":{"context":"897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa"}}
[0-0] 2024-09-01T21:11:49.866Z DEBUG webdriver: BIDI RESULT {"type":"success","id":10,"result":{"realm":"86c39598-e1a8-49d0-9f78-0749e142901b","type":"success","result":{"type":"object","value":[["errors",{"type":"array","value":[]}],["hasViteError",{"type":"boolean","value":false}]]}}}
[0-0] 2024-09-01T21:11:50.363Z INFO webdriver: BIDI COMMAND script.callFunction {"functionDeclaration":"<Function[849 bytes]>","awaitPromise":false,"arguments":[],"target":{"context":"897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa"}}
[0-0] 2024-09-01T21:11:50.368Z DEBUG webdriver: BIDI RESULT {"type":"success","id":11,"result":{"realm":"86c39598-e1a8-49d0-9f78-0749e142901b","type":"success","result":{"type":"object","value":[["errors",{"type":"array","value":[]}],["hasViteError",{"type":"boolean","value":false}]]}}}
[0-0] 2024-09-01T21:11:50.864Z INFO webdriver: BIDI COMMAND script.callFunction {"functionDeclaration":"<Function[849 bytes]>","awaitPromise":false,"arguments":[],"target":{"context":"897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa"}}
[0-0] 2024-09-01T21:11:50.869Z DEBUG webdriver: BIDI RESULT {"type":"success","id":12,"result":{"realm":"86c39598-e1a8-49d0-9f78-0749e142901b","type":"success","result":{"type":"object","value":[["errors",{"type":"array","value":[]}],["hasViteError",{"type":"boolean","value":false}]]}}}
[0-0] 2024-09-01T21:11:51.365Z INFO webdriver: BIDI COMMAND script.callFunction {"functionDeclaration":"<Function[849 bytes]>","awaitPromise":false,"arguments":[],"target":{"context":"897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa"}}
[0-0] 2024-09-01T21:11:51.368Z DEBUG webdriver: BIDI RESULT {"type":"success","id":13,"result":{"realm":"86c39598-e1a8-49d0-9f78-0749e142901b","type":"success","result":{"type":"object","value":[["errors",{"type":"array","value":[]}],["hasViteError",{"type":"boolean","value":false}]]}}}
[0-0] 2024-09-01T21:11:51.866Z INFO webdriver: BIDI COMMAND script.callFunction {"functionDeclaration":"<Function[849 bytes]>","awaitPromise":false,"arguments":[],"target":{"context":"897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa"}}
[0-0] 2024-09-01T21:11:51.872Z DEBUG webdriver: BIDI RESULT {"type":"success","id":14,"result":{"realm":"86c39598-e1a8-49d0-9f78-0749e142901b","type":"success","result":{"type":"object","value":[["errors",{"type":"array","value":[]}],["hasViteError",{"type":"boolean","value":false}]]}}}
[0-0] 2024-09-01T21:11:52.370Z INFO webdriver: BIDI COMMAND script.callFunction {"functionDeclaration":"<Function[849 bytes]>","awaitPromise":false,"arguments":[],"target":{"context":"897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa"}}
[0-0] 2024-09-01T21:11:52.374Z DEBUG webdriver: BIDI RESULT {"type":"success","id":15,"result":{"realm":"86c39598-e1a8-49d0-9f78-0749e142901b","type":"success","result":{"type":"object","value":[["errors",{"type":"array","value":[]}],["hasViteError",{"type":"boolean","value":false}]]}}}
[0-0] 2024-09-01T21:11:52.873Z INFO webdriver: BIDI COMMAND script.callFunction {"functionDeclaration":"<Function[849 bytes]>","awaitPromise":false,"arguments":[],"target":{"context":"897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa"}}
[0-0] 2024-09-01T21:11:52.881Z DEBUG webdriver: BIDI RESULT {"type":"success","id":16,"result":{"realm":"86c39598-e1a8-49d0-9f78-0749e142901b","type":"success","result":{"type":"object","value":[["errors",{"type":"array","value":[]}],["hasViteError",{"type":"boolean","value":false}]]}}}
[0-0] 2024-09-01T21:11:53.373Z INFO webdriver: BIDI COMMAND script.callFunction {"functionDeclaration":"<Function[849 bytes]>","awaitPromise":false,"arguments":[],"target":{"context":"897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa"}}
[0-0] 2024-09-01T21:11:53.376Z DEBUG webdriver: BIDI RESULT {"type":"success","id":17,"result":{"realm":"86c39598-e1a8-49d0-9f78-0749e142901b","type":"success","result":{"type":"object","value":[["errors",{"type":"array","value":[]}],["hasViteError",{"type":"boolean","value":false}]]}}}
[0-0] 2024-09-01T21:11:53.875Z INFO webdriver: BIDI COMMAND script.callFunction {"functionDeclaration":"<Function[849 bytes]>","awaitPromise":false,"arguments":[],"target":{"context":"897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa"}}
[0-0] 2024-09-01T21:11:53.880Z DEBUG webdriver: BIDI RESULT {"type":"success","id":18,"result":{"realm":"86c39598-e1a8-49d0-9f78-0749e142901b","type":"success","result":{"type":"object","value":[["errors",{"type":"array","value":[]}],["hasViteError",{"type":"boolean","value":false}]]}}}
[0-0] 2024-09-01T21:11:54.375Z INFO webdriver: BIDI COMMAND script.callFunction {"functionDeclaration":"<Function[849 bytes]>","awaitPromise":false,"arguments":[],"target":{"context":"897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa"}}
[0-0] 2024-09-01T21:11:54.379Z DEBUG webdriver: BIDI RESULT {"type":"success","id":19,"result":{"realm":"86c39598-e1a8-49d0-9f78-0749e142901b","type":"success","result":{"type":"object","value":[["errors",{"type":"array","value":[]}],["hasViteError",{"type":"boolean","value":false}]]}}}
[0-0] 2024-09-01T21:11:54.875Z INFO webdriver: BIDI COMMAND script.callFunction {"functionDeclaration":"<Function[849 bytes]>","awaitPromise":false,"arguments":[],"target":{"context":"897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa"}}
[0-0] 2024-09-01T21:11:54.876Z DEBUG webdriver: BIDI RESULT {"type":"success","id":20,"result":{"realm":"86c39598-e1a8-49d0-9f78-0749e142901b","type":"success","result":{"type":"object","value":[["errors",{"type":"array","value":[]}],["hasViteError",{"type":"boolean","value":false}]]}}}
[0-0] 2024-09-01T21:11:55.375Z INFO webdriver: BIDI COMMAND script.callFunction {"functionDeclaration":"<Function[849 bytes]>","awaitPromise":false,"arguments":[],"target":{"context":"897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa"}}
[0-0] 2024-09-01T21:11:55.385Z DEBUG webdriver: BIDI RESULT {"type":"success","id":21,"result":{"realm":"86c39598-e1a8-49d0-9f78-0749e142901b","type":"success","result":{"type":"object","value":[["errors",{"type":"array","value":[]}],["hasViteError",{"type":"boolean","value":false}]]}}}
[0-0] 2024-09-01T21:11:55.877Z INFO webdriver: BIDI COMMAND script.callFunction {"functionDeclaration":"<Function[849 bytes]>","awaitPromise":false,"arguments":[],"target":{"context":"897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa"}}
[0-0] 2024-09-01T21:11:55.882Z DEBUG webdriver: BIDI RESULT {"type":"success","id":22,"result":{"realm":"86c39598-e1a8-49d0-9f78-0749e142901b","type":"success","result":{"type":"object","value":[["errors",{"type":"array","value":[]}],["hasViteError",{"type":"boolean","value":false}]]}}}
[0-0] 2024-09-01T21:11:56.379Z INFO webdriver: BIDI COMMAND script.callFunction {"functionDeclaration":"<Function[849 bytes]>","awaitPromise":false,"arguments":[],"target":{"context":"897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa"}}
[0-0] 2024-09-01T21:11:56.385Z DEBUG webdriver: BIDI RESULT {"type":"success","id":23,"result":{"realm":"86c39598-e1a8-49d0-9f78-0749e142901b","type":"success","result":{"type":"object","value":[["errors",{"type":"array","value":[]}],["hasViteError",{"type":"boolean","value":false}]]}}}
[0-0] 2024-09-01T21:11:56.881Z INFO webdriver: BIDI COMMAND script.callFunction {"functionDeclaration":"<Function[849 bytes]>","awaitPromise":false,"arguments":[],"target":{"context":"897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa"}}
[0-0] 2024-09-01T21:11:56.885Z DEBUG webdriver: BIDI RESULT {"type":"success","id":24,"result":{"realm":"86c39598-e1a8-49d0-9f78-0749e142901b","type":"success","result":{"type":"object","value":[["errors",{"type":"array","value":[]}],["hasViteError",{"type":"boolean","value":false}]]}}}
[0-0] 2024-09-01T21:11:57.381Z INFO webdriver: BIDI COMMAND script.callFunction {"functionDeclaration":"<Function[849 bytes]>","awaitPromise":false,"arguments":[],"target":{"context":"897d0cc4-382a-4b89-ace0-e2a4f0a8ebfa"}}
[0-0] 2024-09-01T21:11:57.397Z DEBUG webdriver: BIDI RESULT {"type":"success","id":25,"result":{"realm":"86c39598-e1a8-49d0-9f78-0749e142901b","type":"success","result":{"type":"object","value":[["errors",{"type":"array","value":[]}],["hasViteError",{"type":"boolean","value":false}]]}}}
[0-0] Error: Test failed due to following error(s):
- example.test.js: Timed out after 10s waiting for test results
[0-0] 2024-09-01T21:11:57.857Z INFO webdriver: COMMAND deleteSession()
[0-0] 2024-09-01T21:11:57.857Z INFO webdriver: [DELETE] http://localhost:61602/session/b9a656d2-896a-4779-9c7c-5af14f84c0e8
[0-0] 2024-09-01T21:11:57.861Z INFO geckodriver: 1725225117861 Marionette INFO Stopped listening on port 61605
[0-0] 2024-09-01T21:11:58.307Z INFO webdriver: RESULT null
[0-0] 2024-09-01T21:11:58.307Z INFO webdriver: Kill driver process with PID 7743
2024-09-01T21:11:58.416Z DEBUG @wdio/local-runner: Runner 0-0 finished with exit code 1
[0-0] FAILED in firefox - file:///example.test.js
2024-09-01T21:11:58.416Z INFO @wdio/cli:launcher: Run onWorkerEnd hook
2024-09-01T21:11:58.416Z INFO @wdio/cli:launcher: Run onComplete hook
Spec Files: 0 passed, 1 failed, 1 total (100% completed) in 00:00:13
2024-09-01T21:11:58.416Z INFO @wdio/local-runner: Shutting down spawned worker
2024-09-01T21:11:58.668Z INFO @wdio/local-runner: Waiting for 0 to shut down gracefully
2024-09-01T21:11:58.669Z INFO @wdio/local-runner: shutting downCode of Conduct
- I agree to follow this project's Code of Conduct
Is there an existing issue for this?
- I have searched the existing issues