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

Use firefox headless on the code block

Oliver Günthere2db9e2063eb
diff --git a/spec/features/wysiwyg/macros/code_block_macro_spec.rb b/spec/features/wysiwyg/macros/code_block_macro_spec.rb
index 2c0eece5355..864e961569e 100644
--- a/spec/features/wysiwyg/macros/code_block_macro_spec.rb
+++ b/spec/features/wysiwyg/macros/code_block_macro_spec.rb
@@ -28,7 +28,10 @@
require 'spec_helper'
-describe 'Wysiwyg code block macro', type: :feature, js: true do
+describe 'Wysiwyg code block macro',
+ type: :feature,
+ driver: :firefox_headless_en,
+ js: true do
using_shared_fixtures :admin
let(:user) { admin }
let(:project) { FactoryBot.create(:project, enabled_module_names: %w[wiki]) }