Skip to content

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

adjust specs to not expect a theme select on the pdf tab

as-op5ea34d9e8fb4
diff --git a/spec/features/custom_styles/tabs_navigation_spec.rb b/spec/features/custom_styles/tabs_navigation_spec.rb
index 788c0a744a8..2ab45898a2e 100644
--- a/spec/features/custom_styles/tabs_navigation_spec.rb
+++ b/spec/features/custom_styles/tabs_navigation_spec.rb
@@ -93,12 +93,6 @@ RSpec.describe "Tabs navigation and content switching on the admin/design page"
click_on "PDF export styles"
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 (default)", from: "theme")
- find("[data-test-selector='color-theme-button']").click
- expect_flash(message: I18n.t(:notice_successful_update))
- expect(page).to have_current_path custom_style_path(tab: "pdf_export_styles")
-
# change export cover text color and redirect to the PDF export styles tab
fill_in "export_cover_text_color", with: "#333"
find("[data-test-selector='text-color-change']").click