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/notification_center/split_screen_spec` to cuprite

Aaron Contreras2c88f47de42a
diff --git a/spec/features/notifications/notification_center/split_screen_spec.rb b/spec/features/notifications/notification_center/split_screen_spec.rb
index e2f2fd4df52..7acc80cc67e 100644
--- a/spec/features/notifications/notification_center/split_screen_spec.rb
+++ b/spec/features/notifications/notification_center/split_screen_spec.rb
@@ -1,6 +1,8 @@
require 'spec_helper'
-RSpec.describe "Split screen in the notification center", js: true do
+RSpec.describe "Split screen in the notification center",
+ js: true,
+ with_cuprite: true do
let(:global_html_title) { Components::HtmlTitle.new }
let(:center) { Pages::Notifications::Center.new }
let(:split_screen) { Pages::Notifications::SplitScreen.new work_package }
@@ -35,6 +37,7 @@ RSpec.describe "Split screen in the notification center", js: true do
before do
visit home_path
+ wait_for_reload
center.open
end
@@ -112,6 +115,7 @@ RSpec.describe "Split screen in the notification center", js: true do
before do
Notification.where(recipient:).update_all(read_ian: true)
visit home_path
+ wait_for_reload
center.open
end