For some reason, screenshots aren't getting saved correctly in ReportPortal, even those the screenshots are saved locally using the Capybara.current_session.save_screenshot method and I can pull them up using Finder.

- after clicking the thumbnail


Note: the text file gets saved correctly without any issue.
For some reason, screenshots aren't getting saved correctly in ReportPortal, even those the screenshots are saved locally using the
Capybara.current_session.save_screenshotmethod and I can pull them up using Finder.I even tried clicking the link for attachment and just a black screen comes up.
the code to generate screenshot in framework
Note: the text file gets saved correctly without any issue.