Refactor E2E test framework to not refresh page when waiting for Merge button
Summary
On completion of the following issues, the E2E tests may be able to be refactored wait for the Merge button to appear without refreshing the page.
Improvements
Speed and reliability improvements in the E2E tests. It is faster to check the status of an element on a page rather than to wait for a page reload.
Risks
We must ensure that the Merge button appears in all cases, otherwise tests will be flaky.
Involved components
gitlab/qa/qa/page/merge_request/show.rb
would be the key file involved.
Edited by Jay McCure