66 строки
2.2 KiB
HTML
66 строки
2.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>QUnit Test Suite</title>
|
|
<link rel="stylesheet" href="{{ url('qunit_css') }}?v={{ timestamp }}" type="text/css" media="screen">
|
|
</head>
|
|
<body
|
|
data-app="{{ request.APP.short }}"
|
|
data-appname="{{ request.APP.pretty }}"
|
|
data-appid="{{ request.APP.id }}"
|
|
data-min-beta-version="{{ settings.MIN_BETA_VERSION }}"
|
|
data-nightly-version="8.0"
|
|
data-anonymous="true"
|
|
data-readonly="false"
|
|
data-media-url="{{ MEDIA_URL }}"
|
|
data-paypal-url="/paypal"
|
|
data-default-locale="en-us">
|
|
<h1 id="qunit-header">QUnit Test Suite ({{ suite.name }})</h1>
|
|
<h2 id="qunit-banner"></h2>
|
|
<div id="qunit-testrunner-toolbar"></div>
|
|
{% if in_directory or subsuites %}
|
|
<div id="navigation">
|
|
{% if in_subdirectory %}
|
|
<a href="{{ url('qunit_test_overview', previous_directory) }}">..</a>
|
|
{% endif %}
|
|
|
|
{% for suite in subsuites %}
|
|
<a href="{{ suite }}/">{{ suite }}</a>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
<h2 id="qunit-userAgent"></h2>
|
|
<ol id="qunit-tests"></ol>
|
|
<div id="qunit-fixture">test markup, will be hidden</div>
|
|
<div id="sandbox"><!-- custom Zamboni sandbox area --></div>
|
|
|
|
{% block fixtures %}
|
|
{% endblock %}
|
|
|
|
<script type="text/javascript">
|
|
waffle = {
|
|
flag: function () { return true; },
|
|
switch: function () { return true; },
|
|
sample: function () { return true; }
|
|
}
|
|
</script>
|
|
|
|
<script src="{{ static(url('jsi18n')) }}"></script>
|
|
{% block init_scripts %}
|
|
{% endblock %}
|
|
<script async defer src="{{ static(url('addons.buttons.js')) }}"></script>
|
|
<script type="text/javascript" src="{{ url('qunit_js') }}?v={{ timestamp }}"></script>
|
|
<script type="text/javascript" src="{{ MEDIA_URL }}js/lib/jquery.mockjax.js?v={{ timestamp }}"></script>
|
|
{% for url in suite.extra_urls %}
|
|
<script type="text/javascript" src="{{ url }}?v={{ timestamp }}"></script>
|
|
{% endfor %}
|
|
{% for url in suite.extra_media_urls %}
|
|
<script type="text/javascript" src="{{ MEDIA_URL }}{{ url }}?v={{ timestamp }}"></script>
|
|
{% endfor %}
|
|
{% for file in files %}
|
|
<script type="text/javascript" src="{{ url('qunit_test', file) }}?v={{ timestamp }}"></script>
|
|
{% endfor %}
|
|
|
|
</body>
|
|
</html>
|