Revert "DEV: Run Ember CLI tests in random order" (#15717)

This reverts commit f43bba8d59.

Adding randomness has introduced a lot of flakiness in our ember-cli tests. We should fix those issues at the source. However, given the upcoming stable release, this randomness has been reverted so that the stable release includes a stable test suite. Having a stable test suite on stable will make backporting future commits much easier.
This commit is contained in:
David Taylor
2022-01-26 15:30:03 +00:00
committed by GitHub
parent f5b94f152f
commit 2464839cbf
2 changed files with 3 additions and 10 deletions

View File

@@ -34,13 +34,6 @@ document.addEventListener("discourse-booted", () => {
setup(QUnit.assert);
setupTests(config.APP);
let loader = loadEmberExam();
if (loader.urlParams.size === 0 && !QUnit.config.seed) {
// If we're running in browser, default to random order. Otherwise, let Ember Exam
// handle randomization.
QUnit.config.seed = true;
}
loader.loadModules();
start({
setupTestContainer: false,