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

Aaron Contreras1a552f677b84
diff --git a/spec/features/projects/copy_spec.rb b/spec/features/projects/copy_spec.rb
index 01e445accea..7bb35111648 100644
--- a/spec/features/projects/copy_spec.rb
+++ b/spec/features/projects/copy_spec.rb
@@ -30,7 +30,8 @@ require 'spec_helper'
# rubocop:disable RSpec:MultipleMemoizedHelpers
RSpec.describe 'Projects copy',
- js: true do
+ js: true,
+ with_cuprite: true do
describe 'with a full copy example' do
let!(:project) do
create(:project,
@@ -134,7 +135,7 @@ RSpec.describe 'Projects copy',
clear_performed_jobs
end
- it 'copies projects and the associated objects' do
+ fit 'copies projects and the associated objects' do
original_settings_page = Pages::Projects::Settings.new(project)
original_settings_page.visit!
@@ -142,7 +143,7 @@ RSpec.describe 'Projects copy',
expect(page).to have_text "Copy project \"#{project.name}\""
- fill_in 'Name', with: 'Copied project', wait: 10
+ fill_in 'Name', with: 'Copied project'
# Expand advanced settings
click_on 'Advanced settings'