-
Notifications
You must be signed in to change notification settings - Fork 88
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
Comment between tags and scenario is not allowed with v4.7.0 #187
Comments
Any ideas @dpakach ? |
Note: the problem actually only happens when the Scenario or Scenario Outline follows a Scenario Outline. IMO the code that processes the Examples table (or tables) of the previous Scenario Outline seems to "jump over" the following combination of a line of tags followed by a comment line. And then it is hoping for some more examples (another section of the examples tables), but it finds a new Scenario or Scenario Outline. I have a simple test case that I have added locally and made the unit tests fail. Now I am looking to see what little condition in the parser has missed this combination... |
PR owncloud/core#38347 demonstrates a "live" run in So this issue is fixed. |
With v4.6.* I could have scenarios or scenario outlines like:
But in v4.7.0:
If I put the comment before the tags, then all is well. So there is an easy workaround.
But something accidentally happened that now requires no comment line between tags and the scenario. I will have a look and see if it is easily fixed. That will avoid anyone having to refactor existing feature files.
The text was updated successfully, but these errors were encountered: