Skip to content

A platform for community discussion. Free, open, simple.

DEV: Run theme tests in random order (#28841)

Jarek Radosze87d0addf7ad
diff --git a/lib/tasks/qunit.rake b/lib/tasks/qunit.rake
index 713a2ca97a4..77a4a195e63 100644
--- a/lib/tasks/qunit.rake
+++ b/lib/tasks/qunit.rake
@@ -119,6 +119,7 @@ task "qunit:test", %i[qunit_path filter] do |_, args|
ENV["THEME_IDS"]
.split("|")
.map { |theme_id| "#{qunit_path}?#{query}&testem=1&id=#{theme_id}" }
+ .shuffle
.join(",")
else
"#{qunit_path}?#{query}&testem=1"