Describe the bug
There is a test with a configuration method (BeforeMethod) that fails with an exception.
There is an IConfigurationListener implementation provided, that creates an attachment on failed configuration.
An attachment is expected to be present in the report inside the failed configuration method container, but it is not.
An attachment can be found in the allure-results directory but seems not to be attached to any test container.
To Reproduce
Steps to reproduce the behaviour:
- Run https://github.com/baflQA/allure-java/blob/master/allure-testng/src/test/java/io/qameta/allure/testng/AllureTestNgTest.java#L710 test
Expected behaviour
An attachment added on failed configuration is added to the failed configuration method.
Additional context
Provided a fork to reproduce an issue
https://github.com/baflQA/allure-java
Describe the bug
There is a test with a configuration method (BeforeMethod) that fails with an exception.
There is an IConfigurationListener implementation provided, that creates an attachment on failed configuration.
An attachment is expected to be present in the report inside the failed configuration method container, but it is not.
An attachment can be found in the allure-results directory but seems not to be attached to any test container.
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
An attachment added on failed configuration is added to the failed configuration method.
Additional context
Provided a fork to reproduce an issue
https://github.com/baflQA/allure-java