The keys in user_properties array are potentially not safe: such key as feature or scenario can be added by tests via record_property fixture. Make it safer with, say, pytest-bdd-html.feature or even totally randomized keys (how to remember the seed then?).
The keys in
user_properties
array are potentially not safe: such key asfeature
orscenario
can be added by tests viarecord_property
fixture. Make it safer with, say,pytest-bdd-html.feature
or even totally randomized keys (how to remember the seed then?).https://github.com/slavos1/pytest-bdd-html/blob/b2a7685d6dbb8195d6ef65a066c504e953f01609/pytest_bdd_html/plugin.py#L67