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 expecation for type now being upcase
Oliver Günther0ccb4d240344
diff --git a/spec/features/work_packages/details/relations/relations_spec.rb b/spec/features/work_packages/details/relations/relations_spec.rbindex b37550c16c2..abbbfccf751 100644--- a/spec/features/work_packages/details/relations/relations_spec.rb+++ b/spec/features/work_packages/details/relations/relations_spec.rb@@ -101,8 +101,8 @@ describe 'Work package relations tab', js: true, selenium: true doexpect(page).to have_selector('.relation-group--header', text: 'FOLLOWS')expect(page).to have_selector('.relation-group--header', text: 'RELATED TO')- expect(page).to have_selector('.relation-row--type', text: type_1.name)- expect(page).to have_selector('.relation-row--type', text: type_2.name)+ expect(page).to have_selector('.relation-row--type', text: type_1.name.upcase)+ expect(page).to have_selector('.relation-row--type', text: type_2.name.upcase)find(toggle_btn_selector).clickexpect(page).to have_selector(toggle_btn_selector, text: 'Group by relation type', wait: 10)diff --git a/spec/support/components/work_packages/relations.rb b/spec/support/components/work_packages/relations.rbindex 240bb92c34f..8dee65ec154 100644--- a/spec/support/components/work_packages/relations.rb+++ b/spec/support/components/work_packages/relations.rb@@ -110,7 +110,7 @@ module Componentstext: relation_label.upcase,wait: 10)- expect(page).to have_selector('.relation-row--type', text: to.type.name)+ expect(page).to have_selector('.relation-row--type', text: to.type.name.upcase)expect(page).to have_selector('.wp-relations--subject-field', text: to.subject)