Potential fix for flaky spec in resolve discussions spec
What does this MR do and why?
The user_resolves_diff_notes_and_discussions_resolve_spec.rb
feature
spec in may be flaky because the test attempts to:
- Resolve a thread
- Reply to a thread to unresolve it
- Confirm that the thread has been unresolved
There may be a race condition between steps 1 and 2. The test should wait for the discussion to be resolved before attempting to write a new note.
Relates to #341546 (closed)
Edited by Stan Hu