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[Op#52449]: finally fix the feature spec 🎉

Kabiru Mwenja43df625c10cf
diff --git a/modules/storages/spec/features/storages/admin/edit_storage_spec.rb b/modules/storages/spec/features/storages/admin/edit_storage_spec.rb
index bc564bec59b..a6b1de6b09d 100644
--- a/modules/storages/spec/features/storages/admin/edit_storage_spec.rb
+++ b/modules/storages/spec/features/storages/admin/edit_storage_spec.rb
@@ -229,13 +229,13 @@ RSpec.describe "Admin Edit File storage",
aggregate_failures "Health notifications" do
expect(page).to have_test_selector("storage-health-notifications-button", text: "Unsubscribe")
- expect(page).to have_test_selector("storage-storage-health-notifications-description",
+ expect(page).to have_test_selector("storage-health-notifications-description",
text: "All administrators will receive health status email notifications for this storage.")
click_on "Unsubscribe"
expect(page).to have_test_selector("storage-health-notifications-button", text: "Subscribe")
- expect(page).to have_test_selector("storage-storage-health-notifications-description",
+ expect(page).to have_test_selector("storage-health-notifications-description",
text: "Health status email notifications for this storage have been turned off for all administrators.")
end
end
@@ -351,13 +351,13 @@ RSpec.describe "Admin Edit File storage",
aggregate_failures "Health notifications" do
expect(page).to have_test_selector("storage-health-notifications-button", text: "Unsubscribe")
- expect(page).to have_test_selector("storage-storage-health-notifications-description",
+ expect(page).to have_test_selector("storage-health-notifications-description",
text: "All administrators will receive health status email notifications for this storage.")
click_on "Unsubscribe"
expect(page).to have_test_selector("storage-health-notifications-button", text: "Subscribe")
- expect(page).to have_test_selector("storage-storage-health-notifications-description",
+ expect(page).to have_test_selector("storage-health-notifications-description",
text: "Health status email notifications for this storage have been turned off for all administrators.")
end
end