mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-11-04 09:47:31 +03:00 
			
		
		
		
	Fix e2e test
This commit is contained in:
		
							parent
							
								
									2a6085daf2
								
							
						
					
					
						commit
						ec7803eecf
					
				| 
						 | 
					@ -56,7 +56,7 @@ describe('Scroll sync', () => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  it('should update active menu entries on page scroll forwards', () => {
 | 
					  it('should update active menu entries on page scroll forwards', () => {
 | 
				
			||||||
    scrollToEl('[section="tag/store"]').then(() => {
 | 
					    scrollToEl('[section="tag/store"]').then(() => {
 | 
				
			||||||
      expect($('.menu-item.active > .menu-item-header').getInnerHtml()).toContain('store');
 | 
					      expect($('.menu-item.menu-item-depth-1.active > .menu-item-header').getInnerHtml()).toContain('store');
 | 
				
			||||||
      expect($('.selected-tag').getInnerHtml()).toContain('store');
 | 
					      expect($('.selected-tag').getInnerHtml()).toContain('store');
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
  });
 | 
					  });
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user