Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit ba55ae4

Browse files
Milo CasagrandeMiloCasagrande
authored andcommitted
Sort test suite names
1 parent 90cd9ac commit ba55ae4

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

app/dashboard/static/js/app/view-tests-all.2016.3.1.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ require([
275275
gTestsList = String(gTestsList.value).split(',');
276276

277277
if (gTestsList.length > 0) {
278+
gTestsList = gTestsList.sort();
278279
getTests();
279280
}
280281
}

app/dashboard/templates/tests-all.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
<h3>{{ body_title|safe }}</h3>
2222
</div>
2323
</div>
24-
{%- if test_suites|length() > 0 %}
25-
<input type="hidden" id="test-suite-names" value="{{ test_suites|join(',') }}">
26-
{%- for suite in test_suites %}
24+
{%- if test_suites|length > 0 %}
25+
<input type="hidden" id="test-suite-names" value="{{ test_suites|sort|join(',') }}">
26+
{%- for suite in test_suites|sort %}
2727
{% if suite %}
2828
<div class="row">
2929
<div class="page-header">

0 commit comments

Comments
 (0)