30 lines
841 B
HTML
30 lines
841 B
HTML
{% extends 'dashboard.html' %}
|
|
|
|
{% block page %}
|
|
|
|
{{ render_partial('dashboard/http_functions/header.html', user_id=user_id, function_id=function_id,
|
|
active_tab='tests',
|
|
show_edit_form=True,
|
|
show_logs=True,
|
|
show_client=True,
|
|
show_history=True,
|
|
show_tests=True,
|
|
cancel_url=cancel_url,
|
|
edit_url=url_for('http.editor', function_id=function_id),
|
|
logs_url=url_for('http.logs', function_id=function_id),
|
|
history_url=url_for('http.history', function_id=function_id),
|
|
tests_url=url_for('http.tests', function_id=function_id)) }}
|
|
|
|
<div id="test-runner"></div>
|
|
|
|
<script>
|
|
m.mount(document.getElementById('test-runner'), {
|
|
view: function () {
|
|
return m(TestRunner, {
|
|
function_id: {{ function_id }},
|
|
function_name: '{{ name }}'
|
|
});
|
|
}
|
|
});
|
|
</script>
|
|
{% endblock %} |