Closed EgorBodnar closed 4 months ago
There are two issues in there:
2.7.0
detail
and suiteTitle
are now set to true by default. Because of that system attach
steps are now reported. I completely disabled attach steps reporting in https://github.com/allure-framework/allure-js/pull/773 as we already display attachments in the report. allure.attachment
method, an additional wrapping step is created for each attachment. We plan to release visual improvement in the next release of the Allure Report. See the change here: https://github.com/allure-framework/allure2/pull/2107For more details on Playwright changes, please refer https://github.com/orgs/allure-framework/discussions/2103
await
allure.attachment()
from allure-playwright2.7.0
version produces an extra step with the name of the attachment and meta stepTo Reproduce Steps to reproduce the behavior:
Code:
Creates the step:
Expected behavior Don't create this extra sub-step with name of the attachment and don't show this meta step it in the report. Should create attachment only attached to the step 'Created step', not to the sub-step