Skip to content

Commit

Permalink
[Test/Newsfeed] Re-enable test and add news item to be filtered (#53905
Browse files Browse the repository at this point in the history
…) (#53917)
  • Loading branch information
tsullivan authored Jan 3, 2020
1 parent b85bb2e commit acad447
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
14 changes: 13 additions & 1 deletion test/common/fixtures/plugins/newsfeed/newsfeed_simulation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const mockNewsfeed = (version: string) => ({
badge: null,
image_url: null,
publish_on: '2019-06-21T00:00:00',
expire_on: '2019-12-31T00:00:00',
expire_on: '2040-01-31T00:00:00',
hash: '39ca7d409c7eb25f4c69a5a6a11309b2f5ced7ca3f9b3a0109517126e0fd91ca',
},
{
Expand All @@ -100,6 +100,18 @@ const mockNewsfeed = (version: string) => ({
badge: null,
image_url: null,
publish_on: '2019-06-21T00:00:00',
expire_on: '2040-01-31T00:00:00',
hash: 'db445c9443eb50ea2eb15f20edf89cf0f7dac2b058b11cafc2c8c288b6e4ce2a',
},
{
title: { en: 'This item is expired!' },
description: { en: 'This should not show up.' },
link_text: { en: 'Generic feed-viewer could go here' },
link_url: { en: 'https://feeds-staging.elastic.co' },
languages: null,
badge: null,
image_url: null,
publish_on: '2019-06-21T00:00:00',
expire_on: '2019-12-31T00:00:00',
hash: 'db445c9443eb50ea2eb15f20edf89cf0f7dac2b058b11cafc2c8c288b6e4ce2a',
},
Expand Down
3 changes: 1 addition & 2 deletions test/functional/apps/home/_newsfeed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ export default function({ getService, getPageObjects }: FtrProviderContext) {
const globalNav = getService('globalNav');
const PageObjects = getPageObjects(['common', 'newsfeed']);

// Failing: https://github.com/elastic/kibana/issues/53860
describe.skip('Newsfeed', () => {
describe('Newsfeed', () => {
before(async () => {
await PageObjects.newsfeed.resetPage();
});
Expand Down

0 comments on commit acad447

Please sign in to comment.