diff options
author | Rémy Coutable <remy@rymai.me> | 2018-02-01 09:35:26 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-02-01 15:08:38 +0100 |
commit | a82a31c799aadb0000d305dccfa0a47de2e13e9a (patch) | |
tree | c82b0296a1da32254dbbbf9a5d0d7995e6a42171 /qa | |
parent | 5b73e0eb35f5b9b78c228a4867ef78538ef05653 (diff) | |
download | gitlab-ce-a82a31c799aadb0000d305dccfa0a47de2e13e9a.tar.gz |
Ensure we save QA screenshots to an absolute pathqa-absolute-path-to-screenshots
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: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/runtime/browser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/runtime/browser.rb b/qa/qa/runtime/browser.rb index ce888b51ea5..a12d95683af 100644 --- a/qa/qa/runtime/browser.rb +++ b/qa/qa/runtime/browser.rb @@ -84,7 +84,7 @@ module QA config.javascript_driver = :chrome config.default_max_wait_time = 10 # https://github.com/mattheworiordan/capybara-screenshot/issues/164 - config.save_path = 'tmp' + config.save_path = File.expand_path('../../tmp', __dir__) end end |