From e87d0addf7ade2f5577fe68792afa80bd8cb3113 Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Wed, 11 Sep 2024 10:45:12 +0200 Subject: [PATCH] DEV: Run theme tests in random order (#28841) that is: randomize the order in which theme test suites are scheduled --- lib/tasks/qunit.rake | 1 + 1 file changed, 1 insertion(+) 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"