Commit 0fcb6d33 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch '48093-fix-flakey-notes-background-process-specs' into 'master'

Fix flakey time-sensitive notes creation specs that rely on background Sidekiq jobs

Closes #48093

See merge request gitlab-org/gitlab-ce!19979
parents 719e0dc3 c46ff7de
......@@ -13,7 +13,7 @@ module Spec
module Features
module NotesHelpers
def add_note(text)
Sidekiq::Testing.fake! do
perform_enqueued_jobs do
page.within(".js-main-target-form") do
fill_in("note[note]", with: text)
find(".js-comment-submit-button").click
......
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