Skip to content

Instantly share code, notes, and snippets.

@kingdonb
Created April 23, 2019 13:29
Show Gist options
  • Save kingdonb/2003f2f72340b783ca0142c8663089b6 to your computer and use it in GitHub Desktop.
Save kingdonb/2003f2f72340b783ca0142c8663089b6 to your computer and use it in GitHub Desktop.
[
{
"uri": "features\/janky.feature",
"id": "janky-feature",
"keyword": "Feature",
"name": "Janky feature",
"description": "",
"line": 1,
"elements": [
{
"id": "janky-feature;janky-example",
"keyword": "Scenario",
"name": "janky example",
"description": "",
"line": 2,
"type": "scenario",
"before": [
{
"match": {
"location": "capybara-3.16.1\/lib\/capybara\/cucumber.rb:14"
},
"result": {
"status": "passed",
"duration": 12000
}
},
{
"match": {
"location": "capybara-3.16.1\/lib\/capybara\/cucumber.rb:22"
},
"result": {
"status": "passed",
"duration": 10000
}
},
{
"match": {
"location": "email_spec-2.2.0\/lib\/email_spec\/cucumber.rb:10"
},
"result": {
"status": "passed",
"duration": 13000
}
},
{
"match": {
"location": "features\/support\/env.rb:54"
},
"result": {
"status": "passed",
"duration": 179010000
}
},
{
"match": {
"location": "features\/support\/downloads.rb:41"
},
"result": {
"status": "passed",
"duration": 135000
}
}
],
"steps": [
{
"keyword": "Given ",
"name": "the test example",
"line": 3,
"match": {
"location": "features\/step_definitions\/janky_steps.rb:1"
},
"result": {
"status": "failed",
"error_message": " (RuntimeError)\n.\/features\/step_definitions\/janky_steps.rb:3:in `\"the test example\"'\nfeatures\/janky.feature:3:in `Given the test example'",
"duration": 122000
}
}
],
"after": [
{
"match": {
"location": "features\/support\/hooks.rb:6"
},
"result": {
"status": "failed",
"error_message": "Capybara::Driver::Base#save_screenshot (Capybara::NotSupportedByDriverError)\n.\/features\/support\/hooks.rb:12:in `After'",
"duration": 297000
}
},
{
"match": {
"location": "features\/support\/downloads.rb:45"
},
"result": {
"status": "passed",
"duration": 79000
}
},
{
"match": {
"location": "webmock-4cbeee803839\/lib\/webmock\/cucumber.rb:8"
},
"result": {
"status": "passed",
"duration": 28000
}
},
{
"match": {
"location": "email_spec-2.2.0\/lib\/email_spec\/cucumber.rb:19"
},
"result": {
"status": "passed",
"duration": 9000
}
},
{
"match": {
"location": "capybara-3.16.1\/lib\/capybara\/cucumber.rb:10"
},
"result": {
"status": "passed",
"duration": 13000
}
}
]
},
{
"id": "janky-feature;janky-example",
"keyword": "Scenario",
"name": "janky example",
"description": "",
"line": 2,
"type": "scenario",
"before": [
{
"match": {
"location": "capybara-3.16.1\/lib\/capybara\/cucumber.rb:14"
},
"result": {
"status": "passed",
"duration": 16000
}
},
{
"match": {
"location": "capybara-3.16.1\/lib\/capybara\/cucumber.rb:22"
},
"result": {
"status": "passed",
"duration": 13000
}
},
{
"match": {
"location": "email_spec-2.2.0\/lib\/email_spec\/cucumber.rb:10"
},
"result": {
"status": "passed",
"duration": 14000
}
},
{
"match": {
"location": "features\/support\/env.rb:54"
},
"result": {
"status": "passed",
"duration": 141782000
}
},
{
"match": {
"location": "features\/support\/downloads.rb:41"
},
"result": {
"status": "passed",
"duration": 132000
}
}
],
"steps": [
{
"keyword": "Given ",
"name": "the test example",
"line": 3,
"match": {
"location": "features\/step_definitions\/janky_steps.rb:1"
},
"result": {
"status": "passed",
"duration": 42000
}
}
],
"after": [
{
"match": {
"location": "features\/support\/hooks.rb:6"
},
"result": {
"status": "passed",
"duration": 18000
}
},
{
"match": {
"location": "features\/support\/downloads.rb:45"
},
"result": {
"status": "passed",
"duration": 83000
}
},
{
"match": {
"location": "webmock-4cbeee803839\/lib\/webmock\/cucumber.rb:8"
},
"result": {
"status": "passed",
"duration": 27000
}
},
{
"match": {
"location": "email_spec-2.2.0\/lib\/email_spec\/cucumber.rb:19"
},
"result": {
"status": "passed",
"duration": 13000
}
},
{
"match": {
"location": "capybara-3.16.1\/lib\/capybara\/cucumber.rb:10"
},
"result": {
"status": "passed",
"duration": 14000
}
}
]
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment