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 retried specs in `work_packages/highlighting_spec` to cuprite

Aaron Contrerasa6b9ae98fc40
diff --git a/spec/features/work_packages/highlighting_spec.rb b/spec/features/work_packages/highlighting_spec.rb
index cdd108ffea3..094e826a732 100644
--- a/spec/features/work_packages/highlighting_spec.rb
+++ b/spec/features/work_packages/highlighting_spec.rb
@@ -1,7 +1,8 @@
require 'spec_helper'
RSpec.describe 'Work Package highlighting fields',
- js: true, with_ee: %i[conditional_highlighting] do
+ js: true,
+ with_ee: %i[conditional_highlighting] do
let(:user) { create(:admin) }
let(:project) { create(:project) }
@@ -192,7 +193,7 @@ RSpec.describe 'Work Package highlighting fields',
expect(page).to have_selector(".__hl_inline_priority_#{priority1.id}")
end
- it 'correctly parses custom selected inline attributes' do
+ it 'correctly parses custom selected inline attributes', :with_cuprite do
# Highlight only one attribute
highlighting.switch_inline_attribute_highlight "Priority"