Skip to content

Instantly share code, notes, and snippets.

@MiguelCastillo
Created October 24, 2016 02:12
Show Gist options
  • Save MiguelCastillo/a9af226104537399021dfc9c014d4faf to your computer and use it in GitHub Desktop.
Save MiguelCastillo/a9af226104537399021dfc9c014d4faf to your computer and use it in GitHub Desktop.
[21:56:56] Using gulpfile ~//gulpfile.js
[21:56:56] Starting 'selenium'...
[21:56:58] Finished 'selenium' after 1.37 s
[21:56:58] Starting 'google'...
=======================================================================================
Selenium 2.0 / webdriver protocol bindings implementation with helper commands in nodejs.
For a complete list of commands, visit http://webdriver.io/api.html.
=======================================================================================
[21:56:59]  COMMAND POST "/wd/hub/session"
[21:56:59]  DATA {"desiredCapabilities":{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"browserName":"chrome","loggingPrefs":{"browser":"ALL","driver":"ALL"},"requestOrigins":{"url":"http://webdriver.io","version":"4.2.16","name":"webdriverio"}}}
[21:57:00]  INFO SET SESSION ID 6b20d4d8-3f28-49e0-b349-aab7ceb2d8a8
[21:57:00]  RESULT {"applicationCacheEnabled":false,"rotatable":false,"mobileEmulationEnabled":false,"networkConnectionEnabled":false,"chrome":{"chromedriverVersion":"2.24.417412 (ac882d3ce7c0d99292439bf3405780058fcca0a6)","userDataDir":"/var/folders/76/79415zbs2cd3gl630nf_jy8h0000gp/T/.org.chromium.Chromium.ZtCTCf"},"takesHeapSnapshot":true,"pageLoadStrategy":"normal","databaseEnabled":false,"handlesAlerts":true,"hasTouchScreen":false,"version":"54.0.2840.71","platform":"MAC","browserConnectionEnabled":false,"nativeEvents":true,"acceptSslCerts":true,"webdriver.remote.sessionid":"6b20d4d8-3f28-49e0-b349-aab7ceb2d8a8","locationContextEnabled":true,"webStorageEnabled":true,"browserName":"chrome","takesScreenshot":true,"javascriptEnabled":true,"cssSelectorsEnabled":true}
[21:57:03]  COMMAND POST "/wd/hub/session/6b20d4d8-3f28-49e0-b349-aab7ceb2d8a8/url"
[21:57:03]  DATA {"url":"https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=bit-bundler"}
[21:57:03]  RESULT null
[21:57:03]  COMMAND POST "/wd/hub/session/6b20d4d8-3f28-49e0-b349-aab7ceb2d8a8/elements"
[21:57:03]  DATA {"using":"css selector","value":"[data-hveid=\"41\"]"}
[21:57:03]  RESULT []
[21:57:04]  COMMAND POST "/wd/hub/session/6b20d4d8-3f28-49e0-b349-aab7ceb2d8a8/elements"
[21:57:04]  DATA {"using":"css selector","value":"[data-hveid=\"41\"]"}
[21:57:04]  RESULT [{"ELEMENT":"0"}]
[21:57:04]  COMMAND POST "/wd/hub/session/6b20d4d8-3f28-49e0-b349-aab7ceb2d8a8/element"
[21:57:04]  DATA {"using":"css selector","value":"[data-hveid=\"41\"]"}
[21:57:04]  RESULT {"ELEMENT":"0"}
[21:57:04]  COMMAND POST "/wd/hub/session/6b20d4d8-3f28-49e0-b349-aab7ceb2d8a8/elements"
[21:57:04]  DATA {"using":"css selector","value":".r"}
[21:57:04]  RESULT [{"ELEMENT":"1"},{"ELEMENT":"2"},{"ELEMENT":"3"},{"ELEMENT":"4"},{"ELEMENT":"5"},{"ELEMENT":"6"},{"ELEMENT":"7"},{"ELEMENT":"8"},{"ELEMENT":"9"},{"ELEMENT":"10"},{"ELEMENT":"11"}]
[21:57:04]  COMMAND GET "/wd/hub/session/6b20d4d8-3f28-49e0-b349-aab7ceb2d8a8/element/1/text"
[21:57:04]  DATA {}
[21:57:04]  COMMAND GET "/wd/hub/session/6b20d4d8-3f28-49e0-b349-aab7ceb2d8a8/element/2/text"
[21:57:04]  DATA {}
[21:57:04]  COMMAND GET "/wd/hub/session/6b20d4d8-3f28-49e0-b349-aab7ceb2d8a8/element/3/text"
[21:57:04]  DATA {}
[21:57:04]  COMMAND GET "/wd/hub/session/6b20d4d8-3f28-49e0-b349-aab7ceb2d8a8/element/4/text"
[21:57:04]  DATA {}
[21:57:04]  COMMAND GET "/wd/hub/session/6b20d4d8-3f28-49e0-b349-aab7ceb2d8a8/element/5/text"
[21:57:04]  DATA {}
[21:57:04]  COMMAND GET "/wd/hub/session/6b20d4d8-3f28-49e0-b349-aab7ceb2d8a8/element/6/text"
[21:57:04]  DATA {}
[21:57:04]  COMMAND GET "/wd/hub/session/6b20d4d8-3f28-49e0-b349-aab7ceb2d8a8/element/7/text"
[21:57:04]  DATA {}
[21:57:04]  COMMAND GET "/wd/hub/session/6b20d4d8-3f28-49e0-b349-aab7ceb2d8a8/element/8/text"
[21:57:04]  DATA {}
[21:57:04]  COMMAND GET "/wd/hub/session/6b20d4d8-3f28-49e0-b349-aab7ceb2d8a8/element/9/text"
[21:57:04]  DATA {}
[21:57:04]  COMMAND GET "/wd/hub/session/6b20d4d8-3f28-49e0-b349-aab7ceb2d8a8/element/10/text"
[21:57:04]  DATA {}
[21:57:04]  COMMAND GET "/wd/hub/session/6b20d4d8-3f28-49e0-b349-aab7ceb2d8a8/element/11/text"
[21:57:04]  DATA {}
[21:57:04]  RESULT "GitHub - MiguelCastillo/bit-bundler: Generate application bundles with ..."
[21:57:04]  RESULT "MiguelCastillo/bit-bundler-splitter"
[21:57:04]  RESULT "Running Bundler on Ubuntu 12.04 64-bit - The Open Source ..."
[21:57:04]  RESULT "Bundler: Hello, Bundler 1.9!"
[21:57:04]  RESULT "bit-bundler-vendor"
[21:57:04]  RESULT "grunt-bit-bundler - npm"
[21:57:04]  RESULT "bit-bundler-utils - npm"
[21:57:04]  RESULT "bit-bundler-browserpack"
[21:57:04]  RESULT "bit-bundler-browserpack - npm"
[21:57:04]  RESULT "bit-bundler-browserpack : 3.0.2 - Bit bundler for JavaScript assets"
[21:57:04]  RESULT "bit-loader-js @1.2.1 - RunKit"
[21:57:04]  COMMAND DELETE "/wd/hub/session/6b20d4d8-3f28-49e0-b349-aab7ceb2d8a8"
[21:57:04]  DATA {}
[21:57:04]  RESULT null
------------------------------------------------------------------
[chrome #0a] Session ID: 6b20d4d8-3f28-49e0-b349-aab7ceb2d8a8
[chrome #0a] Spec: //test/specs/badSpec.js
[chrome #0a] Running: chrome
[chrome #0a]
[chrome #0a] Bad test when awaiting google Suite
[chrome #0a]
[chrome #0a] Getting all results container
[chrome #0a] 1) then the text is all good
[chrome #0a]
[chrome #0a]
[chrome #0a] 1 failing (6s)
[chrome #0a]
[chrome #0a] 1) Getting all results container then the text is all good:
[chrome #0a] expected [ Array(11) ] to equal 'bit-bundler-browserpack - npm'
[chrome #0a] AssertionError: expected [ Array(11) ] to equal 'bit-bundler-browserpack - npm'
[chrome #0a] at Context.<anonymous> (//test/specs/badSpec.js:23:26)
[chrome #0a] at Context.executeAsync (//node_modules/wdio-mocha-framework/node_modules/wdio-sync/build/index.js:714:21)
[chrome #0a] at Context.<anonymous> (//node_modules/wdio-mocha-framework/node_modules/wdio-sync/build/index.js:876:35)
[chrome #0a] at callFnAsync (//node_modules/wdio-mocha-framework/node_modules/mocha/lib/runnable.js:349:8)
[chrome #0a] at Test.Runnable.run (//node_modules/wdio-mocha-framework/node_modules/mocha/lib/runnable.js:301:7)
[chrome #0a] at Runner.runTest (//node_modules/wdio-mocha-framework/node_modules/mocha/lib/runner.js:422:10)
[chrome #0a] at //node_modules/wdio-mocha-framework/node_modules/mocha/lib/runner.js:528:12
[chrome #0a] at next (//node_modules/wdio-mocha-framework/node_modules/mocha/lib/runner.js:342:14)
[chrome #0a] at //node_modules/wdio-mocha-framework/node_modules/mocha/lib/runner.js:352:7
[chrome #0a] at next (//node_modules/wdio-mocha-framework/node_modules/mocha/lib/runner.js:284:14)
[chrome #0a]
Terminating selenium due to error: { [Error: wdio exited with code 1]
message: 'wdio exited with code 1',
showStack: false,
showProperties: true,
plugin: 'gulp-webdriver',
__safety: { toString: [Function: bound ] } }
[21:57:04] 'google' errored after 6.5 s
[21:57:04] Error in plugin 'gulp-webdriver'
Message:
wdio exited with code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment