mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-30 18:17:55 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			401 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			401 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import { click } from '@ember/test-helpers';
 | |
| const SELECTORS = {
 | |
|   dropdown: '[data-test-copy-menu-trigger]',
 | |
|   wrapButton: '[data-test-wrap-button]',
 | |
| };
 | |
| export default async function assertSecretWrap(assert, server, path) {
 | |
|   server.get(path, () => {
 | |
|     assert.ok(true, `request made to ${path} when wrapping secret`);
 | |
|   });
 | |
|   await click(SELECTORS.dropdown);
 | |
|   await click(SELECTORS.wrapButton);
 | |
| }
 | 
