mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-11-03 20:19:31 +00:00 
			
		
		
		
	Increase the test timeout for advanced search playwright tests to avoid AUT flakiness (#19555)
(cherry picked from commit cb9b5d4a620d7ca6c070ef2a80a0b643c0245f5d)
This commit is contained in:
		
							parent
							
								
									f5ec56d7eb
								
							
						
					
					
						commit
						373e8a2d59
					
				@ -26,6 +26,11 @@ import { createNewPage, redirectToHomePage } from '../../utils/common';
 | 
			
		||||
import { addMultiOwner, assignTag, assignTier } from '../../utils/entity';
 | 
			
		||||
import { sidebarClick } from '../../utils/sidebar';
 | 
			
		||||
 | 
			
		||||
test.describe.configure({
 | 
			
		||||
  // 4 minutes to avoid test timeout happening some times in AUTs
 | 
			
		||||
  timeout: 4 * 60 * 1000,
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
test.describe('Advanced Search', { tag: '@advanced-search' }, () => {
 | 
			
		||||
  // use the admin user to login
 | 
			
		||||
  test.use({ storageState: 'playwright/.auth/admin.json' });
 | 
			
		||||
@ -42,8 +47,6 @@ test.describe('Advanced Search', { tag: '@advanced-search' }, () => {
 | 
			
		||||
  let searchCriteria: Record<string, any> = {};
 | 
			
		||||
 | 
			
		||||
  test.beforeAll('Setup pre-requests', async ({ browser }) => {
 | 
			
		||||
    test.setTimeout(150000);
 | 
			
		||||
 | 
			
		||||
    const { page, apiContext, afterAction } = await createNewPage(browser);
 | 
			
		||||
    await Promise.all([
 | 
			
		||||
      user1.create(apiContext),
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user