Commit 383df322 authored by Thong Kuah's avatar Thong Kuah

Merge branch 'sh-fix-issue-20532' into 'master'

Fix flaky spec in user_suggests_changes_on_diff_spec.rb

Closes #38277

See merge request gitlab-org/gitlab!21360
parents d3b91e2d fcff4257
...@@ -139,6 +139,10 @@ describe 'User comments on a diff', :js do ...@@ -139,6 +139,10 @@ describe 'User comments on a diff', :js do
# Making sure it's not a Front-end cache. # Making sure it's not a Front-end cache.
visit(diffs_project_merge_request_path(project, merge_request)) visit(diffs_project_merge_request_path(project, merge_request))
page.within '.line-resolve-all-container' do
page.find('.discussion-next-btn').click
end
expect_appliable_suggestions(2) expect_appliable_suggestions(2)
page.within("[id='#{hash}']") do page.within("[id='#{hash}']") do
......
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