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 settings paused method selectors to use the new datepicker
Dombi Attila3f6de2fff63e
diff --git a/spec/support/pages/reminders/settings.rb b/spec/support/pages/reminders/settings.rbindex 2f679d18b94..a3db4f41737 100644--- a/spec/support/pages/reminders/settings.rb+++ b/spec/support/pages/reminders/settings.rb@@ -116,17 +116,16 @@ module Pagesendif first && last- expect(page).to have_selector('[data-qa-selector="op-datepicker-multi-trigger"]',- text: "#{first.iso8601} - #{last.iso8601}")+ expect(page).to have_selector('[data-qa-selector="op-multi-date-picker"] input',+ value: "#{first.iso8601} - #{last.iso8601}")endenddef set_paused(paused, first: nil, last: nil)if pausedcheck 'Temporarily pause daily email reminders'- page.within('op-multi-date-picker') do- click_button '-'- end++ page.find('op-multi-date-picker input').clickfill_in 'startDate', with: first.iso8601fill_in 'endDate', with: last.iso8601sleep 1