Under the nightwatch.conf.js I have.
"screenshots": {
"enabled": true,
'on_failure': true,
'on_errors': true,
'path': 'tests_output/screenshots'
},
Although, this generates screenshots for failed testcases under the 'screenshots' folder but it doesn't share them on the Report portal. How can I achieve that?
Documentation with guides: https://reportportal.io/docs/dev-guides/AttachmentsGuide/#how-to-log-attachments-on-java-agents
Example: