diff --git a/test/content/runtests.js b/test/content/runtests.js index 2d29ad4aa7..69d891e621 100644 --- a/test/content/runtests.js +++ b/test/content/runtests.js @@ -189,6 +189,7 @@ if(run && ZoteroUnit.tests) { testFiles.push(file.leafName); } } + testFiles.sort(); } else { var specifiedTests = ZoteroUnit.tests.split(","); for (let test of specifiedTests) {