You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WARN: Screenshot could not be saved. An exception is raised: #<Errno::ENOENT: No such file or directory @ rb_sysopen - /home/circleci/XXX/tmp/capybara/screenshot_2018-04-05-04-39-52.104.png>.
Ah, and there is one important thing when it comes to reproducing the issue :-)
The problem occurs only when the directory does not exist yet and you explicitly use:
Capybara::Screenshot.screenshot_and_open_image
When the test simply fails (without any usage of Capybara::Screenshot.screenshot_and_open_image), then the directory is created without problems and the screenshot is saved.
Hi,
I've got the following error:
Here is my temporary solution:
I guess it would be good to fix the problem on the gem level.
Best,
Marek
The text was updated successfully, but these errors were encountered: