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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Ensure Enterprise stub is registered before the modal is requested
Aaron Contreras0435634fa05c
diff --git a/spec/features/work_packages/share/multi_invite_spec.rb b/spec/features/work_packages/share/multi_invite_spec.rbindex 3e5b4391371..e7f804fd34e 100644--- a/spec/features/work_packages/share/multi_invite_spec.rb+++ b/spec/features/work_packages/share/multi_invite_spec.rb@@ -191,12 +191,10 @@ RSpec.describe 'Work package sharing',let(:global_manager_user) { create(:user, global_permissions: %i[manage_user create_user]) }let(:current_user) { global_manager_user }- before do+ it 'allows creating multiple users at once' dowork_package_page.visit!click_button 'Share'- end- it 'allows creating multiple users at once' doshare_modal.expect_openshare_modal.expect_shared_count_of(1)@@ -234,6 +232,9 @@ RSpec.describe 'Work package sharing',endit 'allows sharing with an existing user and creating a new one at the same time' do+ work_package_page.visit!+ click_button 'Share'+share_modal.expect_openshare_modal.expect_shared_count_of(1)@@ -265,7 +266,8 @@ RSpec.describe 'Work package sharing',endit 'shows a warning as soon as you reach the user limit' do- pending 'Spec is still flickering, see https://community.openproject.org/work_packages/51185'+ work_package_page.visit!+ click_button 'Share'share_modal.expect_openshare_modal.expect_shared_count_of(1)