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

Aaron Contreras8b01997286a9
diff --git a/spec/features/custom_fields/create_bool_spec.rb b/spec/features/custom_fields/create_bool_spec.rb
index 20cc5cd6420..b94d79872d2 100644
--- a/spec/features/custom_fields/create_bool_spec.rb
+++ b/spec/features/custom_fields/create_bool_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 "available fields" do
@@ -28,6 +28,7 @@ RSpec.describe 'custom fields', js: true do
before do
cf_page.visit!
click_on "Create a new custom field"
+ wait_for_reload
end
it "creates a new bool custom field" do