How to attach simple screenshot to the Allure report ? #2788
-
Hello community, Can someone please help me to attach my screenshot to the Allure report ? Where can I get latest documentation for it ? I am using JavaScript + Playwright. I have tried almost everything, nothing works, everytime I am getting "allure.attachment is not a function" and same errors like this, I have tried a lot of functions. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@NebelskyiDmytro Hi! Could you try doing this ? |
Beta Was this translation helpful? Give feedback.
-
If your file needs to be uploaded from a specific directory, you should use |
Beta Was this translation helpful? Give feedback.
@NebelskyiDmytro Hi! Could you try doing this ?