Skip to content

Fix spec/features/issues/list/csv_spec.rb for work_item_view_for_issues FF

We need to fix spec/features/issues/list/csv_spec.rb to pass with the work_item_view_for_issues feature flag enabled.

First we need to stub the feature flag to true like below then fix the rest of the spec to pass.

diff --git a/spec/features/issues/list/csv_spec.rb b/spec/features/issues/list/csv_spec.rb
index e9f75bc3da0a..802a9a7994cb 100644
--- a/spec/features/issues/list/csv_spec.rb
+++ b/spec/features/issues/list/csv_spec.rb
@@ -16,6 +16,7 @@
     # we won't need the tests for the issues listing page, since we'll be using
     # the work items listing page.
     stub_feature_flags(work_item_planning_view: false)
+    stub_feature_flags(work_item_view_for_issues: true)
 
     sign_in(user)
     visit project_issues_path(project)