Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Clear cookies in cuprite correctly

Oliver Günthercf94d3508a37
diff --git a/spec/support/authentication_helpers.rb b/spec/support/authentication_helpers.rb
index 57ef1c63edd..4921b349819 100644
--- a/spec/support/authentication_helpers.rb
+++ b/spec/support/authentication_helpers.rb
@@ -76,7 +76,7 @@ module AuthenticationHelpers
if !using_cuprite? || RSpec.current_example.metadata[:signout_via_visit]
visit signout_path
else
- page.driver.cookies.clear
+ page.driver.clear_cookies
end
end