You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Scenario Documentation with not replaced by examples.
To Reproduce
Steps to reproduce the behavior:
Edit documentation.feature line 11 and replace with with
launch the test
Documentation in test details from robot framework test report contains whereas hello or Bonjour is expected
If possible add some example source code like:
Feature: Scenario Outline with a docstringThis is a documentation for the feature file.it can be more than one line long.
Scenario Outline: Greetings come in many forms
this is the documentation for the scenario
it can be more than one line long.
and it can contain *<content>* that will be replaced by the examples.
Given this file:
"""<type>
Greeting:<content>
"""
Examples:
| type | content |
| en | Hello |
| fr | Bonjour |
Expected behavior
this is the documentation for the scenario
it can be more than one line long.
and it can contain Hello that will be replaced by the examples.
Desktop (please complete the following information):
VS Code Version 1.92.2
RobotCode Version 0.90.0
OS: Windows
Python Version 3.11.8
RobotFramework Version 7.0
Additional tools like gherkin-parser 0.3.2
Additional context
I successfully tried this patch for scenario outline use case
on gurke/pickles/compiler.py _compile_scenario_outline function , add 'description' key to pickle on line 121 : "description": self._interpolate(scenario["description"], variable_cells, value_cells),
on GherkinParser/gherkin_builder.py build_gherkin_model function, change line 102 with testcase_body.append(Documentation.from_params(pickle["description"].strip()))
The text was updated successfully, but these errors were encountered:
Describe the bug
Scenario Documentation with not replaced by examples.
To Reproduce
Steps to reproduce the behavior:
If possible add some example source code like:
Expected behavior
this is the documentation for the scenario
it can be more than one line long.
and it can contain Hello that will be replaced by the examples.
Desktop (please complete the following information):
Additional context
I successfully tried this patch for scenario outline use case
"description": self._interpolate(scenario["description"], variable_cells, value_cells),
testcase_body.append(Documentation.from_params(pickle["description"].strip()))
The text was updated successfully, but these errors were encountered: