reportportal / agent-js-testcafe

Agent to integrate TestCafe with ReportPortal.
https://www.npmjs.com/package/@reportportal/testcafe-reporter-agent-js-testcafe
Apache License 2.0
4 stars 0 forks source link

Attach Screenshots/Videos #22

Open schneider-technology opened 1 year ago

schneider-technology commented 1 year ago

Hi, I've seen there is an option to attach files to fixtures and tests. Is there a way, to automatically attach the screenshots and videos which are created on a failed test, without having to implement it for every fixture/test individually?

MuriloAlencs commented 1 month ago

Any news about this ?

Pink-Bumblebee commented 1 month ago

https://reportportal.io/docs/developers-guides/AttachmentsGuide/ - short article in our documentation.

MuriloAlencs commented 1 month ago

@Pink-Bumblebee I configured it exactly as requested in the tutorial, however on my reportportal server, no attached image appears. rp.json .testcaferc.json noAttaches

schneider-technology commented 1 month ago

I ended up using this, please check my issue about axios there, had to do some adjustments (as mentioned in the issue there) https://github.com/rafalsep/testcafe-reporter-report-portal-reporter

I ended up using pnpm to have an easy patch file.