Skip to content

Fix custom_commit_suggestion_spec Flaky Failures When Commit Doesn't Immediately Display

What does this MR do and why?

custom_commit_suggestion_spec has been intermittently failing for at least a year now due to a transient bug where the applied suggestion's commit does not immediately display in the commits tab.

Bug issue: MR Commits Tab Sometimes Not Updating After App... (#368735 - closed)

QA failure issue: Failure in browser_ui/3_create/merge_request/su... (#355694 - closed)

Refreshing the page is a workaround to get the commit to display. This fix adds a retrier that refreshes the page in case the commit message is not immediately available.

MR acceptance checklist

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

Merge request reports