mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	fix: e2e cypress create flag delay (#8968)
This commit is contained in:
		
							parent
							
								
									bdfccc534a
								
							
						
					
					
						commit
						de7b95a691
					
				
							
								
								
									
										1
									
								
								.github/workflows/validate-migrations.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/validate-migrations.yaml
									
									
									
									
										vendored
									
									
								
							| @ -6,6 +6,7 @@ on: | |||||||
|       - main |       - main | ||||||
|     paths: |     paths: | ||||||
|       - 'src/migrations/**' |       - 'src/migrations/**' | ||||||
|  |       - 'frontend/cypress/**' | ||||||
|       - '.github/workflows/validate-migrations.yaml' |       - '.github/workflows/validate-migrations.yaml' | ||||||
|       - 'test-migrations/**' |       - 'test-migrations/**' | ||||||
|       - 'frontend/cypress' |       - 'frontend/cypress' | ||||||
|  | |||||||
| @ -58,6 +58,8 @@ export const createFeature_UI = ( | |||||||
|     const uiOpts = forceInteractions ? { force: true } : undefined; |     const uiOpts = forceInteractions ? { force: true } : undefined; | ||||||
|     cy.visit(`/projects/${projectName}`); |     cy.visit(`/projects/${projectName}`); | ||||||
| 
 | 
 | ||||||
|  |     cy.wait(5_000); | ||||||
|  | 
 | ||||||
|     cy.get('[data-testid=NAVIGATE_TO_CREATE_FEATURE').click(uiOpts); |     cy.get('[data-testid=NAVIGATE_TO_CREATE_FEATURE').click(uiOpts); | ||||||
| 
 | 
 | ||||||
|     cy.intercept('POST', `/api/admin/projects/${projectName}/features`).as( |     cy.intercept('POST', `/api/admin/projects/${projectName}/features`).as( | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user