Created
June 16, 2020 12:28
-
-
Save vojtech-cerveny/c57391969a2b8682fcfe2c164d44728d to your computer and use it in GitHub Desktop.
gist log wdio multiremote + devTools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ yarn test:e2e | |
yarn run v1.21.1 | |
$ npx wdio wdio.conf.js | |
Execution of 1 spec files started at 2020-06-16T11:59:11.824Z | |
2020-06-16T11:59:12.031Z INFO @wdio/cli:launcher: Run onPrepare hook | |
2020-06-16T11:59:12.035Z INFO @wdio/cli:launcher: Run onWorkerStart hook | |
2020-06-16T11:59:12.036Z INFO @wdio/local-runner: Start worker 0-0 with arg: wdio.conf.js | |
[0-0] 2020-06-16T11:59:12.281Z INFO @wdio/local-runner: Run worker command: run | |
[0-0] 2020-06-16T11:59:12.288Z INFO webdriverio: Initiate new session using the devtools protocol | |
[0-0] 2020-06-16T11:59:12.288Z INFO devtools: Launch Google Chrome with flags: --disable-extensions --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-sync --metrics-recording-only --disable-default-apps --mute-audio --no-first-run --disable-hang-monitor --disable-prompt-on-repost --disable-client-side-phishing-detection --password-store=basic --use-mock-keychain --disable-component-extensions-with-background-pages --disable-breakpad --disable-dev-shm-usage --disable-ipc-flooding-protection --disable-renderer-backgrounding --enable-features=NetworkService,NetworkServiceInProcess --disable-features=site-per-process,TranslateUI,BlinkGenPropertyTrees --window-position=0,0 --window-size=1200,900 | |
[0-0] 2020-06-16T11:59:12.345Z INFO webdriverio: Initiate new session using the devtools protocol | |
[0-0] 2020-06-16T11:59:12.345Z INFO devtools: Launch Google Chrome with flags: --disable-extensions --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-sync --metrics-recording-only --disable-default-apps --mute-audio --no-first-run --disable-hang-monitor --disable-prompt-on-repost --disable-client-side-phishing-detection --password-store=basic --use-mock-keychain --disable-component-extensions-with-background-pages --disable-breakpad --disable-dev-shm-usage --disable-ipc-flooding-protection --disable-renderer-backgrounding --enable-features=NetworkService,NetworkServiceInProcess --disable-features=site-per-process,TranslateUI,BlinkGenPropertyTrees --window-position=0,0 --window-size=1200,900 | |
[0-0] 2020-06-16T11:59:12.904Z INFO devtools: Connect Puppeteer with browser on port 34773 | |
[0-0] 2020-06-16T11:59:12.909Z INFO devtools: Connect Puppeteer with browser on port 41163 | |
[0-0] RUNNING in MultiRemote - /test/e2e/coediting/specs/coediting.js | |
[0-0] 2020-06-16T11:59:13.281Z INFO webdriverio: Initiate new session using the devtools protocol | |
[0-0] 2020-06-16T11:59:13.281Z INFO devtools: Launch Google Chrome with flags: --disable-extensions --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-sync --metrics-recording-only --disable-default-apps --mute-audio --no-first-run --disable-hang-monitor --disable-prompt-on-repost --disable-client-side-phishing-detection --password-store=basic --use-mock-keychain --disable-component-extensions-with-background-pages --disable-breakpad --disable-dev-shm-usage --disable-ipc-flooding-protection --disable-renderer-backgrounding --enable-features=NetworkService,NetworkServiceInProcess --disable-features=site-per-process,TranslateUI,BlinkGenPropertyTrees --window-position=0,0 --window-size=1200,900 | |
[0-0] 2020-06-16T11:59:13.347Z INFO webdriverio: Initiate new session using the devtools protocol | |
[0-0] 2020-06-16T11:59:13.347Z INFO devtools: Launch Google Chrome with flags: --disable-extensions --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-sync --metrics-recording-only --disable-default-apps --mute-audio --no-first-run --disable-hang-monitor --disable-prompt-on-repost --disable-client-side-phishing-detection --password-store=basic --use-mock-keychain --disable-component-extensions-with-background-pages --disable-breakpad --disable-dev-shm-usage --disable-ipc-flooding-protection --disable-renderer-backgrounding --enable-features=NetworkService,NetworkServiceInProcess --disable-features=site-per-process,TranslateUI,BlinkGenPropertyTrees --window-position=0,0 --window-size=1200,900 | |
[0-0] 2020-06-16T11:59:13.925Z INFO devtools: Connect Puppeteer with browser on port 45391 | |
[0-0] 2020-06-16T11:59:13.927Z INFO devtools: Connect Puppeteer with browser on port 43295 | |
[0-0] 2020-06-16T11:59:13.988Z ERROR @wdio/devtools-service: Couldn't connect to chrome: TypeError: Cannot read property 'goog:chromeOptions' of undefined | |
at findCDPInterface (/home/vojtech-cerveny/Documents/dev/bee/bee-plugin-frontend/node_modules/@wdio/devtools-service/build/utils.js:33:52) | |
at DevToolsService.before (/home/vojtech-cerveny/Documents/dev/bee/bee-plugin-frontend/node_modules/@wdio/devtools-service/build/index.js:64:61) | |
at execHook (/home/vojtech-cerveny/Documents/dev/bee/bee-plugin-frontend/node_modules/@wdio/sync/build/executeHooksWithArgs.js:32:23) | |
at /home/vojtech-cerveny/Documents/dev/bee/bee-plugin-frontend/node_modules/@wdio/sync/build/executeHooksWithArgs.js:48:56 | |
at new Promise (<anonymous>) | |
at /home/vojtech-cerveny/Documents/dev/bee/bee-plugin-frontend/node_modules/@wdio/sync/build/executeHooksWithArgs.js:25:29 | |
at Array.map (<anonymous>) | |
at executeHooksWithArgs (/home/vojtech-cerveny/Documents/dev/bee/bee-plugin-frontend/node_modules/@wdio/sync/build/executeHooksWithArgs.js:25:17) | |
at Runner.run (/home/vojtech-cerveny/Documents/dev/bee/bee-plugin-frontend/node_modules/@wdio/runner/build/index.js:101:43) | |
at processTicksAndRejections (internal/process/task_queues.js:93:5) | |
[0-0] TypeError in "webdriver.io page should have the right title" | |
creator.cdp is not a function | |
[0-0] 2020-06-16T11:59:14.114Z INFO devtools: COMMAND deleteSession() | |
[0-0] 2020-06-16T11:59:14.114Z INFO devtools: COMMAND deleteSession() | |
[0-0] 2020-06-16T11:59:14.116Z INFO devtools: RESULT null | |
2020-06-16T11:59:14.116Z INFO devtools: RESULT null | |
[0-0] FAILED in MultiRemote - /test/e2e/coediting/specs/coediting.js | |
2020-06-16T11:59:14.252Z INFO @wdio/cli:launcher: Run onComplete hook | |
"spec" Reporter: | |
------------------------------------------------------------------ | |
[MultiremoteBrowser (unknown) #0-0] Spec: /home/vojtech-cerveny/Documents/dev/bee/bee-plugin-frontend/test/e2e/coediting/specs/coediting.js | |
[MultiremoteBrowser (unknown) #0-0] Running: MultiremoteBrowser on (unknown) | |
[MultiremoteBrowser (unknown) #0-0] | |
[MultiremoteBrowser (unknown) #0-0] webdriver.io page | |
[MultiremoteBrowser (unknown) #0-0] ✖ should have the right title | |
[MultiremoteBrowser (unknown) #0-0] | |
[MultiremoteBrowser (unknown) #0-0] 1 failing (127ms) | |
[MultiremoteBrowser (unknown) #0-0] | |
[MultiremoteBrowser (unknown) #0-0] 1) webdriver.io page should have the right title | |
[MultiremoteBrowser (unknown) #0-0] creator.cdp is not a function | |
[MultiremoteBrowser (unknown) #0-0] TypeError: creator.cdp is not a function | |
[MultiremoteBrowser (unknown) #0-0] at Context.<anonymous> (/home/vojtech-cerveny/Documents/dev/bee/bee-plugin-frontend/test/e2e/coediting/specs/coediting.js:7:13) | |
[MultiremoteBrowser (unknown) #0-0] | |
[MultiremoteBrowser (unknown) #0-0] | |
[MultiremoteBrowser (unknown) #0-0] | |
"json" Reporter: | |
{"start":"2020-06-16T11:59:13.991Z","end":"2020-06-16T11:59:14.118Z","capabilities":{"spectator":{"browserName":"Chrome","browserVersion":"83.0.4103.106","platformName":"linux","platformVersion":"5.3.0-59-generic","undefined":{"debuggerAddress":"localhost:43295"},"sessionId":"9b0350ac-a784-4d71-ba07-8afebc6abe45"},"creator":{"browserName":"Chrome","browserVersion":"83.0.4103.106","platformName":"linux","platformVersion":"5.3.0-59-generic","undefined":{"debuggerAddress":"localhost:45391"},"sessionId":"801e5f99-ed73-4867-9dc2-d00bff405922"}},"baseUrl":"http://localhost:3000","framework":"mocha","mochaOpts":{"timeout":60000,"ui":"bdd"},"suites":[{"name":"webdriver.io page","duration":4,"start":"2020-06-16T11:59:14.101Z","end":"2020-06-16T11:59:14.105Z","tests":[{"name":"should have the right title","start":"2020-06-16T11:59:14.102Z","end":"2020-06-16T11:59:14.104Z","duration":2,"state":"failed","errorType":"TypeError","error":"creator.cdp is not a function","standardError":"TypeError: creator.cdp is not a function\n at Context.<anonymous> (/home/vojtech-cerveny/Documents/dev/bee/bee-plugin-frontend/test/e2e/coediting/specs/coediting.js:7:13)"}],"hooks":[]}],"specs":["/home/vojtech-cerveny/Documents/dev/bee/bee-plugin-frontend/test/e2e/coediting/specs/coediting.js"],"state":{"passed":0,"failed":1,"skipped":0}} | |
Spec Files: 0 passed, 1 failed, 1 total (100% completed) in 00:00:02 | |
2020-06-16T11:59:14.254Z INFO @wdio/local-runner: Shutting down spawned worker | |
2020-06-16T11:59:14.506Z INFO @wdio/local-runner: Waiting for 0 to shut down gracefully | |
2020-06-16T11:59:14.507Z INFO @wdio/local-runner: shutting down | |
error Command failed with exit code 1. | |
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment