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

Attempt to stabilize a feature spec

Christophe Bliardb5eba2141d73
diff --git a/spec/features/work_packages/bulk/copy_work_package_spec.rb b/spec/features/work_packages/bulk/copy_work_package_spec.rb
index ac974ed5422..3aed8b833f4 100644
--- a/spec/features/work_packages/bulk/copy_work_package_spec.rb
+++ b/spec/features/work_packages/bulk/copy_work_package_spec.rb
@@ -76,6 +76,7 @@ describe 'Copy work packages through Rails view', js: true do
select_text: project2.name,
results_selector: 'body'
end
+ sleep(1) # wait for the change of target project to finish updating the page
end
it 'sets the version on copy and leaves a note' do