From 0f41d3747dd23f4a15224d4e8d66139bde7eeac0 Mon Sep 17 00:00:00 2001 From: Greg Thompson Date: Wed, 13 Nov 2019 09:41:33 -0600 Subject: [PATCH] more switch updates --- test/functional/page_objects/visualize_page.js | 2 +- .../siem/public/pages/detection_engine/rules/index.tsx | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/test/functional/page_objects/visualize_page.js b/test/functional/page_objects/visualize_page.js index ceef303f15994a..81d26a4b69478e 100644 --- a/test/functional/page_objects/visualize_page.js +++ b/test/functional/page_objects/visualize_page.js @@ -1031,7 +1031,7 @@ export function VisualizePageProvider({ getService, getPageObjects, updateBaseli async setIsFilteredByCollarCheckbox(value = true) { await retry.try(async () => { - const isChecked = await this.isChecked('isFilteredByCollarCheckbox'); + const isChecked = await this.isSwitchChecked('isFilteredByCollarCheckbox'); if (isChecked !== value) { await testSubjects.click('isFilteredByCollarCheckbox'); throw new Error('isFilteredByCollar not set correctly'); diff --git a/x-pack/legacy/plugins/siem/public/pages/detection_engine/rules/index.tsx b/x-pack/legacy/plugins/siem/public/pages/detection_engine/rules/index.tsx index a046d7eaefb158..9d2f5dc0a6c29d 100644 --- a/x-pack/legacy/plugins/siem/public/pages/detection_engine/rules/index.tsx +++ b/x-pack/legacy/plugins/siem/public/pages/detection_engine/rules/index.tsx @@ -213,13 +213,7 @@ const AllRules = React.memo(() => { field: 'activate', name: 'Activate', render: (value: ColumnTypes['activate']) => ( - // Michael: Uncomment props below when EUI 14.9.0 is added to Kibana. - {}} - // showLabel={false} - /> + {}} showLabel={false} /> ), sortable: true, width: '65px',