mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-29 17:49:14 +00:00 
			
		
		
		
	Fix the AUT flakiness in NotificationAlert and ServiceIngestion specs (#23489)
(cherry picked from commit 2ec118b4db1e8fc67b9653f3a30b44c84a888f12)
This commit is contained in:
		
							parent
							
								
									588029b1cb
								
							
						
					
					
						commit
						fc21818a14
					
				| @ -259,17 +259,6 @@ test.describe('Advanced Search', { tag: '@advanced-search' }, () => { | ||||
|     await afterAction(); | ||||
|   }); | ||||
| 
 | ||||
|   test.afterAll('Cleanup', async ({ browser }) => { | ||||
|     test.slow(true); | ||||
| 
 | ||||
|     const { apiContext, afterAction } = await createNewPage(browser); | ||||
|     await EntityDataClass.postRequisitesForTests(apiContext, creationConfig); | ||||
|     await glossaryEntity.delete(apiContext); | ||||
|     await user.delete(apiContext); | ||||
|     await table.delete(apiContext); | ||||
|     await afterAction(); | ||||
|   }); | ||||
| 
 | ||||
|   test.beforeEach(async ({ page }) => { | ||||
|     await redirectToHomePage(page); | ||||
|     await sidebarClick(page, SidebarItem.EXPLORE); | ||||
|  | ||||
| @ -40,6 +40,7 @@ class ApiIngestionClass extends ServiceBaseClass { | ||||
|       shouldAddIngestion, | ||||
|       shouldAddDefaultFilters | ||||
|     ); | ||||
|     this.entityFQN = `${this.serviceName}.${this.entityName} `; | ||||
|   } | ||||
| 
 | ||||
|   async createService(page: Page) { | ||||
|  | ||||
| @ -80,6 +80,10 @@ export const addExternalDestination = async ({ | ||||
|     `[data-testid="destination-category-select-${destinationNumber}"]` | ||||
|   ); | ||||
| 
 | ||||
|   await page.waitForSelector(`.ant-select-dropdown:visible`, { | ||||
|     state: 'visible', | ||||
|   }); | ||||
| 
 | ||||
|   // Select external tab
 | ||||
|   await page.click(`[data-testid="tab-label-external"]:visible`); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Aniket Katkar
						Aniket Katkar