<%= discourse_color_scheme_stylesheets %> <%- if !@suggested_themes %> <%= discourse_stylesheet_link_tag(:desktop, theme_id: nil) %> <%= discourse_stylesheet_link_tag(:test_helper, theme_id: nil) %> <%= preload_script "locales/en" %> <%= preload_script "discourse/tests/theme_qunit_ember_jquery" %> <%= preload_script "discourse/tests/theme_qunit_vendor" %> <%= preload_script "discourse/tests/theme_qunit_tests_vendor" %> <%= preload_script "markdown-it-bundle" %> <%= preload_script "application" %> <%- Discourse.find_plugin_js_assets(include_official: allow_plugins?, include_unofficial: allow_third_party_plugins?, request: request).each do |file| %> <%= preload_script file %> <%- end %> <%= preload_script "admin" %> <%= preload_script "discourse/tests/theme_qunit_helper" %> <%= theme_translations_lookup %> <%= theme_js_lookup %> <%= theme_lookup("head_tag") %> <%= theme_tests %> <%= tag.meta id: 'data-discourse-setup', data: client_side_setup_data %> <%= preload_script "discourse/tests/test_starter" %> <%- else %> <%- end %> <%- if !@suggested_themes %>
<%- else %>

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_url(id: id) %>

<%- end %> <%- end %> <%- end %>