mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 02:28:09 +00:00 
			
		
		
		
	 aa94835a45
			
		
	
	aa94835a45
	
	
	
		
			
			* adds error handling to auth-jwt component for missing roles and fixes bug where role wasn't being retained when using alternate oidc mount path at login * fixes jwt login bug from auth mount tabs and adds test * updates okta-number-challenge success value to arg in template * adds changelog entry * fixes issues logging in manually with jwt * reverts mistaken change
		
			
				
	
	
		
			21 lines
		
	
	
		
			832 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			832 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import { collection, clickable, fillable, text, value, isPresent } from 'ember-cli-page-object';
 | |
| 
 | |
| export default {
 | |
|   tabs: collection('[data-test-auth-method]', {
 | |
|     name: text(),
 | |
|     link: clickable('[data-test-auth-method-link]'),
 | |
|   }),
 | |
|   selectMethod: fillable('[data-test-select=auth-method]'),
 | |
|   username: fillable('[data-test-username]'),
 | |
|   token: fillable('[data-test-token]'),
 | |
|   tokenValue: value('[data-test-token]'),
 | |
|   password: fillable('[data-test-password]'),
 | |
|   errorText: text('[data-test-auth-error]'),
 | |
|   errorMessagePresent: isPresent('[data-test-auth-error]'),
 | |
|   descriptionText: text('[data-test-description]'),
 | |
|   login: clickable('[data-test-auth-submit]'),
 | |
|   oidcRole: fillable('[data-test-role]'),
 | |
|   oidcMoreOptions: clickable('[data-test-yield-content] button'),
 | |
|   oidcMountPath: fillable('#custom-path'),
 | |
| };
 |