diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 93bf56d8f52..6ab6fa2dfc1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -158,11 +158,10 @@ jobs: run: QUNIT_EMBER_CLI=0 bin/rake qunit:test['1200000'] timeout-minutes: 30 - # Wizard tests are failing so disabled for now while we investigate - # - name: Wizard QUnit (Legacy) - # if: matrix.build_type == 'frontend-legacy' && matrix.target == 'core' - # run: QUNIT_EMBER_CLI=0 bin/rake qunit:test['600000','/wizard/qunit'] - # timeout-minutes: 10 + - name: Wizard QUnit (Legacy) + if: matrix.build_type == 'frontend-legacy' && matrix.target == 'core' + run: QUNIT_EMBER_CLI=0 bin/rake qunit:test['600000','/wizard/qunit'] + timeout-minutes: 10 - name: Plugin QUnit (Legacy) if: matrix.build_type == 'frontend-legacy' && matrix.target == 'plugins' diff --git a/app/assets/javascripts/wizard/test/test_helper.js b/app/assets/javascripts/wizard/test/test_helper.js index 9194035e88e..39ed80b0dd5 100644 --- a/app/assets/javascripts/wizard/test/test_helper.js +++ b/app/assets/javascripts/wizard/test/test_helper.js @@ -50,6 +50,13 @@ let createPretendServer = requirejs( ).default; let server; + +const queryParams = new URLSearchParams(window.location.search); + +if (queryParams.get("qunit_disable_auto_start") === "1") { + QUnit.config.autostart = false; +} + QUnit.testStart(function () { server = createPretendServer(); });