Skip to content

Commit

Permalink
[Discover] Unskip vis tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jughosta committed Sep 25, 2024
1 parent 9fb6f55 commit e9ff66f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/functional/apps/discover/group3/_lens_vis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
return seriesType;
}

// Failing: See https://github.com/elastic/kibana/issues/184600
describe.skip('discover lens vis', function () {
describe('discover lens vis', function () {
before(async () => {
await security.testUser.setRoles(['kibana_admin', 'test_logstash_reader']);
await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/logstash_functional');
Expand Down Expand Up @@ -174,10 +173,13 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
hasTimeField: true,
changeTimestampField: `--- I don't want to use the time filter ---`,
});
await header.waitUntilLoadingHasFinished();
await discover.waitUntilSearchingHasFinished();
await checkNoVis(defaultTotalCount);

await dataViews.editFromSearchBar({ newName: 'logs', newTimeField: '@timestamp' });
await header.waitUntilLoadingHasFinished();
await discover.waitUntilSearchingHasFinished();
await checkHistogramVis(defaultTimespan, defaultTotalCount);
expect(await discover.getVisContextSuggestionType()).to.be('histogramForDataView');
});
Expand Down

0 comments on commit e9ff66f

Please sign in to comment.