Updated and unskipped lens breadcrumb test after #74523 (#75714) (#75792)

This commit is contained in:
Devon Thomson 2020-08-24 18:04:43 -04:00 committed by GitHub
parent f1b43d9f78
commit f4b5c30b43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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' });