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
Set monday as start of week to fix team planner specs
Oliver Günther129a44bf9902
diff --git a/modules/calendar/spec/features/calendar_widget_spec.rb b/modules/calendar/spec/features/calendar_widget_spec.rbindex 143cf914e96..d7b3d2bd8fe 100644--- a/modules/calendar/spec/features/calendar_widget_spec.rb+++ b/modules/calendar/spec/features/calendar_widget_spec.rb@@ -30,7 +30,7 @@ require 'spec_helper'require_relative '../../../overviews/spec/support/pages/overview'require_relative '../support/pages/calendar'-RSpec.describe 'Calendar Widget', :js, :with_cuprite do+RSpec.describe 'Calendar Widget', :js, :with_cuprite, with_settings: { start_of_week: 1 } dolet(:project) docreate(:project, enabled_module_names: %w[work_package_tracking calendar_view])enddiff --git a/modules/team_planner/spec/features/team_planner_context_menu_spec.rb b/modules/team_planner/spec/features/team_planner_context_menu_spec.rbindex e91e1f99ced..3054cd7ab24 100644--- a/modules/team_planner/spec/features/team_planner_context_menu_spec.rb+++ b/modules/team_planner/spec/features/team_planner_context_menu_spec.rb@@ -2,7 +2,10 @@ require 'spec_helper'require_relative 'shared_context'require 'features/work_packages/table/context_menu/context_menu_shared_examples'-RSpec.describe 'Work package table context menu', :js, with_ee: %i[team_planner_view] do+RSpec.describe 'Work package table context menu',+ :js,+ with_ee: %i[team_planner_view],+ with_settings: { start_of_week: 1 } doinclude_context 'with team planner full access'let!(:work_package) dodiff --git a/modules/team_planner/spec/features/team_planner_dates_spec.rb b/modules/team_planner/spec/features/team_planner_dates_spec.rbindex d14e2ca81ec..b940244ebc6 100644--- a/modules/team_planner/spec/features/team_planner_dates_spec.rb+++ b/modules/team_planner/spec/features/team_planner_dates_spec.rb@@ -29,7 +29,10 @@require 'spec_helper'require_relative './shared_context'-RSpec.describe 'Team planner working days', js: true, with_ee: %i[team_planner_view] do+RSpec.describe 'Team planner working days',+ js: true,+ with_ee: %i[team_planner_view],+ with_settings: { start_of_week: 1 } doinclude_context 'with team planner full access'context 'with week days defined' dodiff --git a/modules/team_planner/spec/features/team_planner_error_handling_spec.rb b/modules/team_planner/spec/features/team_planner_error_handling_spec.rbindex 17254224970..098d08b1631 100644--- a/modules/team_planner/spec/features/team_planner_error_handling_spec.rb+++ b/modules/team_planner/spec/features/team_planner_error_handling_spec.rb@@ -29,7 +29,9 @@require 'spec_helper'require_relative './shared_context'-RSpec.describe 'Team planner error handling', js: true do+RSpec.describe 'Team planner error handling',+ js: true,+ with_settings: { start_of_week: 1 } doinclude_context 'with team planner full access'let!(:work_package) dodiff --git a/modules/team_planner/spec/features/team_planner_remove_event_spec.rb b/modules/team_planner/spec/features/team_planner_remove_event_spec.rbindex 19d6e5cc0c1..48ba23a3dae 100644--- a/modules/team_planner/spec/features/team_planner_remove_event_spec.rb+++ b/modules/team_planner/spec/features/team_planner_remove_event_spec.rb@@ -30,7 +30,10 @@ require 'spec_helper'require_relative 'shared_context'require_relative '../support/components/add_existing_pane'-RSpec.describe 'Team planner remove event', :js, with_ee: %i[team_planner_view] do+RSpec.describe 'Team planner remove event',+ :js,+ with_ee: %i[team_planner_view],+ with_settings: { start_of_week: 1 } doinclude_context 'with team planner full access'let!(:viewer_role) { create(:project_role, permissions: [:view_work_packages]) }diff --git a/modules/team_planner/spec/features/team_planner_spec.rb b/modules/team_planner/spec/features/team_planner_spec.rbindex 36f34a104e7..31bf31b3a64 100644--- a/modules/team_planner/spec/features/team_planner_spec.rb+++ b/modules/team_planner/spec/features/team_planner_spec.rb@@ -29,7 +29,10 @@require 'spec_helper'require_relative 'shared_context'-RSpec.describe 'Team planner', :js, with_ee: %i[team_planner_view] do+RSpec.describe 'Team planner',+ :js,+ with_ee: %i[team_planner_view],+ with_settings: { start_of_week: 1 } doinclude_context 'with team planner full access'it 'hides the internally used filters' dodiff --git a/modules/team_planner/spec/features/team_planner_subproject_constraints_spec.rb b/modules/team_planner/spec/features/team_planner_subproject_constraints_spec.rbindex 53c9e941579..70c4f32c53c 100644--- a/modules/team_planner/spec/features/team_planner_subproject_constraints_spec.rb+++ b/modules/team_planner/spec/features/team_planner_subproject_constraints_spec.rb@@ -29,7 +29,10 @@require 'spec_helper'require_relative 'shared_context'-RSpec.describe 'Team planner constraints for a subproject', :js, with_ee: %i[team_planner_view] do+RSpec.describe 'Team planner constraints for a subproject',+ :js,+ with_ee: %i[team_planner_view],+ with_settings: { start_of_week: 1 } doinclude_context 'with team planner full access'let!(:other_user) dodiff --git a/modules/team_planner/spec/features/team_planner_user_interaction_spec.rb b/modules/team_planner/spec/features/team_planner_user_interaction_spec.rbindex 4a35fba3307..28782860bc3 100644--- a/modules/team_planner/spec/features/team_planner_user_interaction_spec.rb+++ b/modules/team_planner/spec/features/team_planner_user_interaction_spec.rb@@ -29,7 +29,10 @@require 'spec_helper'require_relative 'shared_context'-RSpec.describe 'Team planner drag&dop and resizing', :js, with_ee: %i[team_planner_view] do+RSpec.describe 'Team planner drag&dop and resizing',+ :js,+ with_ee: %i[team_planner_view],+ with_settings: { start_of_week: 1 } doinclude_context 'with team planner full access'let!(:other_user) do