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 `projects/projects_portfolio_spec` to cuprite

Aaron Contrerase3653634f9ba
diff --git a/spec/features/projects/projects_portfolio_spec.rb b/spec/features/projects/projects_portfolio_spec.rb
index 43baf87f21e..28e7d72f13d 100644
--- a/spec/features/projects/projects_portfolio_spec.rb
+++ b/spec/features/projects/projects_portfolio_spec.rb
@@ -29,7 +29,9 @@
require 'spec_helper'
RSpec.describe 'Projects index page',
- js: true, with_ee: %i[custom_fields_in_projects_list], with_settings: { login_required?: false } do
+ js: true,
+ with_cuprite: true,
+ with_ee: %i[custom_fields_in_projects_list], with_settings: { login_required?: false } do
shared_let(:admin) { create(:admin) }
let(:modal) { Components::WorkPackages::TableConfigurationModal.new }
diff --git a/spec/support/pages/projects/index.rb b/spec/support/pages/projects/index.rb
index fec81d56363..a771601a109 100644
--- a/spec/support/pages/projects/index.rb
+++ b/spec/support/pages/projects/index.rb
@@ -148,6 +148,7 @@ module Pages
row.hover
menu = find('ul.project-actions')
menu.click
+ wait_for_network_idle if using_cuprite?
expect(page).to have_selector('.menu-drop-down-container')
yield menu
end