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

fix flickering types active in project spec

ulferts737da120685a
diff --git a/spec/features/types/activate_in_project_spec.rb b/spec/features/types/activate_in_project_spec.rb
index a236e89a9f3..4f0f1e67042 100644
--- a/spec/features/types/activate_in_project_spec.rb
+++ b/spec/features/types/activate_in_project_spec.rb
@@ -64,6 +64,8 @@ RSpec.describe "types", :js, :with_cuprite do
project_settings_page.save!
+ project_settings_page.expect_and_dismiss_flash(message: "Successful update.")
+
expect(page)
.to have_checked_field(type.name)
expect(page)