[Event annotations] re-enable data view switching tests (#170804)

## Summary

Fix https://github.com/elastic/kibana/issues/170578

Flaky test runner:
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3936

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Drew Tate 2023-11-08 10:00:26 -07:00 committed by GitHub
parent 552e87ba8f
commit c902f90a71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,8 +18,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const retry = getService('retry');
const log = getService('log');
// Failing: See https://github.com/elastic/kibana/issues/170578
describe.skip('annotation listing page', function () {
describe('annotation listing page', function () {
before(async function () {
await kibanaServer.importExport.load(
'test/functional/fixtures/kbn_archiver/annotation_listing_page_search'
@ -156,11 +155,14 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});
await PageObjects.annotationEditor.saveGroup();
await listingTable.clearSearchFilter();
});
});
describe('data view switching', () => {
before(async () => {
await listingTable.clearSearchFilter();
});
it('recovers from missing data view', async () => {
await listingTable.clickItemLink('eventAnnotation', 'missing data view');