diff --git a/src/plugins/kibana/public/management/sections/settings/index.html b/src/plugins/kibana/public/management/sections/settings/index.html index 08402cca6b9cd..6dbf8f335cdfa 100644 --- a/src/plugins/kibana/public/management/sections/settings/index.html +++ b/src/plugins/kibana/public/management/sections/settings/index.html @@ -15,9 +15,9 @@

Caution: You can break stuff here

- - - + + + diff --git a/src/plugins/kibana/public/management/styles/main.less b/src/plugins/kibana/public/management/styles/main.less index e01266211b569..9e4dafbec228e 100644 --- a/src/plugins/kibana/public/management/styles/main.less +++ b/src/plugins/kibana/public/management/styles/main.less @@ -144,8 +144,12 @@ kbn-management-objects { kbn-management-advanced { // super specific rule to override bootstrap's equally specific rule // https://github.com/twbs/bootstrap/blob/1f329f8f17aa989eabc6e94bdcab93e69ef0e463/less/tables.less#L35 - .table > tbody > tr > td { - vertical-align: middle; + .table { + table-layout: fixed; + + tbody > tr > td { + vertical-align: middle; + } } } diff --git a/test/functional/apps/management/_creation_form_changes.js b/test/functional/apps/management/_creation_form_changes.js index fb3b8bf497fea..11c70be753e16 100644 --- a/test/functional/apps/management/_creation_form_changes.js +++ b/test/functional/apps/management/_creation_form_changes.js @@ -14,6 +14,9 @@ bdd.describe('user input reactions', function () { return esClient.deleteAndUpdateConfigDoc() .then(function () { return settingsPage.navigateTo(); + }) + .then(function () { + return settingsPage.clickExistingData(); }); }); diff --git a/test/functional/apps/management/_index_pattern_create_delete.js b/test/functional/apps/management/_index_pattern_create_delete.js index 1ad16594f7b3f..6d9972794a995 100644 --- a/test/functional/apps/management/_index_pattern_create_delete.js +++ b/test/functional/apps/management/_index_pattern_create_delete.js @@ -15,6 +15,9 @@ bdd.describe('creating and deleting default index', function describeIndexTests( return esClient.deleteAndUpdateConfigDoc() .then(function () { return settingsPage.navigateTo(); + }) + .then(function () { + return settingsPage.clickExistingData(); }); }); diff --git a/test/functional/apps/management/_index_pattern_results_sort.js b/test/functional/apps/management/_index_pattern_results_sort.js index 50e1ade1ac2ef..a85943805ea36 100644 --- a/test/functional/apps/management/_index_pattern_results_sort.js +++ b/test/functional/apps/management/_index_pattern_results_sort.js @@ -34,7 +34,10 @@ bdd.describe('index result field sort', function describeIndexTests() { columns.forEach(function (col) { bdd.describe('sort by heading - ' + col.heading, function indexPatternCreation() { bdd.before(function () { - return settingsPage.navigateTo(); + return settingsPage.navigateTo() + .then(function () { + return settingsPage.clickExistingData(); + }); }); bdd.beforeEach(function () { diff --git a/test/functional/apps/management/_initial_state.js b/test/functional/apps/management/_initial_state.js index c5cdc243cba3d..d1a4719b96a04 100644 --- a/test/functional/apps/management/_initial_state.js +++ b/test/functional/apps/management/_initial_state.js @@ -14,6 +14,9 @@ bdd.describe('initial state', function () { return esClient.deleteAndUpdateConfigDoc() .then(function () { return settingsPage.navigateTo(); + }) + .then(function () { + return settingsPage.clickExistingData(); }); }); diff --git a/test/functional/apps/management/_kibana_settings.js b/test/functional/apps/management/_kibana_settings.js index cf6c5da1e858e..eb5042a8e23ed 100644 --- a/test/functional/apps/management/_kibana_settings.js +++ b/test/functional/apps/management/_kibana_settings.js @@ -12,6 +12,12 @@ bdd.describe('creating and deleting default index', function describeIndexTests( bdd.before(function () { // delete .kibana index and then wait for Kibana to re-create it return esClient.deleteAndUpdateConfigDoc() + .then(function () { + return settingsPage.navigateTo(); + }) + .then(function () { + return settingsPage.clickExistingData(); + }) .then(function () { return settingsPage.createIndexPattern(); }) diff --git a/test/support/pages/settings_page.js b/test/support/pages/settings_page.js index 9aeac6be5a55a..fa6610cd1bb61 100644 --- a/test/support/pages/settings_page.js +++ b/test/support/pages/settings_page.js @@ -14,16 +14,20 @@ export default (function () { return this.remote.findDisplayedByCssSelector('.app-link:nth-child(5) a').click(); }, - clickPath: function (path) { - return this.remote.findDisplayedByCssSelector('[kbn-href="#/management/' + path + '"]').click(); + clickLinkText: function (text) { + return this.remote.findDisplayedByLinkText(text).click(); }, clickKibanaSettings: function () { - return this.clickPath('kibana/settings'); + return this.clickLinkText('Advanced Settings'); }, clickKibanaIndicies: function () { - return this.clickPath('kibana/indices'); + return this.clickLinkText('Index Patterns'); + }, + + clickExistingData: function () { + return this.clickLinkText('Existing Data'); }, getAdvancedSettings: function getAdvancedSettings(propertyName) { @@ -315,6 +319,9 @@ export default (function () { return common.try(function () { return self.navigateTo() + .then(function () { + return self.clickExistingData(); + }) .then(function () { return self.selectTimeFieldOption('@timestamp'); })
NameValueActions NameValueActions