Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Remove now unneeded turning on of the filter

Klaus Zanders0c7c929cee74
diff --git a/spec/features/work_packages/table/queries/bool_cf_filter_spec.rb b/spec/features/work_packages/table/queries/bool_cf_filter_spec.rb
index 7daced59841..246b34a378f 100644
--- a/spec/features/work_packages/table/queries/bool_cf_filter_spec.rb
+++ b/spec/features/work_packages/table/queries/bool_cf_filter_spec.rb
@@ -83,10 +83,6 @@ RSpec.describe 'Work package filtering by bool custom field', :js do
# Add filtering by bool custom field which defaults to false
filters.add_filter(bool_cf.name)
- # Turn the added filter to the "true" value.
- # Ideally this would be the default.
- page.find("#div-values-customField#{bool_cf.id} #{test_selector('spot-switch-handle')}").click
-
wp_table.ensure_work_package_not_listed!(work_package_false, work_package_without, work_package_other_type)
wp_table.expect_work_package_listed(work_package_true)