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 failing test in time_entries_spec.rb
Mir Bhatiad5eb98ec63ff
diff --git a/modules/costs/spec/features/time_entries_spec.rb b/modules/costs/spec/features/time_entries_spec.rbindex f5e0e894679..580dafdf2c8 100644--- a/modules/costs/spec/features/time_entries_spec.rb+++ b/modules/costs/spec/features/time_entries_spec.rb@@ -84,7 +84,9 @@ describe 'Work Package table cost entries', js: true docheck('Spent time')click_on 'Apply'- expect(page).to have_selector('.op-activity-list--item-title', text: '10.00 hours')- expect(page).to have_selector('.op-activity-list--item-title', text: '2.50 hours')+ wp1 = time_entry1.work_package+ wp2 = time_entry2.work_package+ expect(page).to have_selector('.op-activity-list--item-title', text: "#{wp1.type.name} ##{wp1.id}: #{wp1.subject}")+ expect(page).to have_selector('.op-activity-list--item-title', text: "#{wp2.type.name} ##{wp2.id}: #{wp2.subject}")endend