From f17f19e1084375d18b7ab9869582741acb319459 Mon Sep 17 00:00:00 2001 From: Camille Villa <5402927+camillevilla@users.noreply.github.com> Date: Wed, 27 Nov 2024 17:43:53 -0800 Subject: [PATCH] Silence deprecation warnings until upstream Capybara is updated https://github.com/teamcapybara/capybara/issues/2779 https://github.com/teamcapybara/capybara/pull/2773 --- spec/spec_helper.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index c4bfdbc78b..76799c714b 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -147,6 +147,8 @@ end end +Selenium::WebDriver.logger.ignore(:clear_local_storage, :clear_session_storage) # Silence deprecation warnings until upstream Capybara version is updated https://github.com/teamcapybara/capybara/issues/2779 + # Capybara.javascript_driver = :webkit # Capybara.default_driver = :sniffybara # Capybara.default_driver = :selenium_chrome # Uncomment to debug feature tests