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

tests[Op#50737]: wait for flash message after storage creation

Kabiru Mwenjafb10c2b83f6c
diff --git a/modules/storages/spec/features/admin_storages_spec.rb b/modules/storages/spec/features/admin_storages_spec.rb
index 47d4c5a9646..68035f8403a 100644
--- a/modules/storages/spec/features/admin_storages_spec.rb
+++ b/modules/storages/spec/features/admin_storages_spec.rb
@@ -277,8 +277,8 @@ RSpec.describe 'Admin storages',
end
expect(page).to have_current_path(admin_settings_storages_path)
- expect(page).to have_text("Storage connected successfully! Remember to activate the module and the specific " \
- "storage in the project settings of each desired project to use it.")
+ wait_for(page).to have_text("Storage connected successfully! Remember to activate the module and the specific " \
+ "storage in the project settings of each desired project to use it.")
end
end
end