Skip to content

Commit 8c3145e

Browse files
authored
[Test/Newsfeed] Re-enable test and add news item to be filtered (#53905)
1 parent 592bc43 commit 8c3145e

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

test/common/fixtures/plugins/newsfeed/newsfeed_simulation.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const mockNewsfeed = (version: string) => ({
8888
badge: null,
8989
image_url: null,
9090
publish_on: '2019-06-21T00:00:00',
91-
expire_on: '2019-12-31T00:00:00',
91+
expire_on: '2040-01-31T00:00:00',
9292
hash: '39ca7d409c7eb25f4c69a5a6a11309b2f5ced7ca3f9b3a0109517126e0fd91ca',
9393
},
9494
{
@@ -100,6 +100,18 @@ const mockNewsfeed = (version: string) => ({
100100
badge: null,
101101
image_url: null,
102102
publish_on: '2019-06-21T00:00:00',
103+
expire_on: '2040-01-31T00:00:00',
104+
hash: 'db445c9443eb50ea2eb15f20edf89cf0f7dac2b058b11cafc2c8c288b6e4ce2a',
105+
},
106+
{
107+
title: { en: 'This item is expired!' },
108+
description: { en: 'This should not show up.' },
109+
link_text: { en: 'Generic feed-viewer could go here' },
110+
link_url: { en: 'https://feeds-staging.elastic.co' },
111+
languages: null,
112+
badge: null,
113+
image_url: null,
114+
publish_on: '2019-06-21T00:00:00',
103115
expire_on: '2019-12-31T00:00:00',
104116
hash: 'db445c9443eb50ea2eb15f20edf89cf0f7dac2b058b11cafc2c8c288b6e4ce2a',
105117
},

test/functional/apps/home/_newsfeed.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ export default function({ getService, getPageObjects }: FtrProviderContext) {
2424
const globalNav = getService('globalNav');
2525
const PageObjects = getPageObjects(['common', 'newsfeed']);
2626

27-
// Failing: https://github.com/elastic/kibana/issues/53860
28-
describe.skip('Newsfeed', () => {
27+
describe('Newsfeed', () => {
2928
before(async () => {
3029
await PageObjects.newsfeed.resetPage();
3130
});

0 commit comments

Comments
 (0)