-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from Informatievlaanderen/chore/add-queueing
Chore/add queueing
- Loading branch information
Showing
10 changed files
with
461 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<title>Test Runs Overview</title> | ||
<meta http-equiv="refresh" content="{{refresh}}"> | ||
<script src="https://code.jquery.com/jquery-3.7.1.min.js" | ||
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script> | ||
<script type="text/javascript"> | ||
function reload() { location.reload(); } | ||
function cancelTest(id, headers) { $.ajax({ type: "DELETE", url: "/test/" + id, headers: headers, success: reload }); } | ||
function resume(headers) { $.ajax({ type: "POST", url: "/status/resume", headers: headers, success: reload }); } | ||
</script> | ||
</head> | ||
|
||
<body> | ||
<h1>Test Runner</h1> | ||
<p><strong>Status</strong>: {{status}}{{#action}} <input id="action" type="button" value="{{label}}" | ||
onclick="{{onClick}}" />{{/action}}</p> | ||
<h2>Queued Tests</h2> | ||
{{^queued}} | ||
<p>No queued tests found.</p> | ||
{{/queued}} | ||
<ul> | ||
{{#queued}} | ||
<li>{{name}} (queued at: {{timestamp}}, category: {{category}})</li> | ||
{{/queued}} | ||
</ul> | ||
<h2>Running Test</h2> | ||
{{^current}} | ||
<p>No test running.</p> | ||
{{/current}} | ||
{{#current}} | ||
<p> | ||
<strong>Test</strong>: {{name}}</br> | ||
<strong>Started at</strong>: {{timestamp}}, see <a href="{{link}}" target="_blank">{{text}}</a></br> | ||
<strong>Category</strong>: {{category}} | ||
</p> | ||
{{/current}} | ||
<h2>Completed Tests</h2> | ||
{{^tests}} | ||
<p>No completed tests found.</p> | ||
{{/tests}} | ||
{{#tests}} | ||
<h3>Category: {{category}}</h3> | ||
{{#group}}<h4>Test: {{name}}</h4> | ||
<ul> | ||
{{#group}} | ||
<li>Test run started at {{timestamp}}: {{status}}, see <a href="{{link}}" target="_blank">{{text}}</a></li> | ||
{{/group}} | ||
</ul> | ||
{{/group}} | ||
{{/tests}} | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.