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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Switch `projects/create_spec` to cuprite
Aaron Contreras7a413f4bbd8b
diff --git a/spec/features/projects/create_spec.rb b/spec/features/projects/create_spec.rbindex 05b49d44e4c..9e0eee03b15 100644--- a/spec/features/projects/create_spec.rb+++ b/spec/features/projects/create_spec.rb@@ -28,7 +28,9 @@require 'spec_helper'-RSpec.describe 'Projects', 'creation', js: true do+RSpec.describe 'Projects', 'creation',+ js: true,+ with_cuprite: true dolet(:name_field) { FormFields::InputFormField.new :name }current_user { create(:admin) }@@ -45,10 +47,8 @@ RSpec.describe 'Projects', 'creation', js: true doname_field.set_value 'Foo bar'click_button 'Save'- sleep 1-- expect(page).to have_content 'Foo bar'expect(page).to have_current_path /\/projects\/foo-bar\/?/+ expect(page).to have_content 'Foo bar'endit 'does not create a project with an already existing identifier' do@@ -94,8 +94,8 @@ RSpec.describe 'Projects', 'creation', js: true dofind('.op-fieldset--toggle', text: 'ADVANCED SETTINGS').click- expect(page).to have_no_content 'Active'- expect(page).to have_no_content 'Identifier'+ expect(page).not_to have_content 'Active'+ expect(page).not_to have_content 'Identifier'endcontext 'with optional and required custom fields' do@@ -111,7 +111,7 @@ RSpec.describe 'Projects', 'creation', js: true dois_required: true)end- it 'seperates optional and required custom fields for new' do+ it 'separates optional and required custom fields for new' dovisit new_project_pathexpect(page).to have_content 'Required Foo'