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

Use combo_box_list_box in relations feature specs

Alexander Brandon Coles987b2dd50467
diff --git a/spec/support/components/work_packages/create_dialog.rb b/spec/support/components/work_packages/create_dialog.rb
index 5ef35ae00da..b6a6be96acf 100644
--- a/spec/support/components/work_packages/create_dialog.rb
+++ b/spec/support/components/work_packages/create_dialog.rb
@@ -44,11 +44,8 @@ module Components
end
def select_type(value)
- retry_block do
- select_autocomplete page.find_test_selector("work_package_create_dialog_type"),
- query: value,
- select_text: value.upcase,
- results_selector: "#create-work-package-dialog"
+ in_dialog do
+ select_combo_box_option value, from: "Type"
end
end