forked from Xray-App/xray-postman-collections
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cucumber_sample.json
1 lines (1 loc) · 6.17 KB
/
cucumber_sample.json
1
[{"id":"as-a-user,-i-can-sum-two-numbers","uri":"features/sample_scenario_outline.feature","keyword":"Feature","name":"As a user, I can sum two numbers","description":"","line":2,"tags":[{"name":"@STORY_123","line":1}],"elements":[{"id":"as-a-user,-i-can-sum-two-numbers;;;2","keyword":"Scenario Outline","name":"","description":"","line":13,"type":"scenario","tags":[{"name":"@STORY_123","line":1},{"name":"@TEST_123","line":4}],"before":[{"match":{"location":"features/step_definitions/calculator_steps.rb:9"},"result":{"status":"passed","duration":21000}}],"steps":[{"keyword":"Given ","name":"I have entered 20 into the calculator","line":6,"match":{"location":"features/step_definitions/calculator_steps.rb:39"},"result":{"status":"passed","duration":45000}},{"keyword":"And ","name":"I have entered 30 into the calculator","line":7,"match":{"location":"features/step_definitions/calculator_steps.rb:39"},"result":{"status":"passed","duration":11000}},{"keyword":"When ","name":"I press add","line":8,"match":{"location":"features/step_definitions/calculator_steps.rb:43"},"result":{"status":"passed","duration":17000}},{"keyword":"Then ","name":"the result should be 50 on the screen","line":9,"match":{"location":"features/step_definitions/calculator_steps.rb:51"},"result":{"status":"passed","duration":764000}}],"after":[{"match":{"location":"features/step_definitions/calculator_steps.rb:13"},"result":{"status":"passed","duration":8000}}]},{"id":"as-a-user,-i-can-sum-two-numbers;;;3","keyword":"Scenario Outline","name":"","description":"","line":14,"type":"scenario","tags":[{"name":"@STORY_123","line":1},{"name":"@TEST_123","line":4}],"before":[{"match":{"location":"features/step_definitions/calculator_steps.rb:9"},"result":{"status":"passed","duration":8000}}],"steps":[{"keyword":"Given ","name":"I have entered 2 into the calculator","line":6,"match":{"location":"features/step_definitions/calculator_steps.rb:39"},"result":{"status":"passed","duration":14000}},{"keyword":"And ","name":"I have entered 5 into the calculator","line":7,"match":{"location":"features/step_definitions/calculator_steps.rb:39"},"result":{"status":"passed","duration":9000}},{"keyword":"When ","name":"I press add","line":8,"match":{"location":"features/step_definitions/calculator_steps.rb:43"},"result":{"status":"passed","duration":11000}},{"keyword":"Then ","name":"the result should be 7 on the screen","line":9,"match":{"location":"features/step_definitions/calculator_steps.rb:51"},"result":{"status":"passed","duration":19000}}],"after":[{"match":{"location":"features/step_definitions/calculator_steps.rb:13"},"result":{"status":"passed","duration":6000}}]},{"id":"as-a-user,-i-can-sum-two-numbers;;;4","keyword":"Scenario Outline","name":"","description":"","line":15,"type":"scenario","tags":[{"name":"@STORY_123","line":1},{"name":"@TEST_123","line":4}],"before":[{"match":{"location":"features/step_definitions/calculator_steps.rb:9"},"result":{"status":"passed","duration":8000}}],"steps":[{"keyword":"Given ","name":"I have entered 0 into the calculator","line":6,"match":{"location":"features/step_definitions/calculator_steps.rb:39"},"result":{"status":"passed","duration":14000}},{"keyword":"And ","name":"I have entered 40 into the calculator","line":7,"match":{"location":"features/step_definitions/calculator_steps.rb:39"},"result":{"status":"passed","duration":9000}},{"keyword":"When ","name":"I press add","line":8,"match":{"location":"features/step_definitions/calculator_steps.rb:43"},"result":{"status":"passed","duration":11000}},{"keyword":"Then ","name":"the result should be 40 on the screen","line":9,"match":{"location":"features/step_definitions/calculator_steps.rb:51"},"result":{"status":"passed","duration":17000}}],"after":[{"match":{"location":"features/step_definitions/calculator_steps.rb:13"},"result":{"status":"passed","duration":6000}}]},{"id":"as-a-user,-i-can-sum-two-numbers;;;5","keyword":"Scenario Outline","name":"","description":"","line":16,"type":"scenario","tags":[{"name":"@STORY_123","line":1},{"name":"@TEST_123","line":4}],"before":[{"match":{"location":"features/step_definitions/calculator_steps.rb:9"},"result":{"status":"passed","duration":7000}}],"steps":[{"keyword":"Given ","name":"I have entered 4 into the calculator","line":6,"match":{"location":"features/step_definitions/calculator_steps.rb:39"},"result":{"status":"passed","duration":14000}},{"keyword":"And ","name":"I have entered 50 into the calculator","line":7,"match":{"location":"features/step_definitions/calculator_steps.rb:39"},"result":{"status":"passed","duration":9000}},{"keyword":"When ","name":"I press add","line":8,"match":{"location":"features/step_definitions/calculator_steps.rb:43"},"result":{"status":"passed","duration":27000}},{"keyword":"Then ","name":"the result should be 54 on the screen","line":9,"match":{"location":"features/step_definitions/calculator_steps.rb:51"},"result":{"status":"passed","duration":17000}}],"after":[{"match":{"location":"features/step_definitions/calculator_steps.rb:13"},"result":{"status":"passed","duration":6000}}]},{"id":"as-a-user,-i-can-sum-two-numbers;;;6","keyword":"Scenario Outline","name":"","description":"","line":17,"type":"scenario","tags":[{"name":"@STORY_123","line":1},{"name":"@TEST_123","line":4}],"before":[{"match":{"location":"features/step_definitions/calculator_steps.rb:9"},"result":{"status":"passed","duration":8000}}],"steps":[{"keyword":"Given ","name":"I have entered 5 into the calculator","line":6,"match":{"location":"features/step_definitions/calculator_steps.rb:39"},"result":{"status":"passed","duration":14000}},{"keyword":"And ","name":"I have entered 50 into the calculator","line":7,"match":{"location":"features/step_definitions/calculator_steps.rb:39"},"result":{"status":"passed","duration":9000}},{"keyword":"When ","name":"I press add","line":8,"match":{"location":"features/step_definitions/calculator_steps.rb:43"},"result":{"status":"passed","duration":11000}},{"keyword":"Then ","name":"the result should be 55 on the screen","line":9,"match":{"location":"features/step_definitions/calculator_steps.rb:51"},"result":{"status":"passed","duration":18000}}],"after":[{"match":{"location":"features/step_definitions/calculator_steps.rb:13"},"result":{"status":"passed","duration":6000}}]}]}]