mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	fix(test): 初期セットアップで初期パスワードを入力していないのを修正 (#14685)
This commit is contained in:
		
							parent
							
								
									650e22c90d
								
							
						
					
					
						commit
						a08a38c29a
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -48,6 +48,7 @@ Cypress.Commands.add('registerUser', (username, password, isAdmin = false) => {
 | 
				
			||||||
	cy.request('POST', route, {
 | 
						cy.request('POST', route, {
 | 
				
			||||||
		username: username,
 | 
							username: username,
 | 
				
			||||||
		password: password,
 | 
							password: password,
 | 
				
			||||||
 | 
							...(isAdmin ? { setupPassword: 'example_password_please_change_this_or_you_will_get_hacked' } : {}),
 | 
				
			||||||
	}).its('body').as(username);
 | 
						}).its('body').as(username);
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue