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

Switch `notifications/settings/pause_reminder_settings_spec` to cuprite

Aaron Contrerasa4e472735b4a
diff --git a/spec/features/notifications/settings/pause_reminder_settings_spec.rb b/spec/features/notifications/settings/pause_reminder_settings_spec.rb
index 6532a2c0bd8..caa823e3b86 100644
--- a/spec/features/notifications/settings/pause_reminder_settings_spec.rb
+++ b/spec/features/notifications/settings/pause_reminder_settings_spec.rb
@@ -1,6 +1,8 @@
require 'spec_helper'
-RSpec.describe "Pause reminder settings", js: true do
+RSpec.describe "Pause reminder settings",
+ js: true,
+ with_cuprite: true do
shared_examples 'pause reminder settings' do
let(:first) { Time.zone.today.beginning_of_month }
let(:last) { (Time.zone.today.beginning_of_month + 10.days) }
@@ -18,8 +20,6 @@ RSpec.describe "Pause reminder settings", js: true do
first:,
last:)
- sleep 2
-
reminders_settings_page.save
reminders_settings_page.expect_and_dismiss_toaster(message: I18n.t('js.notice_successful_update'))