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

still stabilizing spec

ulferts39d2787e41cc
diff --git a/spec/features/work_packages/share_spec.rb b/spec/features/work_packages/share_spec.rb
index 4c80bb8a8a9..6a7b4393af5 100644
--- a/spec/features/work_packages/share_spec.rb
+++ b/spec/features/work_packages/share_spec.rb
@@ -125,10 +125,8 @@ RSpec.describe 'Work package sharing',
perform_enqueued_jobs
expect(ActionMailer::Base.deliveries.size).to eq(1)
- # Closing and reopening the modal will show the same state as before.
- share_modal.close
-
- share_modal.expect_closed
+ # Reopening the modal will show the same state as before.
+ work_package_page.visit!
click_button 'Share'