mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-11-03 20:19:31 +00:00 
			
		
		
		
	cypress: fixed cypress AUT failure part 4 (#13840)
This commit is contained in:
		
							parent
							
								
									9d238d142a
								
							
						
					
					
						commit
						6dc630b685
					
				@ -439,7 +439,7 @@ export const HTTP_CONFIG_SOURCE = {
 | 
			
		||||
 | 
			
		||||
export const DBT = {
 | 
			
		||||
  classification: 'dbtTags',
 | 
			
		||||
  tagName: 'model_tag_one',
 | 
			
		||||
  tagName: 'model_tag_two',
 | 
			
		||||
  dbtQuery: 'select * from "dev"."dbt_jaffle"."stg_orders"',
 | 
			
		||||
  dbtLineageNodeLabel: 'customers',
 | 
			
		||||
  dbtLineageNode: 'dev.dbt_jaffle.stg_customers',
 | 
			
		||||
 | 
			
		||||
@ -133,24 +133,28 @@ describe('Restore entity functionality should work properly', () => {
 | 
			
		||||
    verifyResponseStatusCode('@nonDeletedTables', 200);
 | 
			
		||||
    cy.get('[data-testid="show-deleted"]').click();
 | 
			
		||||
    verifyResponseStatusCode('@showDeletedTables', 200);
 | 
			
		||||
 | 
			
		||||
    cy.get('[data-testid="entity-header-display-name"]')
 | 
			
		||||
      .contains(ENTITY_TABLE.displayName)
 | 
			
		||||
      .click();
 | 
			
		||||
 | 
			
		||||
    cy.get('[data-testid="deleted-badge"]').should('be.visible');
 | 
			
		||||
 | 
			
		||||
    interceptURL(
 | 
			
		||||
      'GET',
 | 
			
		||||
      '/api/v1/databaseSchemas/name/*?fields=*&include=all',
 | 
			
		||||
      'getDatabaseSchemas'
 | 
			
		||||
    );
 | 
			
		||||
    cy.get('[data-testid="breadcrumb"]')
 | 
			
		||||
      .scrollIntoView()
 | 
			
		||||
      .contains(ENTITY_TABLE.schemaName)
 | 
			
		||||
      .click();
 | 
			
		||||
 | 
			
		||||
    verifyResponseStatusCode('@getDatabaseSchemas', 200);
 | 
			
		||||
    interceptURL(
 | 
			
		||||
      'GET',
 | 
			
		||||
      '/api/v1/tables?databaseSchema=*&include=deleted',
 | 
			
		||||
      'queryDeletedTables'
 | 
			
		||||
    );
 | 
			
		||||
 | 
			
		||||
    cy.get('[data-testid="show-deleted"]').scrollIntoView();
 | 
			
		||||
    cy.get('[data-testid="show-deleted"]').click({ waitForAnimations: true });
 | 
			
		||||
 | 
			
		||||
    verifyResponseStatusCode('@queryDeletedTables', 200);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user