<%= discourse_color_scheme_stylesheets %> <%- if !@suggested_themes %> <%= preload_script "locales/#{I18n.locale}" %> <%= preload_script "vendor" %> <%= preload_script "discourse" %> <%= preload_script "admin" %> <%- Discourse.find_plugin_js_assets(include_disabled: true).each do |file| %> <%= preload_script file %> <%- end %> <%= preload_script "test-support" %> <%= preload_script "test-helpers" %> <%= theme_translations_lookup %> <%= theme_js_lookup %> <%= theme_lookup("head_tag") %> <%= theme_tests %> <%= tag.meta id: 'data-discourse-setup', data: client_side_setup_data %> <%= discourse_stylesheet_link_tag(:desktop, theme_id: nil) %> <%- else %> <%- end %> <%- if params['testem'] %> <%- end %> <%- if @suggested_themes %>

Theme QUnit Test Runner

<%- if @suggested_themes.size == 0 %>

Cannot find any theme tests.

<%- else %>

Select a theme/component:

<%- @suggested_themes.each do |(id, name)| %>

<%= link_to name, theme_qunit_path(id: id) %>

<%- end %> <%- end %> <%- end %> <%- if !@suggested_themes %> <%= preload_script "scripts/discourse-test-listen-boot" %> <%= preload_script "scripts/discourse-boot" %> <%- end %>