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 `custom_fields/create_date_spec` to cuprite

Aaron Contrerasda22c0c9afd7
diff --git a/spec/features/custom_fields/create_date_spec.rb b/spec/features/custom_fields/create_date_spec.rb
index 40c8899dbd4..cb66d497cc7 100644
--- a/spec/features/custom_fields/create_date_spec.rb
+++ b/spec/features/custom_fields/create_date_spec.rb
@@ -1,12 +1,12 @@
require 'spec_helper'
require 'support/pages/custom_fields'
-RSpec.describe 'custom fields', js: true do
+RSpec.describe 'custom fields', js: true, with_cuprite: true do
let(:user) { create(:admin) }
let(:cf_page) { Pages::CustomFields.new }
before do
- login_as(user)
+ login_as user
end
describe "creating a new date custom field" do
@@ -14,6 +14,7 @@ RSpec.describe 'custom fields', js: true do
cf_page.visit!
click_on "Create a new custom field"
+ wait_for_reload
end
it "creates a new date custom field" do