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

Removed flaky spec

Christophe Bliard6d9a9c80ddb7
diff --git a/spec/features/admin/progress_tracking_spec.rb b/spec/features/admin/progress_tracking_spec.rb
index 480014d6e18..4a4867a7ed9 100644
--- a/spec/features/admin/progress_tracking_spec.rb
+++ b/spec/features/admin/progress_tracking_spec.rb
@@ -91,19 +91,4 @@ RSpec.describe "Progress tracking admin page",
expect(page).to have_field("No change", disabled: true)
expect(page).to have_field("Automatically set to 100%", disabled: true)
end
-
- it "does not keep radio button state when navigating to another page and back" do
- Setting.work_package_done_ratio = "field"
- visit admin_settings_progress_tracking_path
-
- find(:radio_button, "Status-based").click
-
- # navigate to another page, then back
- click_on "General"
- wait_for { page.current_path }.to include(admin_settings_work_packages_general_path)
- page.go_back
-
- # browser should not keep the radio button state (autocomplete="off")
- expect(page).to have_field("Work-based", checked: true)
- end
end