mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-11-03 20:17:59 +00: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>
		
			
				
	
	
		
			42 lines
		
	
	
		
			1018 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1018 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
/**
 | 
						|
 * Copyright (c) HashiCorp, Inc.
 | 
						|
 * SPDX-License-Identifier: BUSL-1.1
 | 
						|
 */
 | 
						|
 | 
						|
'use strict';
 | 
						|
 | 
						|
module.exports = {
 | 
						|
  test_page: 'tests/index.html?hidepassed&enableA11yAudit',
 | 
						|
  tap_quiet_logs: true,
 | 
						|
  tap_failed_tests_only: true,
 | 
						|
  disable_watching: true,
 | 
						|
  launch_in_ci: ['Chrome'],
 | 
						|
  browser_start_timeout: 120,
 | 
						|
  browser_args: {
 | 
						|
    Chrome: {
 | 
						|
      ci: [
 | 
						|
        // --no-sandbox is needed when running Chrome inside a container
 | 
						|
        process.env.CI ? '--no-sandbox' : null,
 | 
						|
        '--headless',
 | 
						|
        '--disable-dev-shm-usage',
 | 
						|
        '--disable-software-rasterizer',
 | 
						|
        '--mute-audio',
 | 
						|
        '--remote-debugging-port=0',
 | 
						|
        '--window-size=1440,900',
 | 
						|
      ].filter(Boolean),
 | 
						|
    },
 | 
						|
  },
 | 
						|
  proxies: {
 | 
						|
    '/v1': {
 | 
						|
      target: 'http://127.0.0.1:9200',
 | 
						|
    },
 | 
						|
  },
 | 
						|
  parallel: process.env.EMBER_EXAM_SPLIT_COUNT || 1,
 | 
						|
};
 | 
						|
 | 
						|
if (process.env.CI) {
 | 
						|
  module.exports.reporter = 'xunit';
 | 
						|
  module.exports.report_file = 'test-results/qunit/results.xml';
 | 
						|
  module.exports.xunit_intermediate_output = true;
 | 
						|
}
 |