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 tests
Behrokh Satarnejad787f1c0f7b83
diff --git a/lib/open_project/custom_styles/color_themes.rb b/lib/open_project/custom_styles/color_themes.rbindex f25f18ff7ee..d5624ee35eb 100644--- a/lib/open_project/custom_styles/color_themes.rb+++ b/lib/open_project/custom_styles/color_themes.rb@@ -30,7 +30,7 @@ module OpenProject::CustomStylesmodule ColorThemesmodule_function- OpenProject::CustomStyles::ColorThemes::DEFAULT_THEME_NAME = "OpenProject default".freeze+ OpenProject::CustomStyles::ColorThemes::DEFAULT_THEME_NAME = "OpenProject (default)".freezeDEPRECATED_ALTERNATIVE_COLOR = "#35C53F".freezeDEPRECATED_PRIMARY_COLOR = "#1A67A3".freeze@@ -61,7 +61,7 @@ module OpenProject::CustomStyles}},{- theme: "OpenProject Grey",+ theme: "OpenProject Gray",colors: {"primary-button-color" => PRIMER_PRIMARY_BUTTON_COLOR,"accent-color" => ACCENT_COLOR,diff --git a/spec/features/custom_styles/tabs_navigation_spec.rb b/spec/features/custom_styles/tabs_navigation_spec.rbindex 443c12cc6e7..2017ef6c606 100644--- a/spec/features/custom_styles/tabs_navigation_spec.rb+++ b/spec/features/custom_styles/tabs_navigation_spec.rb@@ -58,7 +58,7 @@ RSpec.describe "Tabs navigation and content switching on the admin/design page"endit "selects a color theme and redirect to the interface tab" do- select("OpenProject Light", from: "theme")+ select("OpenProject Gray", from: "theme")find("[data-test-selector='color-theme-button']").clickexpect(page).to have_css(".op-toast.-success", text: I18n.t(:notice_successful_update))expect(page).to have_current_path custom_style_path(tab: "interface")@@ -76,7 +76,7 @@ RSpec.describe "Tabs navigation and content switching on the admin/design page"expect(page).to have_current_path custom_style_path(tab: "branding")# select a color theme and redirect to the branding tab- select("OpenProject Dark", from: "theme")+ select("OpenProject Navy Blue", from: "theme")find("[data-test-selector='color-theme-button']").clickexpect(page).to have_css(".op-toast.-success", text: I18n.t(:notice_successful_update))expect(page).to have_current_path custom_style_path(tab: "branding")@@ -92,7 +92,7 @@ RSpec.describe "Tabs navigation and content switching on the admin/design page"expect(page).to have_current_path custom_style_path(tab: "pdf_export_styles")# select a color theme and redirect to the PDF export styles tab- select("OpenProject", from: "theme")+ select("OpenProject (default)", from: "theme")find("[data-test-selector='color-theme-button']").clickexpect(page).to have_css(".op-toast.-success", text: I18n.t(:notice_successful_update))expect(page).to have_current_path custom_style_path(tab: "pdf_export_styles")