Skip to content

Fix flaky tests in work items feature specs

Eugenia Grieff requested to merge fix-project-work-items-flaky-tests into master

What does this MR do and why?

Related to gitlab-org/quality/engineering-productivity/master-broken-incidents#5971 (closed)

Fix flaky tests in spec/features/projects/work_items/work_item_spec.rb

Instead of assigning the user sole within a before block, sign in with a user that already have that role. Also in the assignees examples assign a different user than the current user, unless we are testing the assign yourself option.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Eugenia Grieff

Merge request reports