Commit 5ba59ea9 authored by Andrejs Cunskis's avatar Andrejs Cunskis

Merge branch 'tomi/fix/custom_commit_suggestion' into 'master'

Custom Commit Suggestion Stability Improvement

See merge request gitlab-org/gitlab!72581
parents 6ad1b98a 125c36dd
......@@ -365,7 +365,7 @@ module QA
all_elements(:add_suggestion_batch_button, minimum: 1).first.click
end
def has_suggestions_applied?(count)
def has_suggestions_applied?(count = 1)
wait_until(reload: false) do
has_no_element?(:applying_badge)
end
......
......@@ -48,7 +48,7 @@ module QA
merge_request.click_diffs_tab
merge_request.apply_suggestion_with_message(commit_message)
expect(merge_request).to have_css('.badge-success', text: 'Applied')
expect(merge_request).to have_suggestions_applied
merge_request.click_commits_tab
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment