Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
8fe62c33a5
commit
f495b7def5
|
@ -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…
Reference in a new issue