mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
This commit is contained in:
parent
f1b43d9f78
commit
f4b5c30b43
1 changed files with 3 additions and 3 deletions
|
@ -300,7 +300,7 @@ describe('Lens App', () => {
|
|||
]);
|
||||
});
|
||||
|
||||
it.skip('sets originatingApp breadcrumb when the document title changes', async () => {
|
||||
it('sets originatingApp breadcrumb when the document title changes', async () => {
|
||||
const defaultArgs = makeDefaultArgs();
|
||||
defaultArgs.originatingApp = 'ultraCoolDashboard';
|
||||
defaultArgs.getAppNameFromId = () => 'The Coolest Container Ever Made';
|
||||
|
@ -315,11 +315,11 @@ describe('Lens App', () => {
|
|||
(defaultArgs.docStorage.load as jest.Mock).mockResolvedValue({
|
||||
id: '1234',
|
||||
title: 'Daaaaaaadaumching!',
|
||||
expression: 'valid expression',
|
||||
state: {
|
||||
query: 'fake query',
|
||||
datasourceMetaData: { filterableIndexPatterns: [{ id: '1', title: 'saved' }] },
|
||||
filters: [],
|
||||
},
|
||||
references: [],
|
||||
});
|
||||
await act(async () => {
|
||||
instance.setProps({ docId: '1234' });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue