Skip to content

Instantly share code, notes, and snippets.

@jmatsushita
Last active December 4, 2016 12:17
Show Gist options
  • Save jmatsushita/6c69c8d42c540190c7cf8f15631f315f to your computer and use it in GitHub Desktop.
Save jmatsushita/6c69c8d42c540190c7cf8f15631f315f to your computer and use it in GitHub Desktop.
npm test  11:47:10
> [email protected] test .../tests
> chimp --offline --debug --host=seleniumhub.myhost.org --port=4444 --noSessionReuse
[chimp] loaded .../tests/chimp.js
[chimp] Chimp options are { watch: false,
watchTags: '@watch,@focus',
domainSteps: null,
e2eSteps: null,
fullDomain: false,
domainOnly: false,
e2eTags: '@e2e',
watchWithPolling: false,
server: false,
serverPort: 8060,
serverHost: 'localhost',
sync: true,
offline: false,
showXolvioMessages: false,
path: './features',
format: 'pretty',
tags: '~@ignore',
singleSnippetPerFile: true,
recommendedFilenameSeparator: '_',
chai: true,
screenshotsOnError: false,
screenshotsPath: '.screenshots',
captureAllStepScreenshots: false,
saveScreenshotsToDisk: true,
saveScreenshotsToReport: false,
jsonOutput: 'reports/cucumber_report.json',
compiler: 'js:.../tests/node_modules/chimp/dist/lib/babel-register.js',
conditionOutput: true,
browser: 'chrome',
platform: 'ANY',
name: '',
user: '',
key: '',
port: null,
host: null,
webdriverio:
{ desiredCapabilities: { browserName: 'chrome' },
logLevel: 'verbose',
host: 'seleniumhub.myhost.org',
port: 4444,
path: '/wd/hub',
baseUrl: 'https://my.test.address.org',
coloredLogs: true,
screenshotPath: null,
waitforTimeout: 500,
waitforInterval: 250 },
seleniumStandaloneOptions:
{ version: '2.53.1',
baseURL: 'https://selenium-release.storage.googleapis.com',
drivers: { chrome: [Object], ie: [Object] } },
noSessionReuse: false,
simianResultEndPoint: 'api.simian.io/v1.0/result',
simianAccessToken: false,
simianResultBranch: null,
simianRepositoryId: null,
mocha: false,
mochaTags: '',
mochaGrep: null,
mochaTimeout: 60000,
mochaReporter: 'spec',
mochaSlow: 10000,
jasmine: false,
jasmineConfig:
{ specDir: '.',
specFiles: [ '**/*@(_spec|-spec|Spec).@(js|jsx)' ],
helpers: [ 'support/**/*.@(js|jsx)' ],
stopSpecOnExpectationFailure: false,
random: false },
jasmineReporterConfig: {},
ddp: false,
serverExecuteTimeout: 10000,
phantom_w: 1280,
phantom_h: 1024,
phantom_ignoreSSLErrors: false,
log: 'info',
debug: true,
seleniumDebug: true,
debugCucumber: null,
debugBrkCucumber: null,
debugMocha: null,
debugBrkMocha: null }
[chimp] Running...
[chimp] interrupting
[chimp] no processes to interrupt
[chimp][cucumber] Cucumber exec options are: [ 'node',
'.../tests/node_modules/chimp/node_modules/.bin/cucumber.js',
'./features',
'-r',
'.../tests/node_modules/chimp/dist/lib/chimp-helper.js',
'-r',
'.../tests/node_modules/chimp/dist/lib/cucumberjs/world.js',
'-r',
'.../tests/node_modules/chimp/dist/lib/cucumberjs/hooks.js',
'-r',
'./features',
'--format',
'pretty',
'--tags',
'~@ignore',
'--compiler',
'js:.../tests/node_modules/chimp/dist/lib/babel-register.js' ]
[chimp][cucumber] Running with [ 'node',
'.../tests/node_modules/chimp/node_modules/.bin/cucumber.js',
'./features',
'-r',
'.../tests/node_modules/chimp/dist/lib/chimp-helper.js',
'-r',
'.../tests/node_modules/chimp/dist/lib/cucumberjs/world.js',
'-r',
'.../tests/node_modules/chimp/dist/lib/cucumberjs/hooks.js',
'-r',
'./features',
'--format',
'pretty',
'--tags',
'~@ignore',
'--compiler',
'js:.../tests/node_modules/chimp/dist/lib/babel-register.js' ]
[chimp][helper] Using the chai-expect assertion library
[chimp][hooks] Starting BeforeFeatures
[chimp][helper] getting browser
[chimp][session-manager-factory] options are { host: 'seleniumhub.myhost.org',
port: 4444,
user: undefined,
key: undefined,
browser: 'chrome',
deviceName: undefined }
[chimp][session-manager] options are { host: 'seleniumhub.myhost.org',
port: 4444,
user: undefined,
key: undefined,
browser: 'chrome',
deviceName: undefined }
[chimp][session-manager] created a new SessionManager { host: 'seleniumhub.myhost.org',
port: 4444,
user: undefined,
key: undefined,
browser: 'chrome',
deviceName: undefined }
[chimp][helper] webdriverioOptions are {"desiredCapabilities":{"browserName":"chrome","platform":"ANY","name":""},"logLevel":"verbose","host":"seleniumhub.myhost.org","port":4444,"path":"/wd/hub","baseUrl":"https://my.test.address.org","coloredLogs":true,"screenshotPath":null,"waitforTimeout":500,"waitforInterval":250,"sync":true}
[chimp][session-manager] creating webdriver remote
=======================================================================================
Selenium 2.0 / webdriver protocol bindings implementation with helper commands in nodejs.
For a complete list of commands, visit http://webdriver.io/api.html.
=======================================================================================
[chimp][session-manager] checking connection to selenium server
[11:59:02] COMMAND GET "/wd/hub/status"
[11:59:02] DATA {}
[chimp][session-manager] Connection to the to selenium server verified
[chimp][session-manager] noSessionReuse is true, not reusing a session
[chimp][hooks] init browser
[chimp][hooks] init browser callback
[11:59:02] COMMAND POST "/wd/hub/session"
[11:59:02] DATA {"desiredCapabilities":{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"browserName":"chrome","platform":"ANY","name":"","loggingPrefs":{"browser":"ALL","driver":"ALL"},"requestOrigins":{"url":"http://webdriver.io","version":"4.4.0","name":"webdriverio"}}}
[11:59:03] INFO SET SESSION ID 1039b184-36f5-43f0-8e80-660c113c31b3
[11:59:03] RESULT {"applicationCacheEnabled":false,"rotatable":false,"mobileEmulationEnabled":false,"networkConnectionEnabled":false,"chrome":{"chromedriverVersion":"2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e)","userDataDir":"/tmp/.org.chromium.Chromium.WkExHj"},"takesHeapSnapshot":true,"pageLoadStrategy":"normal","databaseEnabled":false,"handlesAlerts":true,"hasTouchScreen":true,"version":"54.0.2840.71","platform":"LINUX","browserConnectionEnabled":false,"nativeEvents":true,"acceptSslCerts":true,"webdriver.remote.sessionid":"1039b184-36f5-43f0-8e80-660c113c31b3","locationContextEnabled":true,"webStorageEnabled":true,"browserName":"chrome","takesScreenshot":true,"javascriptEnabled":true,"cssSelectorsEnabled":true}
[chimp][helper] init browser
[chimp][helper] init browser callback
[chimp][hooks] Finished BeforeFeatures
[chimp][hooks] User-defined BeforeFeatures not found, finishing up
Feature: Loading the homepage
@focus
Scenario: Home page loads
[11:59:03] COMMAND POST "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/url"
[11:59:03] DATA {"url":"https://my.test.address.org"}
[11:59:06] RESULT null
✔ Given I visit the home page
[11:59:06] COMMAND POST "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/element"
[11:59:06] DATA {"using":"css selector","value":".ant-layout-footer h4"}
[11:59:06] RESULT {"ELEMENT":"0"}
[11:59:06] COMMAND GET "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/element/0/text"
[11:59:06] DATA {}
[11:59:06] RESULT "Developed with ❤ by iilab - information innovation lab Applied research and development of public interest technology"
✔ Then I should see 'iilab' in the footer
Feature: Loading the projects page
Scenario: Page loads
[11:59:06] COMMAND POST "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/url"
[11:59:06] DATA {"url":"https://my.test.address.org/projects"}
[11:59:09] RESULT null
✔ Given I visit the projects page
[11:59:09] COMMAND POST "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/element"
[11:59:09] DATA {"using":"css selector","value":".ant-layout-footer h4"}
[11:59:09] RESULT {"ELEMENT":"1"}
[11:59:09] COMMAND GET "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/element/1/text"
[11:59:09] DATA {}
[11:59:10] RESULT "Developed with ❤ by iilab - information innovation lab Applied research and development of public interest technology"
✔ Then I should see 'iilab' in the footer
@focus
Scenario: Projects list loads
[11:59:10] COMMAND POST "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/url"
[11:59:10] DATA {"url":"https://my.test.address.org/projects"}
[11:59:11] RESULT null
✔ Given I visit the projects page
[11:59:11] COMMAND POST "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/elements"
[11:59:11] DATA {"using":"css selector","value":"tbody tr"}
[11:59:11] RESULT [{"ELEMENT":"2"},{"ELEMENT":"3"},{"ELEMENT":"4"},{"ELEMENT":"5"},{"ELEMENT":"6"}]
[11:59:11] COMMAND POST "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/elements"
[11:59:11] DATA {"using":"css selector","value":"tbody tr"}
[11:59:12] RESULT [{"ELEMENT":"2"},{"ELEMENT":"3"},{"ELEMENT":"4"},{"ELEMENT":"5"},{"ELEMENT":"6"}]
✔ Then I should see results in the projects list
[11:59:12] COMMAND POST "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/elements"
[11:59:12] DATA {"using":"css selector","value":"tbody tr"}
[11:59:12] RESULT [{"ELEMENT":"2"},{"ELEMENT":"3"},{"ELEMENT":"4"},{"ELEMENT":"5"},{"ELEMENT":"6"}]
✔ Then I should see more than 2 results in the projects list
@focus
Scenario: Signal Project loads
[11:59:12] COMMAND POST "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/url"
[11:59:12] DATA {"url":"https://my.test.address.org/projects"}
[11:59:13] RESULT null
✔ Given I visit the projects page
[11:59:13] COMMAND POST "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/elements"
[11:59:13] DATA {"using":"css selector","value":"tbody tr"}
[11:59:13] RESULT [{"ELEMENT":"7"},{"ELEMENT":"8"},{"ELEMENT":"9"},{"ELEMENT":"10"},{"ELEMENT":"11"}]
[11:59:13] COMMAND POST "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/elements"
[11:59:13] DATA {"using":"css selector","value":"tbody tr"}
[11:59:14] RESULT [{"ELEMENT":"7"},{"ELEMENT":"8"},{"ELEMENT":"9"},{"ELEMENT":"10"},{"ELEMENT":"11"}]
✔ Then I should see results in the projects list
[11:59:14] COMMAND POST "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/elements"
[11:59:14] DATA {"using":"css selector","value":"tbody tr"}
[11:59:14] RESULT [{"ELEMENT":"7"},{"ELEMENT":"8"},{"ELEMENT":"9"},{"ELEMENT":"10"},{"ELEMENT":"11"}]
[11:59:14] COMMAND POST "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/elements"
[11:59:14] DATA {"using":"css selector","value":"tbody tr"}
[11:59:14] RESULT [{"ELEMENT":"7"},{"ELEMENT":"8"},{"ELEMENT":"9"},{"ELEMENT":"10"},{"ELEMENT":"11"}]
[11:59:14] COMMAND POST "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/elements"
[11:59:14] DATA {"using":"css selector","value":"tbody tr"}
[11:59:14] RESULT [{"ELEMENT":"7"},{"ELEMENT":"8"},{"ELEMENT":"9"},{"ELEMENT":"10"},{"ELEMENT":"11"}]
[11:59:14] COMMAND POST "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/element/7/elements"
[11:59:14] DATA {"using":"css selector","value":"td"}
[11:59:14] RESULT [{"ELEMENT":"12"},{"ELEMENT":"13"},{"ELEMENT":"14"},{"ELEMENT":"15"},{"ELEMENT":"16"},{"ELEMENT":"17"},{"ELEMENT":"18"}]
[11:59:14] COMMAND GET "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/element/14/text"
[11:59:14] DATA {}
[11:59:14] RESULT "Conversations"
[11:59:14] COMMAND POST "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/element/8/elements"
[11:59:14] DATA {"using":"css selector","value":"td"}
[11:59:14] RESULT [{"ELEMENT":"19"},{"ELEMENT":"20"},{"ELEMENT":"21"},{"ELEMENT":"22"},{"ELEMENT":"23"},{"ELEMENT":"24"},{"ELEMENT":"25"}]
[11:59:14] COMMAND GET "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/element/21/text"
[11:59:14] DATA {}
[11:59:15] RESULT "Signal"
[11:59:15] COMMAND POST "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/element/9/elements"
[11:59:15] DATA {"using":"css selector","value":"td"}
[11:59:15] RESULT [{"ELEMENT":"26"},{"ELEMENT":"27"},{"ELEMENT":"28"},{"ELEMENT":"29"},{"ELEMENT":"30"},{"ELEMENT":"31"},{"ELEMENT":"32"}]
[11:59:15] COMMAND GET "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/element/28/text"
[11:59:15] DATA {}
[11:59:15] RESULT "Skype"
[11:59:15] COMMAND POST "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/element/10/elements"
[11:59:15] DATA {"using":"css selector","value":"td"}
[11:59:15] RESULT [{"ELEMENT":"33"},{"ELEMENT":"34"},{"ELEMENT":"35"},{"ELEMENT":"36"},{"ELEMENT":"37"},{"ELEMENT":"38"},{"ELEMENT":"39"}]
[11:59:15] COMMAND GET "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/element/35/text"
[11:59:15] DATA {}
[11:59:15] RESULT "Telegram"
[11:59:15] COMMAND POST "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/element/11/elements"
[11:59:15] DATA {"using":"css selector","value":"td"}
[11:59:15] RESULT [{"ELEMENT":"40"},{"ELEMENT":"41"},{"ELEMENT":"42"},{"ELEMENT":"43"},{"ELEMENT":"44"},{"ELEMENT":"45"},{"ELEMENT":"46"}]
[11:59:15] COMMAND GET "/wd/hub/session/1039b184-36f5-43f0-8e80-660c113c31b3/element/42/text"
[11:59:15] DATA {}
[11:59:15] RESULT "WhatsApp"
✔ Then I should see 'Signal' in the projects list
4 scenarios (4 passed)
10 steps (10 passed)
0m12.206s
[chimp][hooks] Starting AfterFeatures
[chimp][hooks] Ending browser session
[chimp][session-manager] requesting sessions from http://seleniumhub.myhost.org:4444/wd/hub/sessions
[chimp][cucumber] Received message from cucumber child. Result: [
{
"elements": [
{
"id": "loading-the-homepage;home-page-loads",
"keyword": "Scenario",
"line": 4,
"name": "Home page loads",
"steps": [
{
"arguments": [],
"keyword": "Before ",
"result": {
"status": "passed",
"duration": 323702
},
"hidden": true,
"match": {
"location": ".../tests/features/steps/hooks.js:3"
}
},
{
"arguments": [],
"keyword": "Given ",
"name": "I visit the home page",
"result": {
"status": "passed",
"duration": 2806294490
},
"line": 6,
"match": {
"location": ".../tests/features/home-steps.js:6"
}
},
{
"arguments": [],
"keyword": "Then ",
"name": "I should see 'iilab' in the footer",
"result": {
"status": "passed",
"duration": 327521314
},
"line": 7,
"match": {
"location": ".../tests/features/home-steps.js:11"
}
},
{
"arguments": [],
"keyword": "After ",
"result": {
"status": "passed",
"duration": 106752
},
"hidden": true,
"match": {
"location": ".../tests/node_modules/chimp/dist/lib/cucumberjs/hooks.js:76"
}
}
],
"tags": [
{
"name": "@focus",
"line": 3
}
],
"type": "scenario"
}
],
"id": "loading-the-homepage",
"keyword": "Feature",
"line": 1,
"name": "Loading the homepage",
"tags": [],
"uri": ".../tests/features/home.feature"
},
{
"elements": [
{
"id": "loading-the-projects-page;page-loads",
"keyword": "Scenario",
"line": 3,
"name": "Page loads",
"steps": [
{
"arguments": [],
"keyword": "Before ",
"result": {
"status": "passed",
"duration": 53957
},
"hidden": true,
"match": {
"location": ".../tests/features/steps/hooks.js:3"
}
},
{
"arguments": [],
"keyword": "Given ",
"name": "I visit the projects page",
"result": {
"status": "passed",
"duration": 2440407029
},
"line": 5,
"match": {
"location": ".../tests/features/projects-steps.js:6"
}
},
{
"arguments": [],
"keyword": "Then ",
"name": "I should see 'iilab' in the footer",
"result": {
"status": "passed",
"duration": 705193881
},
"line": 6,
"match": {
"location": ".../tests/features/home-steps.js:11"
}
},
{
"arguments": [],
"keyword": "After ",
"result": {
"status": "passed",
"duration": 58294
},
"hidden": true,
"match": {
"location": ".../tests/node_modules/chimp/dist/lib/cucumberjs/hooks.js:76"
}
}
],
"tags": [],
"type": "scenario"
},
{
"id": "loading-the-projects-page;projects-list-loads",
"keyword": "Scenario",
"line": 9,
"name": "Projects list loads",
"steps": [
{
"arguments": [],
"keyword": "Before ",
"result": {
"status": "passed",
"duration": 60664
},
"hidden": true,
"match": {
"location": ".../tests/features/steps/hooks.js:3"
}
},
{
"arguments": [],
"keyword": "Given ",
"name": "I visit the projects page",
"result": {
"status": "passed",
"duration": 1126552569
},
"line": 11,
"match": {
"location": ".../tests/features/projects-steps.js:6"
}
},
{
"arguments": [],
"keyword": "Then ",
"name": "I should see results in the projects list",
"result": {
"status": "passed",
"duration": 992924759
},
"line": 12,
"match": {
"location": ".../tests/features/projects-steps.js:14"
}
},
{
"arguments": [],
"keyword": "Then ",
"name": "I should see more than 2 results in the projects list",
"result": {
"status": "passed",
"duration": 129941648
},
"line": 13,
"match": {
"location": ".../tests/features/projects-steps.js:18"
}
},
{
"arguments": [],
"keyword": "After ",
"result": {
"status": "passed",
"duration": 96544
},
"hidden": true,
"match": {
"location": ".../tests/node_modules/chimp/dist/lib/cucumberjs/hooks.js:76"
}
}
],
"tags": [
{
"name": "@focus",
"line": 8
}
],
"type": "scenario"
},
{
"id": "loading-the-projects-page;signal-project-loads",
"keyword": "Scenario",
"line": 16,
"name": "Signal Project loads",
"steps": [
{
"arguments": [],
"keyword": "Before ",
"result": {
"status": "passed",
"duration": 56853
},
"hidden": true,
"match": {
"location": ".../tests/features/steps/hooks.js:3"
}
},
{
"arguments": [],
"keyword": "Given ",
"name": "I visit the projects page",
"result": {
"status": "passed",
"duration": 919053731
},
"line": 18,
"match": {
"location": ".../tests/features/projects-steps.js:6"
}
},
{
"arguments": [],
"keyword": "Then ",
"name": "I should see results in the projects list",
"result": {
"status": "passed",
"duration": 919273583
},
"line": 19,
"match": {
"location": ".../tests/features/projects-steps.js:14"
}
},
{
"arguments": [],
"keyword": "Then ",
"name": "I should see 'Signal' in the projects list",
"result": {
"status": "passed",
"duration": 1837488351
},
"line": 20,
"match": {
"location": ".../tests/features/projects-steps.js:22"
}
},
{
"arguments": [],
"keyword": "After ",
"result": {
"status": "passed",
"duration": 280584
},
"hidden": true,
"match": {
"location": ".../tests/node_modules/chimp/dist/lib/cucumberjs/hooks.js:76"
}
}
],
"tags": [
{
"name": "@focus",
"line": 15
}
],
"type": "scenario"
}
],
"id": "loading-the-projects-page",
"keyword": "Feature",
"line": 1,
"name": "Loading the projects page",
"tags": [],
"uri": ".../tests/features/projects.feature"
}
]
[chimp][session-manager] received error null response IncomingMessage {
_readableState:
ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: BufferList { head: null, tail: null, length: 0 },
length: 0,
pipes: null,
pipesCount: 0,
flowing: true,
ended: true,
endEmitted: true,
reading: false,
sync: false,
needReadable: false,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
defaultEncoding: 'utf8',
ranOut: false,
awaitDrain: 0,
readingMore: false,
decoder: null,
encoding: null },
readable: false,
domain: null,
_events:
{ end: [ [Function: responseOnEnd], [Function], [Function], [Function] ],
close: [ [Function], [Function] ],
data: [Function],
error: [Function] },
_eventsCount: 4,
_maxListeners: undefined,
socket:
Socket {
connecting: false,
_hadError: false,
_handle: null,
_parent: null,
_host: 'seleniumhub.myhost.org',
_readableState:
ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: [Object],
length: 0,
pipes: null,
pipesCount: 0,
flowing: true,
ended: false,
endEmitted: false,
reading: true,
sync: false,
needReadable: true,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
defaultEncoding: 'utf8',
ranOut: false,
awaitDrain: 0,
readingMore: true,
decoder: null,
encoding: null },
readable: false,
domain: null,
_events:
{ end: [Object],
finish: [Function: onSocketFinish],
_socketEnd: [Function: onSocketEnd],
free: [Function: onFree],
close: [Object],
agentRemove: [Function: onRemove],
drain: [Function: ondrain],
error: [Object] },
_eventsCount: 8,
_maxListeners: 0,
_writableState:
WritableState {
objectMode: false,
highWaterMark: 16384,
needDrain: false,
ending: true,
ended: true,
finished: true,
decodeStrings: false,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: false,
bufferProcessing: false,
onwrite: [Function],
writecb: null,
writelen: 0,
bufferedRequest: null,
lastBufferedRequest: null,
pendingcb: 0,
prefinished: true,
errorEmitted: false,
bufferedRequestCount: 0,
corkedRequestsFree: [Object] },
writable: false,
allowHalfOpen: false,
destroyed: true,
_bytesDispatched: 100,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage:
ClientRequest {
domain: null,
_events: [Object],
_eventsCount: 5,
_maxListeners: undefined,
output: [],
outputEncodings: [],
outputCallbacks: [],
outputSize: 0,
writable: true,
_last: true,
upgrading: false,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedHeader: {},
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [Circular],
connection: [Circular],
_header: 'GET /wd/hub/sessions HTTP/1.1\r\nhost: seleniumhub.myhost.org:4444\r\nConnection: close\r\n\r\n',
_headers: [Object],
_headerNames: [Object],
_onPendingData: null,
agent: [Object],
socketPath: undefined,
timeout: undefined,
method: 'GET',
path: '/wd/hub/sessions',
_ended: true,
parser: null,
res: [Circular] },
read: [Function],
_consuming: true,
_idleNext: null,
_idlePrev: null,
_idleTimeout: -1 },
connection:
Socket {
connecting: false,
_hadError: false,
_handle: null,
_parent: null,
_host: 'seleniumhub.myhost.org',
_readableState:
ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: [Object],
length: 0,
pipes: null,
pipesCount: 0,
flowing: true,
ended: false,
endEmitted: false,
reading: true,
sync: false,
needReadable: true,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
defaultEncoding: 'utf8',
ranOut: false,
awaitDrain: 0,
readingMore: true,
decoder: null,
encoding: null },
readable: false,
domain: null,
_events:
{ end: [Object],
finish: [Function: onSocketFinish],
_socketEnd: [Function: onSocketEnd],
free: [Function: onFree],
close: [Object],
agentRemove: [Function: onRemove],
drain: [Function: ondrain],
error: [Object] },
_eventsCount: 8,
_maxListeners: 0,
_writableState:
WritableState {
objectMode: false,
highWaterMark: 16384,
needDrain: false,
ending: true,
ended: true,
finished: true,
decodeStrings: false,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: false,
bufferProcessing: false,
onwrite: [Function],
writecb: null,
writelen: 0,
bufferedRequest: null,
lastBufferedRequest: null,
pendingcb: 0,
prefinished: true,
errorEmitted: false,
bufferedRequestCount: 0,
corkedRequestsFree: [Object] },
writable: false,
allowHalfOpen: false,
destroyed: true,
_bytesDispatched: 100,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage:
ClientRequest {
domain: null,
_events: [Object],
_eventsCount: 5,
_maxListeners: undefined,
output: [],
outputEncodings: [],
outputCallbacks: [],
outputSize: 0,
writable: true,
_last: true,
upgrading: false,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedHeader: {},
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [Circular],
connection: [Circular],
_header: 'GET /wd/hub/sessions HTTP/1.1\r\nhost: seleniumhub.myhost.org:4444\r\nConnection: close\r\n\r\n',
_headers: [Object],
_headerNames: [Object],
_onPendingData: null,
agent: [Object],
socketPath: undefined,
timeout: undefined,
method: 'GET',
path: '/wd/hub/sessions',
_ended: true,
parser: null,
res: [Circular] },
read: [Function],
_consuming: true,
_idleNext: null,
_idlePrev: null,
_idleTimeout: -1 },
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
headers:
{ 'content-type': 'application/json; charset=UTF-8',
'content-length': '3546',
connection: 'close',
server: 'Jetty(9.2.15.v20160210)' },
rawHeaders:
[ 'Content-Type',
'application/json; charset=UTF-8',
'Content-Length',
'3546',
'Connection',
'close',
'Server',
'Jetty(9.2.15.v20160210)' ],
trailers: {},
rawTrailers: [],
upgrade: false,
url: '',
method: null,
statusCode: 500,
statusMessage: 'Server Error',
client:
Socket {
connecting: false,
_hadError: false,
_handle: null,
_parent: null,
_host: 'seleniumhub.myhost.org',
_readableState:
ReadableState {
objectMode: false,
highWaterMar.../tests/node_modules/chimp/node_modules/cucumber/lib/cucumber/runtime/event_broadcaster.js:30
throw error;
^
TypeError: node_modules/chimp/dist/lib/cucumberjs/hooks.js:88 Cannot read property 'length' of undefined
at .../tests/node_modules/chimp/dist/lib/session-manager.js:250:17
at Request.<anonymous> (.../tests/node_modules/chimp/dist/lib/session-manager.js:216:7)
at Request.f (.../tests/node_modules/fg-lodash/node_modules/lodash/dist/lodash.js:5605:23)
at Request.<anonymous> (.../tests/node_modules/requestretry/index.js:57:17)
at Request.self.callback (.../tests/node_modules/request/request.js:198:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request.<anonymous> (.../tests/node_modules/request/request.js:1035:10)
at emitOne (events.js:101:20)
at Request.emit (events.js:188:7)
at IncomingMessage.<anonymous> (.../tests/node_modules/request/request.js:962:12)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
[chimp][cucumber] Closed with code 7
[chimp][cucumber] Cucumber not in a stopping state
[chimp][cucumber] Ensuring directory exists reports
[chimp][cucumber] Writing json results to reports/cucumber_report.json
[chimp][cucumber] Finished writing results
[chimp] Finished running async processes with errors
[chimp] run complete with errors Cucumber steps failed
Cucumber steps failed
Error in chimp init Cucumber steps failed
npm ERR! Test failed. See above for more details.
npm test  13:02:24
> [email protected] test /Users/jun/dev/OII/current/openintegrity/code/microservices/tests
> chimp --offline --host=seleniumhub.myhost.org --port=4444 --noSessionReuse
[chimp] Running...
[chimp][session-manager] received error null response IncomingMessage {
_readableState:
ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: BufferList { head: null, tail: null, length: 0 },
length: 0,
pipes: null,
pipesCount: 0,
flowing: true,
ended: true,
endEmitted: true,
reading: false,
sync: true,
needReadable: false,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
defaultEncoding: 'utf8',
ranOut: false,
awaitDrain: 0,
readingMore: false,
decoder: null,
encoding: null },
readable: false,
domain: null,
_events:
{ end: [ [Function: responseOnEnd], [Function], [Function], [Function] ],
close: [ [Function], [Function] ],
data: [Function],
error: [Function] },
_eventsCount: 4,
_maxListeners: undefined,
socket:
Socket {
connecting: false,
_hadError: false,
_handle: null,
_parent: null,
_host: 'seleniumhub.myhost.org',
_readableState:
ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: [Object],
length: 0,
pipes: null,
pipesCount: 0,
flowing: true,
ended: false,
endEmitted: false,
reading: true,
sync: false,
needReadable: true,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
defaultEncoding: 'utf8',
ranOut: false,
awaitDrain: 0,
readingMore: false,
decoder: null,
encoding: null },
readable: false,
domain: null,
_events:
{ end: [Object],
finish: [Function: onSocketFinish],
_socketEnd: [Function: onSocketEnd],
free: [Function: onFree],
close: [Object],
agentRemove: [Function: onRemove],
drain: [Function: ondrain],
error: [Object] },
_eventsCount: 8,
_maxListeners: 0,
_writableState:
WritableState {
objectMode: false,
highWaterMark: 16384,
needDrain: false,
ending: true,
ended: true,
finished: true,
decodeStrings: false,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: false,
bufferProcessing: false,
onwrite: [Function],
writecb: null,
writelen: 0,
bufferedRequest: null,
lastBufferedRequest: null,
pendingcb: 0,
prefinished: true,
errorEmitted: false,
bufferedRequestCount: 0,
corkedRequestsFree: [Object] },
writable: false,
allowHalfOpen: false,
destroyed: true,
_bytesDispatched: 100,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage:
ClientRequest {
domain: null,
_events: [Object],
_eventsCount: 5,
_maxListeners: undefined,
output: [],
outputEncodings: [],
outputCallbacks: [],
outputSize: 0,
writable: true,
_last: true,
upgrading: false,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedHeader: {},
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [Circular],
connection: [Circular],
_header: 'GET /wd/hub/sessions HTTP/1.1\r\nhost: seleniumhub.myhost.org:4444\r\nConnection: close\r\n\r\n',
_headers: [Object],
_headerNames: [Object],
_onPendingData: null,
agent: [Object],
socketPath: undefined,
timeout: undefined,
method: 'GET',
path: '/wd/hub/sessions',
_ended: true,
parser: null,
res: [Circular] },
read: [Function],
_consuming: true,
_idleNext: null,
_idlePrev: null,
_idleTimeout: -1 },
connection:
Socket {
connecting: false,
_hadError: false,
_handle: null,
_parent: null,
_host: 'seleniumhub.myhost.org',
_readableState:
ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: [Object],
length: 0,
pipes: null,
pipesCount: 0,
flowing: true,
ended: false,
endEmitted: false,
reading: true,
sync: false,
needReadable: true,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
defaultEncoding: 'utf8',
ranOut: false,
awaitDrain: 0,
readingMore: false,
decoder: null,
encoding: null },
readable: false,
domain: null,
_events:
{ end: [Object],
finish: [Function: onSocketFinish],
_socketEnd: [Function: onSocketEnd],
free: [Function: onFree],
close: [Object],
agentRemove: [Function: onRemove],
drain: [Function: ondrain],
error: [Object] },
_eventsCount: 8,
_maxListeners: 0,
_writableState:
WritableState {
objectMode: false,
highWaterMark: 16384,
needDrain: false,
ending: true,
ended: true,
finished: true,
decodeStrings: false,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: false,
bufferProcessing: false,
onwrite: [Function],
writecb: null,
writelen: 0,
bufferedRequest: null,
lastBufferedRequest: null,
pendingcb: 0,
prefinished: true,
errorEmitted: false,
bufferedRequestCount: 0,
corkedRequestsFree: [Object] },
writable: false,
allowHalfOpen: false,
destroyed: true,
_bytesDispatched: 100,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage:
ClientRequest {
domain: null,
_events: [Object],
_eventsCount: 5,
_maxListeners: undefined,
output: [],
outputEncodings: [],
outputCallbacks: [],
outputSize: 0,
writable: true,
_last: true,
upgrading: false,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedHeader: {},
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [Circular],
connection: [Circular],
_header: 'GET /wd/hub/sessions HTTP/1.1\r\nhost: seleniumhub.myhost.org:4444\r\nConnection: close\r\n\r\n',
_headers: [Object],
_headerNames: [Object],
_onPendingData: null,
agent: [Object],
socketPath: undefined,
timeout: undefined,
method: 'GET',
path: '/wd/hub/sessions',
_ended: true,
parser: null,
res: [Circular] },
read: [Function],
_consuming: true,
_idleNext: null,
_idlePrev: null,
_idleTimeout: -1 },
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
headers:
{ 'content-type': 'application/json; charset=UTF-8',
'content-length': '3499',
connection: 'close',
server: 'Jetty(9.2.15.v20160210)' },
rawHeaders:
[ 'Content-Type',
'application/json; charset=UTF-8',
'Content-Length',
'3499',
'Connection',
'close',
'Server',
'Jetty(9.2.15.v20160210)' ],
trailers: {},
rawTrailers: [],
upgrade: false,
url: '',
method: null,
statusCode: 500,
statusMessage: 'Server Error',
client:
Socket {
connecting: false,
_hadError: false,
_handle: null,
_parent: null,
_host: 'seleniumhub.myhost.org',
_readableState:
ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: [Object],
length: 0,
pipes: null,
pipesCount: 0,
flowing: true,
ended: false,
endEmitted: false,
reading: true,
sync: false,
needReadable: true,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
defaultEncoding: 'utf8',
ranOut: false,
awaitDrain: 0,
readingMore: false,
decoder: null,
encoding: null },
readable: false,
domain: null,
_events:
{ end: [Object],
finish: [Function: onSocketFinish],
_socketEnd: [Function: onSocketEnd],
free: [Function: onFree],
close: [Object],
agentRemove: [Function: onRemove],
drain: [Function: ondrain],
error: [Object] },
_eventsCount: 8,
_maxListeners: 0,
_writableState:
WritableState {
objectMode: false,
highWaterMark: 16384,
needDrain: false,
ending: true,
ended: true,
finished: true,
decodeStrings: false,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: false,
bufferProcessing: false,
onwrite: [Function],
writecb: null,
writelen: 0,
bufferedRequest: null,
lastBufferedRequest: null,
pendingcb: 0,
prefinished: true,
errorEmitted: false,
bufferedRequestCount: 0,
corkedRequestsFree: [Object] },
writable: false,
allowHalfOpen: false,
destroyed: true,
_bytesDispatched: 100,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage:
ClientRequest {
domain: null,
_events: [Object],
_eventsCount: 5,
_maxListeners: undefined,
output: [],
outputEncodings: [],
outputCallbacks: [],
outputSize: 0,
writable: true,
_last: true,
upgrading: false,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedHeader: {},
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [Circular],
connection: [Circular],
_header: 'GET /wd/hub/sessions HTTP/1.1\r\nhost: seleniumhub.myhost.org:4444\r\nConnection: close\r\n\r\n',
_headers: [Object],
_headerNames: [Object],
_onPendingData: null,
agent: [Object],
socketPath: undefined,
timeout: undefined,
method: 'GET',
path: '/wd/hub/sessions',
_ended: true,
parser: null,
res: [Circular] },
read: [Function],
_consuming: true,
_idleNext: null,
_idlePrev: null,
_idleTimeout: -1 },
_consuming: true,
_dumped: false,
req:
ClientRequest {
domain: null,
_events:
{ socket: [Object],
response: [Function: bound ],
error: [Function: bound ],
drain: [Function],
prefinish: [Function: requestOnPrefinish] },
_eventsCount: 5,
_maxListeners: undefined,
output: [],
outputEncodings: [],
outputCallbacks: [],
outputSize: 0,
writable: true,
_last: true,
upgrading: false,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedHeader: {},
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket:
Socket {
connecting: false,
_hadError: false,
_handle: null,
_parent: null,
_host: 'seleniumhub.myhost.org',
_readableState: [Object],
readable: false,
domain: null,
_events: [Object],
_eventsCount: 8,
_maxListeners: 0,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
destroyed: true,
_bytesDispatched: 100,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Circular],
read: [Function],
_consuming: true,
_idleNext: null,
_idlePrev: null,
_idleTimeout: -1 },
connection:
Socket {
connecting: false,
_hadError: false,
_handle: null,
_parent: null,
_host: 'seleniumhub.myhost.org',
_readableState: [Object],
readable: false,
domain: null,
_events: [Object],
_eventsCount: 8,
_maxListeners: 0,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
destroyed: true,
_bytesDispatched: 100,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Circular],
read: [Function],
_consuming: true,
_idleNext: null,
_idlePrev: null,
_idleTimeout: -1 },
_header: 'GET /wd/hub/sessions HTTP/1.1\r\nhost: seleniumhub.myhost.org:4444\r\nConnection: close\r\n\r\n',
_headers: { host: 'seleniumhub.myhost.org:4444' },
_headerNames: { host: 'host' },
_onPendingData: null,
agent:
Agent {
domain: null,
_events: [Object],
_eventsCount: 1,
_maxListeners: undefined,
defaultPort: 80,
protocol: 'http:',
options: [Object],
requests: {},
sockets: [Object],
freeSockets: {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256 },
socketPath: undefined,
timeout: undefined,
method: 'GET',
path: '/wd/hub/sessions',
_ended: true,
parser: null,
res: [Circular] },
request:
Request {
domain: null,
_events:
{ error: [Function: bound ],
complete: [Function: bound ],
pipe: [Function],
end: [Object],
data: [Function] },
_eventsCount: 5,
_maxListeners: undefined,
callback: [Function],
retryStrategy: [Function: HTTPError],
retryDelay: 500,
maxAttempts: 10,
readable: true,
writable: true,
_qs:
Querystring {
request: [Circular],
lib: [Object],
useQuerystring: undefined,
parseOptions: {},
stringifyOptions: {} },
_auth:
Auth {
request: [Circular],
hasAuth: false,
sentAuth: false,
bearerToken: null,
user: null,
pass: null },
_oauth: OAuth { request: [Circular], params: null },
_multipart:
Multipart {
request: [Circular],
boundary: '92ff6d39-c9cb-4207-8b2e-e07a689bfaff',
chunked: false,
body: null },
_redirect:
Redirect {
request: [Circular],
followRedirect: true,
followRedirects: true,
followAllRedirects: false,
allowRedirect: [Function],
maxRedirects: 10,
redirects: [],
redirectsFollowed: 0,
removeRefererHeader: false },
_tunnel:
Tunnel {
request: [Circular],
proxyHeaderWhiteList: [Object],
proxyHeaderExclusiveList: [] },
headers: {},
setHeader: [Function],
hasHeader: [Function],
getHeader: [Function],
removeHeader: [Function],
method: 'GET',
localAddress: undefined,
pool: {},
dests: [],
__isRequestRequest: true,
_callback: [Function: bound ],
uri:
Url {
protocol: 'http:',
slashes: true,
auth: null,
host: 'seleniumhub.myhost.org:4444',
port: '4444',
hostname: 'seleniumhub.myhost.org',
hash: null,
search: null,
query: null,
pathname: '/wd/hub/sessions',
path: '/wd/hub/sessions',
href: 'http://seleniumhub.myhost.org:4444/wd/hub/sessions' },
proxy: null,
tunnel: false,
setHost: true,
originalCookieHeader: undefined,
_disableCookies: true,
_jar: undefined,
port: '4444',
host: 'seleniumhub.myhost.org',
path: '/wd/hub/sessions',
httpModule:
{ IncomingMessage: [Object],
METHODS: [Object],
OutgoingMessage: [Object],
ServerResponse: [Object],
STATUS_CODES: [Object],
Agent: [Object],
globalAgent: [Object],
ClientRequest: [Object],
request: [Function],
get: [Function],
_connectionListener: [Function: connectionListener],
Server: [Object],
createServer: [Function],
Client: [Function: deprecated],
createClient: [Function: deprecated] },
agentClass: { [Function: Agent] super_: [Object], defaultMaxSockets: Infinity },
agent:
Agent {
domain: null,
_events: [Object],
_eventsCount: 1,
_maxListeners: undefined,
defaultPort: 80,
protocol: 'http:',
options: [Object],
requests: {},
sockets: [Object],
freeSockets: {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256 },
_started: true,
href: 'http://seleniumhub.myhost.org:4444/wd/hub/sessions',
req:
ClientRequest {
domain: null,
_events: [Object],
_eventsCount: 5,
_maxListeners: undefined,
output: [],
outputEncodings: [],
outputCallbacks: [],
outputSize: 0,
writable: true,
_last: true,
upgrading: false,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedHeader: {},
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [Object],
connection: [Object],
_header: 'GET /wd/hub/sessions HTTP/1.1\r\nhost: seleniumhub.myhost.org:4444\r\nConnection: close\r\n\r\n',
_headers: [Object],
_headerNames: [Object],
_onPendingData: null,
agent: [Object],
socketPath: undefined,
timeout: undefined,
method: 'GET',
path: '/wd/hub/sessions',
_ended: true,
parser: null,
res: [Circular] },
ntick: true,
response: [Circular],
originalHost: 'seleniumhub.myhost.org:4444',
originalHostHeaderName: 'host',
responseContent: [Circular],
_destdata: true,
_ended: true,
_callbackCalled: true },
toJSON: [Function: responseToJSON],
caseless:
Caseless {
dict:
{ 'content-type': 'application/json; charset=UTF-8',
'content-length': '3499',
connection: 'close',
server: 'Jetty(9.2.15.v20160210)' } },
read: [Function],
body: '{"status":13,"value":{"message":"Session [(null externalkey)] not available and is not among the last 1000 terminated sessions.\\nActive sessions are[ext. key cb9a63ab-190c-428e-8bb4-f9cbc77af805, ext. key 7f040f37-5ca0-4a15-b66d-7aaeba4e6dac]","class":"org.openqa.grid.common.exception.GridException","stackTrace":[{"fileName":"ActiveTestSessions.java","className":"org.openqa.grid.internal.ActiveTestSessions","methodName":"getExistingSession","lineNumber":110},{"fileName":"Registry.java","className":"org.openqa.grid.internal.Registry","methodName":"getExistingSession","lineNumber":404},{"fileName":"RequestHandler.java","className":"org.openqa.grid.web.servlet.handler.RequestHandler","methodName":"getSession","lineNumber":232},{"fileName":"RequestHandler.java","className":"org.openqa.grid.web.servlet.handler.RequestHandler","methodName":"process","lineNumber":118},{"fileName":"DriverServlet.java","className":"org.openqa.grid.web.servlet.DriverServlet","methodName":"process","lineNumber":83},{"fileName":"DriverServlet.java","className":"org.openqa.grid.web.servlet.DriverServlet","methodName":"doGet","lineNumber":61},{"fileName":"HttpServlet.java","className":"javax.servlet.http.HttpServlet","methodName":"service","lineNumber":687},{"fileName":"HttpServlet.java","className":"javax.servlet.http.HttpServlet","methodName":"service","lineNumber":790},{"fileName":"ServletHolder.java","className":"org.seleniumhq.jetty9.servlet.ServletHolder","methodName":"handle","lineNumber":808},{"fileName":"ServletHandler.java","className":"org.seleniumhq.jetty9.servlet.ServletHandler","methodName":"doHandle","lineNumber":587},{"fileName":"SessionHandler.java","className":"org.seleniumhq.jetty9.server.session.SessionHandler","methodName":"doHandle","lineNumber":221},{"fileName":"ContextHandler.java","className":"org.seleniumhq.jetty9.server.handler.ContextHandler","methodName":"doHandle","lineNumber":1127},{"fileName":"ServletHandler.java","className":"org.seleniumhq.jetty9.servlet.ServletHandler","methodName":"doScope","lineNumber":515},{"fileName":"SessionHandler.java","className":"org.seleniumhq.jetty9.server.session.SessionHandler","methodName":"doScope","lineNumber":185},{"fileName":"ContextHandler.java","className":"org.seleniumhq.jetty9.server.handler.ContextHandler","methodName":"doScope","lineNumber":1061},{"fileName":"ScopedHandler.java","className":"org.seleniumhq.jetty9.server.handler.ScopedHandler","methodName":"handle","lineNumber":141},{"fileName":"HandlerWrapper.java","className":"org.seleniumhq.jetty9.server.handler.HandlerWrapper","methodName":"handle","lineNumber":97},{"fileName":"Server.java","className":"org.seleniumhq.jetty9.server.Server","methodName":"handle","lineNumber":499},{"fileName":"HttpChannel.java","className":"org.seleniumhq.jetty9.server.HttpChannel","methodName":"handle","lineNumber":310},{"fileName":"HttpConnection.java","className":"org.seleniumhq.jetty9.server.HttpConnection","methodName":"onFillable","lineNumber":257},{"fileName":"AbstractConnection.java","className":"org.seleniumhq.jetty9.io.AbstractConnection$2","methodName":"run","lineNumber":540},{"fileName":"QueuedThreadPool.java","className":"org.seleniumhq.jetty9.util.thread.QueuedThreadPool","methodName":"runJob","lineNumber":635},{"fileName":"QueuedThreadPool.java","className":"org.seleniumhq.jetty9.util.thread.QueuedThreadPool$3","methodName":"run","lineNumber":555},{"fileName":"Thread.java","className":"java.lang.Thread","methodName":"run","lineNumber":745}]}}',
attempts: 10 }
module.exports = {
showXolvioMessages: false,
// - - - - CUCUMBER - - - -
chai: true,
jsonOutput: "reports/cucumber_report.json",
// - - - - WEBDRIVER-IO - - - -
webdriverio: {
desiredCapabilities: { browserName: 'chrome' },
logLevel: 'verbose',
// logOutput: null,
host: 'seleniumhub.myhost.org',
port: 4444,
path: '/wd/hub',
baseUrl: 'https://my.test.address.org',
coloredLogs: true,
screenshotPath: null,
waitforTimeout: 500,
waitforInterval: 250,
},
// - - - - DEBUGGING - - - -
log: 'info',
debug: true,
seleniumDebug: true,
debugCucumber: null,
debugBrkCucumber: null,
debugMocha: null,
debugBrkMocha: null,
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment