-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scenarios using table showing up yellow in HTML output since 1.3.0 #493
Comments
Would you be interested in working on a patch? I'm working on code for version 2.0 of Cucumber that will replace this faulty code, so I'm not motivated to go back into this code and fix bugs in it. Until 2.0 is released though, I'm sure our users would be grateful if you managed to fix it. |
I tried, but I think I am not able to :( |
@mattwynne i'll see if i can fix this because its impacting us as well @fabrice31 are you not seeing this anymore after you reinstalled the cucumber ? |
@ambirag update do 1.3.4, I am not seeing it anymore |
@fabrice31 we are using 1.3.4 and only started seeing this issue after upgrading to cucumber 1.3.4 |
@ambirag I had the opposit : a scenario that has inline table was always marked yellow, event though all has passed. |
I agree with @fabrice31 that it comes from the I was able to fix it by reverting just the check for status.nil? on line 405 of lib/cucumber/formatter/html.rb that was added in that commit. And removing the status.nil? check doesn't seem to break the intended fix for #337, although I did not run all tests. |
@os97673 can you take a look at this? |
@mattwynne sure, I will, as soon as will be back from vacation ;) early next week |
Ok, so it is status.nil? check which causes the problem. |
So, for now I will just add check if cell is part of Examples table. |
…ould not used to calculate scenario's status
…pters * origin/master: Bump gherkin version minor history reformatting Release 1.3.6 Fixed name of the tag for 1.3.5 Fixed #493: sometimes tables is just table not part of outline and should not used to calculate scenario's status Remove autoformat functionality. Same legal issue than README.md Legal issue at README.md Release 1.3.5 Bump multi_test. Conflicts: features/docs/cli/autoformatting.feature
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
When you use a table in a scenario, the HTML output is showing in yellow.
(The console output is fine)
Example :
This issue happen only with version > 1.3.0
The text was updated successfully, but these errors were encountered: