Commit 9f13ca5f authored by Stan Hu's avatar Stan Hu

Update Capybara v3.33.0 for Ruby 2.7

Capybara introduced a setting to set text fields rapidly in
https://github.com/teamcapybara/capybara/pull/2326 and
https://github.com/teamcapybara/capybara/pull/2333, but this seems to
break the filtered token specs. It appears that the tokens are
incorrectly broken up when this mode is in use. We disable this by
passing the `rapid: false` option.

Full list of changes:
https://github.com/teamcapybara/capybara/blob/master/History.md
parent 2ac47a71
......@@ -406,7 +406,7 @@ group :test do
gem 'rspec_profiling', '~> 0.0.5'
gem 'rspec-parameterized', require: false
gem 'capybara', '~> 3.22.0'
gem 'capybara', '~> 3.33.0'
gem 'capybara-screenshot', '~> 1.0.22'
gem 'selenium-webdriver', '~> 3.142'
......
......@@ -143,7 +143,7 @@ GEM
bundler (>= 1.2.0, < 3)
thor (~> 0.18)
byebug (9.1.0)
capybara (3.22.0)
capybara (3.33.0)
addressable
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
......@@ -1219,7 +1219,7 @@ DEPENDENCIES
browser (~> 4.2)
bullet (~> 6.0.2)
bundler-audit (~> 0.6.1)
capybara (~> 3.22.0)
capybara (~> 3.33.0)
capybara-screenshot (~> 1.0.22)
carrierwave (~> 1.3)
charlock_holmes (~> 0.7.5)
......
......@@ -13,7 +13,7 @@ module FilteredSearchHelpers
search = "#{search_term} "
end
filtered_search.set(search)
filtered_search.set(search, rapid: false)
if submit
# Wait for the lazy author/assignee tokens that
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment