Comments (11)
this looks like the bug with scenario outline in cucumber ruby? The json does not contain all the results - try with just a scenario see if that works as an experiment.
--K
On 6 Aug 2013, at 17:55, saikrishna321 [email protected] wrote:
I have a feature file which has 2 scenarios and both are parametrized with values after the test is completed the results dont appear .
—
Reply to this email directly or view it on GitHub.
from cucumber-reporting.
Yah i tried with just scenario and i get to see the results as expected . But when i have a Scenario Outline the scripts run but i dont see the results with the parameters that is used
For Example 👍
Scenario Outline:Tap on the sign in button and Enter Valid Credentials
Given I See Splash Screen
When I See Home screen and Tap on the Menu button
Then I Tap on the Sign in button
And I Enter the invalid username as
And I Enter the invalid password as
Then I Tap on the sign in button for logging in
Examples:
|username|password|
|[email protected]|qwerty|
from cucumber-reporting.
Yeah it's a bug with cucumber how it generates the json report. The json report is missing some results when using scenario outline so the plugin can only report that no result was found for the step
Sent from my iPad
On 7 Aug 2013, at 05:22, saikrishna321 [email protected] wrote:
Yah i tried with just scenario and i get to see the results as expected . But when i have a Scenario Outline the scripts run but i dont see the results with the parameters that is used
For Example
Scenario Outline:Tap on the sign in button and Enter Valid Credentials
Given I See Splash Screen
When I See Home screen and Tap on the Menu button
Then I Tap on the Sign in button
And I Enter the invalid username as
And I Enter the invalid password as
Then I Tap on the sign in button for logging inExamples:
|username|password|
|[email protected]|qwerty|—
Reply to this email directly or view it on GitHub.
from cucumber-reporting.
The json report looks like this , is there any workground to get this work .
{
"keyword": "Scenario Outline",
"name": "Tap on the sign in button and Enter Valid Credentials",
"line": 13,
"description": "",
"id": "login;tap-on-the-sign-in-button-and-enter-valid-credentials",
"type": "scenario_outline",
"steps": [
{
"keyword": "Given ",
"name": "I See Splash Screen",
"line": 14,
"match": {
"location": "features/step_definitions/my_first_steps.rb:1"
}
},
{
"keyword": "When ",
"name": "I See Home screen and Tap on the Menu button",
"line": 15,
"match": {
"location": "features/step_definitions/my_first_steps.rb:9"
}
},
{
"keyword": "Then ",
"name": "I Tap on the Sign in button",
"line": 16,
"match": {
"location": "features/step_definitions/my_first_steps.rb:15"
}
},
{
"keyword": "And ",
"name": "I Enter the invalid username as ",
"line": 17,
"match": {
"location": "features\my_first.feature:17"
}
},
{
"keyword": "And ",
"name": "I Enter the invalid password as ",
"line": 18,
"match": {
"location": "features\my_first.feature:18"
}
},
{
"keyword": "Then ",
"name": "I Tap on the sign in button for logging in",
"line": 19,
"match": {
"location": "features/step_definitions/my_first_steps.rb:33"
}
}
],
"examples": [
{
"keyword": "Examples",
"name": "",
"line": 22,
"description": "",
"id": "login;tap-on-the-sign-in-button-and-enter-valid-credentials;",
"rows": [
{
"cells": [
"username",
"password"
],
"line": 23,
"id": "login;tap-on-the-sign-in-button-and-enter-valid-credentials;;1"
},
{
"cells": [
"[email protected]",
"qwerty"
],
"line": 24,
"id": "login;tap-on-the-sign-in-button-and-enter-valid-credentials;;2"
}
]
}
]
}
]
}
from cucumber-reporting.
no work around that I know of unfortunately. Hopefully the cucumber guys will fix it as it's been a bug for quite a while. The problem with this json is that every step should have a result section also - and the result section is missing. If you compare it to the json for a regular scenario - you will see the regular scenario json has a result section for each step.
Without a result section there is no way to know if the step passed, failed, was skipped or pending etc.
If I get some time - I will try to investigate with the cucumber guys and see if there is anything I can help with.
--K
On 7 Aug 2013, at 06:29, saikrishna321 [email protected] wrote:
The json report looks like this , is there any workground to get this work .
{
"keyword": "Scenario Outline",
"name": "Tap on the sign in button and Enter Valid Credentials",
"line": 13,
"description": "",
"id": "login;tap-on-the-sign-in-button-and-enter-valid-credentials",
"type": "scenario_outline",
"steps": [
{
"keyword": "Given ",
"name": "I See Splash Screen",
"line": 14,
"match": {
"location": "features/step_definitions/my_first_steps.rb:1"
}
},
{
"keyword": "When ",
"name": "I See Home screen and Tap on the Menu button",
"line": 15,
"match": {
"location": "features/step_definitions/my_first_steps.rb:9"
}
},
{
"keyword": "Then ",
"name": "I Tap on the Sign in button",
"line": 16,
"match": {
"location": "features/step_definitions/my_first_steps.rb:15"
}
},
{
"keyword": "And ",
"name": "I Enter the invalid username as ",
"line": 17,
"match": {
"location": "features\my_first.feature:17"
}
},
{
"keyword": "And ",
"name": "I Enter the invalid password as ",
"line": 18,
"match": {
"location": "features\my_first.feature:18"
}
},
{
"keyword": "Then ",
"name": "I Tap on the sign in button for logging in",
"line": 19,
"match": {
"location": "features/step_definitions/my_first_steps.rb:33"
}
}
],
"examples": [
{
"keyword": "Examples",
"name": "",
"line": 22,
"description": "",
"id": "login;tap-on-the-sign-in-button-and-enter-valid-credentials;",
"rows": [
{
"cells": [
"username",
"password"
],
"line": 23,
"id": "login;tap-on-the-sign-in-button-and-enter-valid-credentials;;1"
},
{
"cells": [
"[email protected]",
"qwerty"
],
"line": 24,
"id": "login;tap-on-the-sign-in-button-and-enter-valid-credentials;;2"
}
]
}
]
}
]
}—
Reply to this email directly or view it on GitHub.
from cucumber-reporting.
Thanks you so much kingsleyh . Appreciate the work . Closing the issue
from cucumber-reporting.
This is indeed a cucumber issue. I've had the same problem with cucumber-jvm 1.1.3, but updating to 1.1.4-SNAPSHOT fixed it, you may want to look into this.
from cucumber-reporting.
I'm using this plugin to generate reports against calabash scripts . Can you please tell me where should i update the cucuber-jvm to 1.1.4
from cucumber-reporting.
is there any fix for this @kingsleyh
from cucumber-reporting.
From the above report i see the Scenario Outline has proper results with status in it..
Can you please tell me if any specific version of cucumber has fixed this issue
from cucumber-reporting.
Hi
The problem is with the json report generated by ruby cucumber. As far as I know the cucumber guys have not fixed it yet.
--k
Sent from my iPad
On 25 Apr 2014, at 06:11, saikrishna321 [email protected] wrote:
From the above report i see the Scenario Outline has proper results with status in it..
Can you please tell me if any specific version of cucumber has fixed this issue
—
Reply to this email directly or view it on GitHub.
from cucumber-reporting.
Related Issues (20)
- Hook's embedding text with emojis not displaying the correct string in Tag Report page HOT 1
- Passed, Failed Scenarios/Steps counts are not coming in results HOT 2
- Ignore Feature Level Cucumber Tags HOT 1
- CVE-2020-7746 with Chart.js HOT 1
- Not able to see cucumber-html reporting after execution the tests HOT 5
- Build Execution Date on horizontal axis HOT 3
- Error: Action failed with "The process '/usr/bin/git' failed with exit code 1" HOT 1
- Cucumber fails build report with 0 tests HOT 1
- Qualifier missing from the report-feature html HOT 1
- Not able to log in cucumber-reporting HOT 1
- Failed to parse plugin descriptor for net.masterthought:cucumber-reporting:5.7.6 HOT 1
- Generate Cucumber Report with Tags Excluded HOT 1
- Reporting url changed HOT 3
- Maven cucumber reporting stopped working on update to Selenium 4.14.1 from Selenium 4.13.0 HOT 2
- How to add execution duration at scenario level in cucumber reports HOT 3
- JSON File Limit HOT 1
- Cucumber html report screen is blur and couldn't able to access the report HOT 1
- Update Qualifiers in reports when cucumber json output has information on OS and devices HOT 9
- Karate framework cannot deserialize cucumber json.feature file
- How to customize json report generated by cucumber to feed it to this cucumber-reporting tool HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cucumber-reporting.