Fix e2e test

This commit is contained in:
Roman Hotsiy 2017-01-06 14:56:42 +02:00
parent 2a6085daf2
commit ec7803eecf
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -56,7 +56,7 @@ describe('Scroll sync', () => {
it('should update active menu entries on page scroll forwards', () => {
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');
});
});