test: add test for user deletion functionality
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Playwright Tests / test (pull_request) Failing after 2m34s
				
			
		
		
	
	
		
	
		
			Some checks failed
		
		
	
	Playwright Tests / test (pull_request) Failing after 2m34s
				
			This commit is contained in:
		
					parent
					
						
							
								c29ae4ef18
							
						
					
				
			
			
				commit
				
					
						007a2f041b
					
				
			
		
					 1 changed files with 9 additions and 0 deletions
				
			
		|  | @ -34,4 +34,13 @@ test.describe('mitarbeiter', () => { | |||
|     expect(page.url()).toContain('mitarbeiterbearbeiten'); | ||||
|     expect(page.url()).toContain('1'); | ||||
|   }); | ||||
| 
 | ||||
|   test('DeleteShouldRemoveUser', async ({page}) => { | ||||
|     const button = page.getByText('Delete').first(); | ||||
|     await button.click(); | ||||
| 
 | ||||
|     const user = page.getByText('Max'); | ||||
|     expect(user).toBeFalsy(); | ||||
|   }); | ||||
| }); | ||||
| 
 | ||||
|  |  | |||
		Reference in a new issue