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_custom_fields_spec` to cuprite

Aaron Contrerasa824da18ce1d
diff --git a/spec/features/projects/projects_custom_fields_spec.rb b/spec/features/projects/projects_custom_fields_spec.rb
index b4790c0fe23..8b3c3269ff4 100644
--- a/spec/features/projects/projects_custom_fields_spec.rb
+++ b/spec/features/projects/projects_custom_fields_spec.rb
@@ -28,7 +28,9 @@
require 'spec_helper'
-RSpec.describe 'Projects custom fields', js: true do
+RSpec.describe 'Projects custom fields',
+ js: true,
+ with_cuprite: true do
shared_let(:current_user) { create(:admin) }
shared_let(:project) { create(:project, name: 'Foo project', identifier: 'foo-project') }
let(:name_field) { FormFields::InputFormField.new :name }
@@ -161,7 +163,8 @@ RSpec.describe 'Projects custom fields', js: true do
end
context 'with german locale',
- driver: :firefox_de do
+ driver: :firefox_de,
+ with_cuprite: false do
let(:current_user) { create(:admin, language: 'de') }
it 'displays the float with german locale' do