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

Remove flaky high contrast feature test

Kabiru Mwenja15475aec8ec6
diff --git a/spec/features/my/interface_spec.rb b/spec/features/my/interface_spec.rb
index eb0338ff2a7..6d4f694f0b2 100644
--- a/spec/features/my/interface_spec.rb
+++ b/spec/features/my/interface_spec.rb
@@ -77,12 +77,5 @@ RSpec.describe "My account Interface settings",
expect(page).to have_css("body[data-color-mode='dark'][data-dark-theme='dark']")
end
end
-
- context "with OS contrasting mode", driver: :firefox_light_high_contrast do
- it "syncs with OS colour mode" do
- set_automatic_mode_with_reload
- expect(page).to have_css("body[data-color-mode='light'][data-light-theme='light_high_contrast']")
- end
- end
end
end
diff --git a/spec/support/browsers/firefox.rb b/spec/support/browsers/firefox.rb
index 7b5b68e65e3..fc0b2a58956 100644
--- a/spec/support/browsers/firefox.rb
+++ b/spec/support/browsers/firefox.rb
@@ -60,8 +60,3 @@ end
register_firefox "en"
# Register german locale for custom field decimal test
register_firefox "de"
-
-register_firefox "en", name: :firefox_light_high_contrast do |profile, _options|
- # 2 = more, 1 = less, 0 = no-preference, 3 = forced-colors only
- profile["layout.css.prefers-contrast.content-override"] = 2
-end