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:
parent
38592dc48e
commit
e87d0addf7
|
@ -119,6 +119,7 @@ task "qunit:test", %i[qunit_path filter] do |_, args|
|
||||||
ENV["THEME_IDS"]
|
ENV["THEME_IDS"]
|
||||||
.split("|")
|
.split("|")
|
||||||
.map { |theme_id| "#{qunit_path}?#{query}&testem=1&id=#{theme_id}" }
|
.map { |theme_id| "#{qunit_path}?#{query}&testem=1&id=#{theme_id}" }
|
||||||
|
.shuffle
|
||||||
.join(",")
|
.join(",")
|
||||||
else
|
else
|
||||||
"#{qunit_path}?#{query}&testem=1"
|
"#{qunit_path}?#{query}&testem=1"
|
||||||
|
|
Loading…
Reference in New Issue