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
Switch `notifications/notification_center/notification_center_date_alerts_spec` to cuprite
Aaron Contrerasa73c9842aef0
diff --git a/spec/features/notifications/notification_center/notification_center_date_alerts_spec.rb b/spec/features/notifications/notification_center/notification_center_date_alerts_spec.rbindex 4a886f3133b..9da3edc2037 100644--- a/spec/features/notifications/notification_center/notification_center_date_alerts_spec.rb+++ b/spec/features/notifications/notification_center/notification_center_date_alerts_spec.rb@@ -2,7 +2,10 @@ require 'spec_helper'require 'features/page_objects/notification'# rubocop:disable RSpec/ScatteredLet-RSpec.describe "Notification center date alerts", js: true, with_settings: { journal_aggregation_time_minutes: 0 } do+RSpec.describe "Notification center date alerts",+ js: true,+ with_cuprite: true,+ with_settings: { journal_aggregation_time_minutes: 0 } doinclude ActiveSupport::Testing::TimeHelpers# Find an assignable time zone with the same UTC offset as the local time zone@@ -197,6 +200,7 @@ RSpec.describe "Notification center date alerts", js: true, with_settings: { jouperform_enqueued_jobslogin_as uservisit notifications_center_path+ wait_for_reloadendcontext 'without date alerts ee' do@@ -234,6 +238,7 @@ RSpec.describe "Notification center date alerts", js: true, with_settings: { jou# When switch to date alerts, it shows the alert, no longer the mentionside_menu.click_item 'Date alert'+ wait_for_network_idlecenter.expect_item(notification_wp_double_date_alert, 'Finish date is in 1 day')center.expect_no_item(notification_wp_double_mention)@@ -250,6 +255,7 @@ RSpec.describe "Notification center date alerts", js: true, with_settings: { joucenter.click_item notification_wp_start_pastsplit_screen = Pages::SplitWorkPackage.new wp_start_pastsplit_screen.expect_tab :overview+ wait_for_network_idle# We expect no badge countactivity_tab.expect_no_notification_badge@@ -258,6 +264,7 @@ RSpec.describe "Notification center date alerts", js: true, with_settings: { joucenter.click_item notification_wp_double_date_alertsplit_screen = Pages::SplitWorkPackage.new wp_double_notificationsplit_screen.expect_tab :overview+ wait_for_network_idle# We expect one badgeactivity_tab.expect_notification_count 1@@ -265,6 +272,7 @@ RSpec.describe "Notification center date alerts", js: true, with_settings: { jou# When a work package is updated to a different datewp_double_notification.update_column(:due_date, time_zone.now + 5.days)page.driver.refresh+ wait_for_reloadcenter.expect_item(notification_wp_double_date_alert, 'Finish date is in 5 days')center.expect_no_item(notification_wp_double_mention)