Commit c0c0829f authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'add-wait-for-flaky-spec' into 'master'

Add wait to reduce StaleElementReference error

See merge request gitlab-org/gitlab!70391
parents 92ad15f0 2283f205
......@@ -197,6 +197,8 @@ RSpec.shared_examples 'thread comments for issue, epic and merge request' do |re
find(submit_button_selector).click
wait_for_all_requests
expect(page).to have_content(comment)
new_comment = all(comments_selector).last
......
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