Commit a82a31c7 authored by Rémy Coutable's avatar Rémy Coutable

Ensure we save QA screenshots to an absolute path

This allows to open the file address printed in the terminal, otherwise
the address started with `tmp` which was relatove to the `qa/` dir.
Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 5b73e0eb
...@@ -84,7 +84,7 @@ module QA ...@@ -84,7 +84,7 @@ module QA
config.javascript_driver = :chrome config.javascript_driver = :chrome
config.default_max_wait_time = 10 config.default_max_wait_time = 10
# https://github.com/mattheworiordan/capybara-screenshot/issues/164 # https://github.com/mattheworiordan/capybara-screenshot/issues/164
config.save_path = 'tmp' config.save_path = File.expand_path('../../tmp', __dir__)
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment