Created
March 8, 2017 13:44
Star
You must be signed in to star a gist
Webdriver.IO log output
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
$itamar /v/w/u/client *924-browser-stack-tests λ env BROWSERSTACK_USERNAME="<uname>" BROWSERSTACK_ACCESS_KEY="<key>" npm run test-browserstack-local -- --spec="test/specs/login.js" -l verbose | |
> generated-elm@0.1.0 test-browserstack-local /var/www/unio/client | |
> wdio test/configs/wdio-browserstack-local.conf.js "--spec=test/specs/login.js" "-l" "verbose" | |
Connecting local | |
Connected. Now testing... | |
A service failed in the 'onPrepare' hook | |
Error: Selenium exited before it could start | |
at ChildProcess.errorIfNeverStarted (/var/www/unio/client/node_modules/selenium-standalone/lib/start.js:144:15) | |
at emitTwo (events.js:106:13) | |
at ChildProcess.emit (events.js:191:7) | |
at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12) | |
Continue... | |
======================================================================================= | |
Selenium 2.0 / webdriver protocol bindings implementation with helper commands in nodejs. | |
For a complete list of commands, visit http://webdriver.io/api.html. | |
======================================================================================= | |
[15:37:43] COMMAND POST "/wd/hub/session" | |
[15:37:43] DATA {"desiredCapabilities":{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"browserName":"iPad","platform":"MAC","device":"iPad Air 2","deviceOrientation":"landscape","project":"Unio by harness","browserstack.debug":"true","_":"4 more keys: [\"browserstack.local\",\"name\",\"maxInstances\",\"requestOrigins\"]"}} | |
[15:38:58] INFO SET SESSION ID ad351e70a08ab984ea91755e572109017809326f | |
[15:38:58] RESULT {"webStorageEnabled":false,"locationContextEnabled":true,"browserName":"safari","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":fals ... (2141 more bytes) | |
[15:38:58] COMMAND POST "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/elements" | |
[15:38:58] DATA {"using":"css selector","value":"*"} | |
[15:38:58] RESULT [{"ELEMENT":"5000"},{"ELEMENT":"5001"},{"ELEMENT":"5002"},{"ELEMENT":"5003"},{"ELEMENT":"5004"}] | |
[15:38:58] COMMAND GET "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element/5000/text" | |
[15:38:58] DATA {} | |
[15:38:58] COMMAND GET "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element/5001/text" | |
[15:38:58] DATA {} | |
[15:38:58] COMMAND GET "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element/5002/text" | |
[15:38:58] DATA {} | |
[15:38:58] COMMAND GET "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element/5003/text" | |
[15:38:58] DATA {} | |
[15:38:58] COMMAND GET "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element/5004/text" | |
[15:38:58] DATA {} | |
[15:38:59] RESULT "" | |
[15:38:59] RESULT "" | |
[15:38:59] RESULT "Let's browse!" | |
[15:38:59] RESULT "Let's browse!" | |
[15:38:59] RESULT "Let's browse!" | |
[15:38:59] COMMAND GET "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/url" | |
[15:38:59] DATA {} | |
[15:38:59] RESULT "http://127.0.0.1:5555/welcome" | |
[15:38:59] COMMAND POST "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/url" | |
[15:38:59] DATA {"url":"http://localhost:3000/#login"} | |
[15:39:09] RESULT "" | |
[15:39:09] COMMAND POST "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element" | |
[15:39:09] DATA {"using":"name","value":"username"} | |
[15:39:09] COMMAND GET "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/url" | |
[15:39:09] DATA {} | |
[15:39:09] RESULT {"ELEMENT":"5005"} | |
[15:39:09] COMMAND GET "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element/5005/displayed" | |
[15:39:09] DATA {} | |
[15:39:09] RESULT "http://localhost:3000/#login" | |
[15:39:09] COMMAND POST "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element/5005/element" | |
[15:39:09] DATA {"using":"name","value":"username"} | |
[15:39:09] RESULT true | |
[15:39:09] COMMAND POST "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element/5005/clear" | |
[15:39:09] DATA {} | |
[15:39:09] COMMAND DELETE "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f" # My Hunch is that this is the culprit | |
[15:39:09] DATA {} | |
[15:39:10] RESULT null | |
[15:39:10] COMMAND GET "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element/5005/attribute/value" | |
[15:39:10] DATA {} | |
[15:39:10] RESULT "" | |
[15:39:10] COMMAND POST "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element/5005/value" | |
[15:39:10] DATA {"value":["j"]} | |
[15:39:10] RESULT null | |
[15:39:10] COMMAND GET "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element/5005/attribute/value" | |
[15:39:10] DATA {} | |
[15:39:11] RESULT "j" | |
[15:39:11] COMMAND POST "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element/5005/value" | |
[15:39:11] DATA {"value":["o"]} | |
[15:39:11] RESULT null | |
[15:39:11] COMMAND GET "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element/5005/attribute/value" | |
[15:39:11] DATA {} | |
[15:39:11] RESULT "jo" | |
[15:39:11] COMMAND POST "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element/5005/value" | |
[15:39:11] DATA {"value":["h"]} | |
[15:39:12] RESULT null | |
[15:39:12] COMMAND GET "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element/5005/attribute/value" | |
[15:39:12] DATA {} | |
[15:39:12] RESULT "joh" | |
[15:39:12] COMMAND POST "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element/5005/value" | |
[15:39:12] DATA {"value":["n"]} | |
[15:39:12] RESULT null | |
[15:39:12] COMMAND POST "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element" | |
[15:39:12] DATA {"using":"name","value":"password"} | |
[15:39:12] RESULT {"ELEMENT":"5006"} | |
[15:39:12] COMMAND GET "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element/5006/displayed" | |
[15:39:12] DATA {} | |
[15:39:13] RESULT true | |
[15:39:13] COMMAND POST "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element/5006/clear" | |
[15:39:13] DATA {} | |
[15:39:13] RESULT null | |
[15:39:13] COMMAND GET "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element/5006/attribute/value" | |
[15:39:13] DATA {} | |
[15:39:13] RESULT "" | |
[15:39:13] COMMAND POST "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element/5006/value" | |
[15:39:13] DATA {"value":["j"]} | |
[15:39:14] RESULT null | |
[15:39:14] COMMAND GET "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element/5006/attribute/value" | |
[15:39:14] DATA {} | |
[15:39:14] RESULT "j" | |
[15:39:14] COMMAND POST "/wd/hub/session/ad351e70a08ab984ea91755e572109017809326f/element/5006/value" | |
[15:39:14] DATA {"value":["o"]} | |
/var/www/unio/client/node_modules/fibers/future.js:313 | |
throw(ex); | |
^ | |
Error: Build info: version: '2.51.0', revision: '1af067d', time: '2016-02-05 19:15:17' | |
at Object.Future.wait (/var/www/unio/client/node_modules/fibers/future.js:449:15) | |
at Object.elementIdValue (/var/www/unio/client/node_modules/wdio-sync/build/index.js:264:31) | |
at Object.browser.addCommand (/var/www/unio/client/test/configs/custom-commands.js:85:17) | |
at /var/www/unio/client/node_modules/wdio-sync/build/index.js:191:29 | |
- - - - - | |
System info: host: 'mac-93-158-219-86.browserstack.com', ip: '93.158.219.86', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_51' | |
Driver info: driver.version: unknown | |
npm ERR! Linux 4.4.0-64-generic | |
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "test-browserstack-local" "--" "--spec=test/specs/login.js" "-l" "verbose" | |
npm ERR! node v6.4.0 | |
npm ERR! npm v4.2.0 | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! generated-elm@0.1.0 test-browserstack-local: `wdio test/configs/wdio-browserstack-local.conf.js "--spec=test/specs/login.js" "-l" "verbose"` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the generated-elm@0.1.0 test-browserstack-local script 'wdio test/configs/wdio-browserstack-local.conf.js "--spec=test/specs/login.js" "-l" "verbose"'. | |
npm ERR! Make sure you have the latest version of node.js and npm installed. | |
npm ERR! If you do, this is most likely a problem with the generated-elm package, | |
npm ERR! not with npm itself. | |
npm ERR! Tell the author that this fails on your system: | |
npm ERR! wdio test/configs/wdio-browserstack-local.conf.js "--spec=test/specs/login.js" "-l" "verbose" | |
npm ERR! You can get information on how to open an issue for this project with: | |
npm ERR! npm bugs generated-elm | |
npm ERR! Or if that isn't available, you can get their info via: | |
npm ERR! npm owner ls generated-elm | |
npm ERR! There is likely additional logging output above. | |
npm ERR! Please include the following file with any support request: | |
npm ERR! /home/itamar/.npm/_logs/2017-03-08T13_39_25_850Z-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment