summaryrefslogtreecommitdiff
path: root/spec/support/capybara_helpers.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-11-06 10:40:29 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2017-11-06 10:40:29 +0100
commit3a174c999dfb61f2dde53f6eb7b2baec8b5e3683 (patch)
treeb39eb504b5206af059052470132cab88dbfcd340 /spec/support/capybara_helpers.rb
parent6947646d00a7a71984d54087452b0d004429b047 (diff)
parent4274418733c75198c38df5745c2827c6009bbc65 (diff)
downloadgitlab-ce-3a174c999dfb61f2dde53f6eb7b2baec8b5e3683.tar.gz
Merge branch '36629-35958-add-cluster-application-section' into add-ingress-to-cluster-applications
Diffstat (limited to 'spec/support/capybara_helpers.rb')
-rw-r--r--spec/support/capybara_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/capybara_helpers.rb b/spec/support/capybara_helpers.rb
index 3eb7bea3227..868233416bf 100644
--- a/spec/support/capybara_helpers.rb
+++ b/spec/support/capybara_helpers.rb
@@ -38,7 +38,7 @@ module CapybaraHelpers
# Simulate a browser restart by clearing the session cookie.
def clear_browser_session
- page.driver.remove_cookie('_gitlab_session')
+ page.driver.browser.manage.delete_cookie('_gitlab_session')
end
end