summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-11-11 10:17:04 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-11-11 10:17:04 +0100
commit461b6f328f0031f557e2a2ed1652d8e88794e78e (patch)
tree9a83f78653ad9191e8ebd6b718068928bfca5081 /qa
parenta978e9b98d88837f90eb856b8bb10e3dfbccd712 (diff)
downloadgitlab-ce-461b6f328f0031f557e2a2ed1652d8e88794e78e.tar.gz
Fix QA page refresh address by using absolute URLsqa/gb/fix-page-refresh-address
This makes QA page refresh address to be absolute URL since we dropped `Capybara.app_host`, thus there is no support for relative URLs with `visit` now.
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/page/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/page/base.rb b/qa/qa/page/base.rb
index d55326c5262..bdddfb877c5 100644
--- a/qa/qa/page/base.rb
+++ b/qa/qa/page/base.rb
@@ -5,7 +5,7 @@ module QA
include Scenario::Actable
def refresh
- visit current_path
+ visit current_url
end
end
end