mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-22 23:21:08 +02:00
* feature(ember-exam): add ember-exam to split ui tests and run them in parallel * update yarn.lock * update package.json scripts * test(oidc): comment out test with race condition in oidc test * chore(test): use 127.0.0.1 in testem config and add uuid to pki mount path * test(kv-workflow): make policy creation unique per-test * chore(test): use --preserve-test-name so flakey test reporting is preserved * yarn test:filter runs ember test instead of exam for easier filtering * fix kv control group tests --------- Co-authored-by: Chelsea Shaw <cshaw@hashicorp.com>
34 lines
915 B
JavaScript
34 lines
915 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import Application from 'vault/app';
|
|
import config from 'vault/config/environment';
|
|
import * as QUnit from 'qunit';
|
|
import { setApplication } from '@ember/test-helpers';
|
|
import { setup } from 'qunit-dom';
|
|
import start from 'ember-exam/test-support/start';
|
|
import './helpers/flash-message';
|
|
import preloadAssets from 'ember-asset-loader/test-support/preload-assets';
|
|
import { setupGlobalA11yHooks, setRunOptions } from 'ember-a11y-testing/test-support';
|
|
import manifest from 'vault/config/asset-manifest';
|
|
|
|
preloadAssets(manifest).then(() => {
|
|
setup(QUnit.assert);
|
|
setApplication(Application.create(config.APP));
|
|
setupGlobalA11yHooks(() => true, {
|
|
helpers: ['render'],
|
|
});
|
|
setRunOptions({
|
|
runOnly: {
|
|
type: 'tag',
|
|
values: ['wcag2a'],
|
|
},
|
|
});
|
|
|
|
start({
|
|
setupTestIsolationValidation: true,
|
|
});
|
|
});
|