mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Fix test.
This commit is contained in:
parent
651a015fba
commit
05e3414021
1 changed files with 0 additions and 20 deletions
|
@ -187,25 +187,5 @@ describe('globalNavLink directive', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('title attribute', () => {
|
||||
it('is displayed', () => {
|
||||
const attrs = {
|
||||
title: 'demo title',
|
||||
};
|
||||
const element = create(attrs);
|
||||
const title = element.find('.global-nav-link__title');
|
||||
expect(title.text().trim()).to.be(attrs.title);
|
||||
});
|
||||
|
||||
it('is set as a title attribute on the anchor tag', () => {
|
||||
const attrs = {
|
||||
title: 'demo title',
|
||||
};
|
||||
const element = create(attrs);
|
||||
const link = element.find('[data-test-subj=appLink]');
|
||||
expect(link.attr('title')).to.be(attrs.title);
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue