Skip to content

Remove redundant waits from mr rebase button

John McDonnell requested to merge jmd/tidy-up-mr-rebase-button into master

What does this MR do and why?

Capybara will automatically wait until the element is 'enabled' before clicking it, so we should be able to remove these additional checks and simplify our code.

References:

How to set up and validate locally

Appears to be a single use of this in the suite, so can be tested out using bundle exec rspec qa/specs/features/browser_ui/3_create/merge_request/rebase_merge_request_spec.rb

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by John McDonnell

Merge request reports