Skip to content

feat: add examples tag to scenario tags #771

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

chapellu
Copy link

@chapellu chapellu commented Apr 2, 2025

No description provided.

@jsa34
Copy link
Collaborator

jsa34 commented Apr 9, 2025

Thanks for the PR!

Could you add tests for this?

@chapellu
Copy link
Author

chapellu commented Apr 14, 2025

@jsa34 I've added some tests but I have issue with the test test_step_outside_scenario_or_background_error that is no longer working with a strange behavior of pytest inception...

@chapellu
Copy link
Author

@jsa34 I have the feeling that a step outside a scenario no longer raised an error in get_gherkin_document

@chapellu
Copy link
Author

@jsa34 I finally had time to debug a bit and the issue is that the step outside the scenario is interpreted as a comment
image

@chapellu
Copy link
Author

@jsa34 I'm removing the failing test as in my point of view the behavior that was tested is no longer relevant.
If you do not agree don't hesitate to comment otherwise the PR will be ready for you to merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants