Refactor E2E test framework to not refresh page when waiting for Merge button

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

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.

  • #367965 (closed)
  • #367891 (closed)
  • #372515 (closed)

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 Jan 08, 2026 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading