Created
August 15, 2020 15:22
-
-
Save seifip/6b3ec4e31603fc0a3137f6eb292b316b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def _end_test(self, data, result): | |
if not result.passed: | |
current_order_id = BuiltIn().get_variable_value("${CURRENT_ORDER_ID}") | |
context = f"Order {current_order_id}" if current_order_id else "General" | |
log_to_bugsnag(result.message, 'error', context) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment