diff --git a/src/plugins/data_view_management/public/components/index_pattern_table/index_pattern_table.tsx b/src/plugins/data_view_management/public/components/index_pattern_table/index_pattern_table.tsx index e2298d40fe145..7b8075f6eca46 100644 --- a/src/plugins/data_view_management/public/components/index_pattern_table/index_pattern_table.tsx +++ b/src/plugins/data_view_management/public/components/index_pattern_table/index_pattern_table.tsx @@ -293,7 +293,7 @@ export const IndexPatternTable = ({ fill={true} iconType="plusInCircle" onClick={() => setShowCreateDialog(true)} - data-test-subj="createIndexPatternButton" + data-test-subj="createDataViewButton" > esArchiver.load('test/api_integration/fixtures/es_archiver/index_patterns/conflicts') ); @@ -31,7 +30,7 @@ export default function ({ getService }: FtrProviderContext) { .set(ELASTIC_HTTP_VERSION_HEADER, INITIAL_REST_VERSION_INTERNAL) // TODO: API requests in Serverless require internal request headers .set(svlCommonApi.getInternalRequestHeader()) - .query({ pattern: 'logs-*' }) + .query({ pattern: 'logs-2017.01.*' }) .expect(200) .then((resp) => { expect(resp.body).to.eql({ diff --git a/x-pack/test_serverless/functional/es_archives/kibana_sample_data_flights_index_pattern/data.json.gz b/x-pack/test_serverless/functional/es_archives/kibana_sample_data_flights_index_pattern/data.json.gz index 45c293daa472c..1022230a86b79 100644 Binary files a/x-pack/test_serverless/functional/es_archives/kibana_sample_data_flights_index_pattern/data.json.gz and b/x-pack/test_serverless/functional/es_archives/kibana_sample_data_flights_index_pattern/data.json.gz differ diff --git a/x-pack/test_serverless/functional/test_suites/common/management/data_views/_data_view_create_delete.ts b/x-pack/test_serverless/functional/test_suites/common/management/data_views/_data_view_create_delete.ts index ca7bc4bc55569..6834288b92b0d 100644 --- a/x-pack/test_serverless/functional/test_suites/common/management/data_views/_data_view_create_delete.ts +++ b/x-pack/test_serverless/functional/test_suites/common/management/data_views/_data_view_create_delete.ts @@ -19,8 +19,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const PageObjects = getPageObjects(['settings', 'common', 'header']); describe('creating and deleting default data view', function describeIndexTests() { - // failsOnMKI, see https://github.com/elastic/kibana/issues/171479 - this.tags(['failsOnMKI']); before(async function () { // TODO: emptyKibanaIndex fails in Serverless with // "index_not_found_exception: no such index [.kibana_ingest]", @@ -31,7 +29,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await esArchiver.loadIfNeeded( 'x-pack/test_serverless/functional/es_archives/kibana_sample_data_flights_index_pattern' ); + await kibanaServer.importExport.load( + 'test/functional/fixtures/kbn_archiver/kibana_sample_data_flights_index_pattern' + ); await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/logstash_functional'); + await kibanaServer.uiSettings.replace({}); // TODO: Navigation to Data View Management is different in Serverless await PageObjects.common.navigateToApp('management'); @@ -41,10 +43,13 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { after(async function () { // TODO: Loading this from `es_archives` in `test_serverless` // instead since minor modifications were required + await esArchiver.unload( 'x-pack/test_serverless/functional/es_archives/kibana_sample_data_flights_index_pattern' ); - + await kibanaServer.importExport.unload( + 'test/functional/fixtures/kbn_archiver/kibana_sample_data_flights_index_pattern' + ); await esArchiver.unload('test/functional/fixtures/es_archiver/logstash_functional'); }); diff --git a/x-pack/test_serverless/functional/test_suites/common/management/data_views/_edit_field.ts b/x-pack/test_serverless/functional/test_suites/common/management/data_views/_edit_field.ts index afb3728db3e6d..b14687ad12003 100644 --- a/x-pack/test_serverless/functional/test_suites/common/management/data_views/_edit_field.ts +++ b/x-pack/test_serverless/functional/test_suites/common/management/data_views/_edit_field.ts @@ -15,8 +15,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const testSubjects = getService('testSubjects'); describe('edit field', function () { - // failsOnMKI, see https://github.com/elastic/kibana/issues/180568 - this.tags(['failsOnMKI']); before(async function () { await kibanaServer.importExport.load('test/functional/fixtures/kbn_archiver/discover'); }); diff --git a/x-pack/test_serverless/functional/test_suites/common/management/data_views/_index_pattern_filter.ts b/x-pack/test_serverless/functional/test_suites/common/management/data_views/_index_pattern_filter.ts index 029c3a302efd6..9b8a51feac10f 100644 --- a/x-pack/test_serverless/functional/test_suites/common/management/data_views/_index_pattern_filter.ts +++ b/x-pack/test_serverless/functional/test_suites/common/management/data_views/_index_pattern_filter.ts @@ -16,8 +16,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const es = getService('es'); describe('index pattern filter', function describeIndexTests() { - // https://github.com/elastic/kibana/issues/178733 - this.tags('failsOnMKI'); before(async function () { await kibanaServer.savedObjects.cleanStandardList(); await kibanaServer.uiSettings.replace({}); diff --git a/x-pack/test_serverless/functional/test_suites/common/management/data_views/_runtime_fields.ts b/x-pack/test_serverless/functional/test_suites/common/management/data_views/_runtime_fields.ts index 49f1e5ff6da4f..8fe28ffed7e97 100644 --- a/x-pack/test_serverless/functional/test_suites/common/management/data_views/_runtime_fields.ts +++ b/x-pack/test_serverless/functional/test_suites/common/management/data_views/_runtime_fields.ts @@ -17,8 +17,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const testSubjects = getService('testSubjects'); describe('runtime fields', function () { - // Bug: https://github.com/elastic/kibana/issues/178939 - this.tags('failsOnMKI'); before(async function () { await browser.setWindowSize(1200, 800); await kibanaServer.importExport.load('test/functional/fixtures/kbn_archiver/discover'); diff --git a/x-pack/test_serverless/functional/test_suites/search/default_dataview.ts b/x-pack/test_serverless/functional/test_suites/search/default_dataview.ts index e2ec4c24e7016..a40564d30481d 100644 --- a/x-pack/test_serverless/functional/test_suites/search/default_dataview.ts +++ b/x-pack/test_serverless/functional/test_suites/search/default_dataview.ts @@ -14,8 +14,6 @@ export default function ({ getPageObject, getService }: FtrProviderContext) { const svlCommonPage = getPageObject('svlCommonPage'); describe('default dataView', function () { - // Error: expected testSubject(kbnOverviewElasticsearchGettingStarted) to exist - this.tags(['failsOnMKI']); before(async () => { await svlCommonPage.login(); await svlSearchNavigation.navigateToLandingPage();