tongilcoto
tongilcoto
No, it is not Apologies about the missing information This is the missing part of `environment.py`, including the `after_step` hook where I set the context property ``` from screenshotFileName import...
I have come to line 219 at json.py ` return self.current_feature_data["elements"][-1] ` The caller is line 171 ` step = self.current_feature_element["steps"][self._step_index] ` It is failing because `self._step_index` is 3, but...
By the way, the json schema at https://github.com/behave/behave/blob/master/etc/json/behave.json-schema does not define "embeddings" property yet
Hello again ... @jenisys have you been already able to check my findings?
Sad to check that this bug is still labeled as "probably-mistaken"
yes, please, it is a major debug feature!!! How do we vote for this feature to be implemented? I am assuming it is not just leaving a comment here ....
Trace viewer is for UI testing, right? Our problem is for API testing, we just have the "request" response, not the full browser
Thank you very much @lucy-mfv I have tried it! looks quite good!!! but this is not valid for runtime tasks, i.e. programmatically accessing request data or debugging
Hi @jenisys I have reviewed this issue I am think I got it this time All my previous findings still apply, but now I fell into json's `result` method ```...
So now my `after_scenario` code looks like ``` def after_scenario(context, scenario): if context.failed: screenshot_name = get_screenshot_new_file_name(scenario.name, context.failed_step_name) screenshot = context.current_page.get_screenshot(screenshot_name) # # Workaround for https://github.com/behave/behave/issues/906 # --> context.attach issue "list...