Skip to content

Commit

Permalink
Fix done when managing tags
Browse files Browse the repository at this point in the history
  • Loading branch information
anibalinn committed Dec 6, 2024
1 parent 95dc88c commit 2a5416d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,4 @@ jobs:
behavex .\\tests\\features\\*.feature
else
behavex ./tests/features/*.feature
cat /home/runner/work/behavex/behavex/output/report.json
fi
2 changes: 1 addition & 1 deletion behavex/outputs/report_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,14 @@ def _processing_scenarios(scenarios, scenario_list, id_feature):
is_dry_run = get_param('dry_run')
for scenario in scenarios:
# Remove BHX_MANUAL_DRY_RUN tag if it is a dry run
scenario_tags = get_scenario_tags(scenario)
if is_dry_run and 'BHX_MANUAL_DRY_RUN' in scenario_tags:
scenario.tags.remove('BHX_MANUAL_DRY_RUN')
# Set MANUAL to False in order filter regardless of it
error_msg, error_lines, error_step, error_background = _get_error_scenario(
scenario
)
# pylint: disable=W0123
scenario_tags = get_scenario_tags(scenario)
if match_for_execution(scenario_tags):
# Scenario was selectable
scenario_info = {}
Expand Down

0 comments on commit 2a5416d

Please sign in to comment.