mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 10:39:30 +00:00 
			
		
		
		
	PLAYWRIGHT: fix flaky playwright test (#19309)
* fix user detail flaky playwright test * fix the glossary flaky by adding await due to timeout
This commit is contained in:
		
							parent
							
								
									63090da961
								
							
						
					
					
						commit
						0e9c32cdb8
					
				| @ -806,6 +806,8 @@ test.describe('Glossary tests', () => { | |||||||
|   test('Assign Glossary Term to entity and check assets', async ({ |   test('Assign Glossary Term to entity and check assets', async ({ | ||||||
|     browser, |     browser, | ||||||
|   }) => { |   }) => { | ||||||
|  |     test.slow(true); | ||||||
|  | 
 | ||||||
|     const { page, afterAction, apiContext } = await performAdminLogin(browser); |     const { page, afterAction, apiContext } = await performAdminLogin(browser); | ||||||
|     const table = new TableClass(); |     const table = new TableClass(); | ||||||
|     const glossary1 = new Glossary(); |     const glossary1 = new Glossary(); | ||||||
|  | |||||||
| @ -163,7 +163,9 @@ test.describe('User with different Roles', () => { | |||||||
|       state: 'visible', |       state: 'visible', | ||||||
|     }); |     }); | ||||||
| 
 | 
 | ||||||
|     await userPage.locator(descriptionBox).clear(); |     await userPage.click(descriptionBox); | ||||||
|  |     await userPage.keyboard.press('ControlOrMeta+A'); | ||||||
|  |     await userPage.keyboard.press('Backspace'); | ||||||
| 
 | 
 | ||||||
|     await expect(userPage.locator(descriptionBox)).not.toContainText( |     await expect(userPage.locator(descriptionBox)).not.toContainText( | ||||||
|       'Name of the User' |       'Name of the User' | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ashish Gupta
						Ashish Gupta