mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user