CI spec test failure -> status code unsupported
Summary
Seeing this error in master:
Capybara::NotSupportedByDriverError:
Capybara::Driver::Base#status_code
# ./gems/ruby/2.5.0/gems/capybara-3.2.1/lib/capybara/driver/base.rb:59:in `status_code'
# ./spec/gitlab_test_helper.rb:57:in `sign_in'
# ./spec/features/backups_spec.rb:27:in `block (3 levels) in <top (required)>'
https://gitlab.com/charts/gitlab/-/jobs/244069475
From what I can tell from the cabybara driver, are using the selenium driver. This is true, status_code isn't implemented. But usually our retry logic has prevented us from seeing this error. (If the login worked, the retry will exit happy.)
So this is currently hiding other login issues. As we are only seeing the error once all login trys have been exhausted.