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
Fix visibility of `Pages::FullWorkPackageCreate#set_status`
Christophe Bliard6e025eda22d1
diff --git a/spec/support/pages/work_packages/full_work_package_create.rb b/spec/support/pages/work_packages/full_work_package_create.rbindex d1f42d1ee33..b091ea12f52 100644--- a/spec/support/pages/work_packages/full_work_package_create.rb+++ b/spec/support/pages/work_packages/full_work_package_create.rb@@ -33,6 +33,16 @@ require "support/pages/work_packages/abstract_work_package_create"module Pagesclass FullWorkPackageCreate < AbstractWorkPackageCreate+ def set_status(status)+ # Scroll back to the top to avoid the activation of the status field+ # displaying the dropdown overlapping it as it would prevent additional+ # clicks on it.+ # When scrolled on top, the dropdown is always under it.+ scroll_to_top+ status_field = edit_field(:status)+ status_field.update(status)+ end+privatedef container@@ -49,15 +59,5 @@ module Pagesnew_project_work_packages_path(project.identifier)endend-- def set_status(status)- # Scroll back to the top to avoid the activation of the status field- # displaying the dropdown overlapping it as it would prevent additional- # clicks on it.- # When scrolled on top, the dropdown is always under it.- scroll_to_top- status_field = edit_field(:status)- status_field.update(status)- endendend