Skip to content

Attempt to fix flaky spec in `user_edits_issue_spec.rb`

Coung Ngo requested to merge 345229-fix-flaky-spec into master

What does this MR do and why?

This MR attempts to fix a flaky spec in user_edits_issue_spec.rb (#345229)

The test waits to see the system note added syzygy label just now on the issues page after creating a label via quick action. However, after submitting the quick action to the backend, we need to wait for the backend to create it and for the frontend to receive the new system note through its polling mechanism. This might take more time than the default Capybara wait time so we'll try using a higher wait time just for this assertion to see if it fixes the flaky spec.

Screenshots or screen recordings

How to set up and validate locally

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #345229

Merge request reports

Loading