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

Revert "Fix move work package specs by fixing the context menu opening"

Dombi Attila08e4fcea3893
diff --git a/spec/support/components/work_packages/context_menu.rb b/spec/support/components/work_packages/context_menu.rb
index 3da0c81179d..242533dd7fe 100644
--- a/spec/support/components/work_packages/context_menu.rb
+++ b/spec/support/components/work_packages/context_menu.rb
@@ -39,7 +39,7 @@ module Components
def open_for(work_package, card_view: nil)
# Close
find('body').send_keys :escape
- sleep 0.5
+ sleep 0.5 unless using_cuprite?
if card_view
page.find(".op-wp-single-card-#{work_package.id}").right_click