I'm currently working with Allure + pytest-bdd for testing at work. I was wondering if there is any way to check during execution if a test step has an attachment called X.
I know that a trick for this is to define your own AllureLifecycle.write_test_case = custom_write_test_case
so at the end of the test you can check the attachments of your test, but I was. wondering if there is any way to do it at step level during execution.