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 test

Christophe Bliarda6a0e1eb40bd
diff --git a/modules/storages/spec/features/admin_storages_spec.rb b/modules/storages/spec/features/admin_storages_spec.rb
index e579b9b528e..a83511d4d45 100644
--- a/modules/storages/spec/features/admin_storages_spec.rb
+++ b/modules/storages/spec/features/admin_storages_spec.rb
@@ -90,7 +90,7 @@ describe 'Admin storages', type: :feature, js: true do
page.find('.button--icon.icon-delete').click
alert_text = page.driver.browser.switch_to.alert.text
- expect(alert_text).to eq 'Are you sure'
+ expect(alert_text).to eq(I18n.t('storages.delete_warning.storage'))
page.driver.browser.switch_to.alert.accept