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

that is: randomize the order in which theme test suites are scheduled
This commit is contained in:
Jarek Radosz 2024-09-11 10:45:12 +02:00 committed by GitHub
parent 38592dc48e
commit e87d0addf7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"