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
Revert "working-days spec: fix spec failing depending on the day of the week"
Sebastian Fiedlschusterd1a49369f889
diff --git a/spec/features/admin/working_days_spec.rb b/spec/features/admin/working_days_spec.rbindex 4c3c3c90ec7..8d7090c958e 100644--- a/spec/features/admin/working_days_spec.rb+++ b/spec/features/admin/working_days_spec.rb@@ -199,17 +199,13 @@ describe 'Working Days', js: true dofill_in 'name', with: 'My holiday'end- date1 = Time.zone.today.next_week.next_occurring(:monday) + 1.week+ date1 = Time.zone.today.next_week.next_occurring(:monday)datepicker.set_date date1page.within('[data-qa-selector="op-datepicker-modal"]') doclick_on 'Save'end- expect(page).to have_no_text "A non-working day for this date exists already. " \- "There can only be one non-working day created for " \- "each unique date."-expect(page).to have_selector('.fc-list-event-title', text: 'My holiday')# Add a second day@@ -219,17 +215,13 @@ describe 'Working Days', js: true dofill_in 'name', with: 'Another important day'end- date2 = Time.zone.today.next_week.next_occurring(:tuesday) + 1.week+ date2 = Time.zone.today.next_week.next_occurring(:tuesday)datepicker.set_date date2page.within('[data-qa-selector="op-datepicker-modal"]') doclick_on 'Save'end- expect(page).to have_no_text "A non-working day for this date exists already. " \- "There can only be one non-working day created for " \- "each unique date."-click_on 'Apply changes'click_on 'Save and reschedule'