mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 10:39:30 +00:00 
			
		
		
		
	fix(test): playwright flaky tests (#17980)
(cherry picked from commit ad920cf0efe721fc94708a723464dc428f19aa63)
This commit is contained in:
		
							parent
							
								
									95bfb5b912
								
							
						
					
					
						commit
						ccb461469d
					
				| @ -21,6 +21,8 @@ test.use({ storageState: 'playwright/.auth/admin.json' }); | |||||||
| 
 | 
 | ||||||
| const table1 = new TableClass(); | const table1 = new TableClass(); | ||||||
| 
 | 
 | ||||||
|  | test.slow(true); | ||||||
|  | 
 | ||||||
| test.describe('Table pagination sorting search scenarios ', () => { | test.describe('Table pagination sorting search scenarios ', () => { | ||||||
|   test.beforeAll('Setup pre-requests', async ({ browser }) => { |   test.beforeAll('Setup pre-requests', async ({ browser }) => { | ||||||
|     const { afterAction, apiContext } = await createNewPage(browser); |     const { afterAction, apiContext } = await createNewPage(browser); | ||||||
|  | |||||||
| @ -21,6 +21,7 @@ setup.use({ | |||||||
| 
 | 
 | ||||||
| setup.describe.configure({ | setup.describe.configure({ | ||||||
|   timeout: process.env.PLAYWRIGHT_IS_OSS ? 150000 : 5600000, |   timeout: process.env.PLAYWRIGHT_IS_OSS ? 150000 : 5600000, | ||||||
|  |   retries: 0, | ||||||
| }); | }); | ||||||
| 
 | 
 | ||||||
| setup( | setup( | ||||||
|  | |||||||
| @ -51,6 +51,7 @@ class RedshiftWithDBTIngestionClass extends ServiceBaseClass { | |||||||
|     const redshiftDatabase = process.env.PLAYWRIGHT_REDSHIFT_DATABASE ?? ''; |     const redshiftDatabase = process.env.PLAYWRIGHT_REDSHIFT_DATABASE ?? ''; | ||||||
| 
 | 
 | ||||||
|     this.filterPattern = 'sales'; |     this.filterPattern = 'sales'; | ||||||
|  |     this.entityFQN = `${REDSHIFT.serviceName}.${redshiftDatabase}.${this.schemaFilterPattern}.${REDSHIFT.tableName}`; | ||||||
|     this.dbtEntityFqn = `${REDSHIFT.serviceName}.${redshiftDatabase}.${this.schemaFilterPattern}.${REDSHIFT.DBTTable}`; |     this.dbtEntityFqn = `${REDSHIFT.serviceName}.${redshiftDatabase}.${this.schemaFilterPattern}.${REDSHIFT.DBTTable}`; | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Chirag Madlani
						Chirag Madlani