From d31c1ed94a6ef2c02c0becec65d7a2ed71fa7c05 Mon Sep 17 00:00:00 2001 From: Greg Thompson Date: Mon, 2 Dec 2019 16:10:28 -0600 Subject: [PATCH 1/4] eui 16.1.0 --- package.json | 2 +- .../plugins/kbn_tp_run_pipeline/package.json | 2 +- .../plugins/kbn_tp_custom_visualizations/package.json | 2 +- .../plugins/kbn_tp_embeddable_explorer/package.json | 2 +- .../plugins/kbn_tp_sample_panel_action/package.json | 2 +- x-pack/package.json | 2 +- yarn.lock | 8 ++++---- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 4b48731bd9a88..a26e6fb1f90f7 100644 --- a/package.json +++ b/package.json @@ -112,7 +112,7 @@ "@elastic/charts": "^14.0.0", "@elastic/datemath": "5.0.2", "@elastic/ems-client": "1.0.5", - "@elastic/eui": "16.0.0", + "@elastic/eui": "16.1.0", "@elastic/filesaver": "1.1.2", "@elastic/good": "8.1.1-kibana2", "@elastic/numeral": "2.3.3", diff --git a/test/interpreter_functional/plugins/kbn_tp_run_pipeline/package.json b/test/interpreter_functional/plugins/kbn_tp_run_pipeline/package.json index 51b9a5c5f1786..69f958fb91f60 100644 --- a/test/interpreter_functional/plugins/kbn_tp_run_pipeline/package.json +++ b/test/interpreter_functional/plugins/kbn_tp_run_pipeline/package.json @@ -7,7 +7,7 @@ }, "license": "Apache-2.0", "dependencies": { - "@elastic/eui": "16.0.0", + "@elastic/eui": "16.1.0", "react": "^16.12.0", "react-dom": "^16.12.0" } diff --git a/test/plugin_functional/plugins/kbn_tp_custom_visualizations/package.json b/test/plugin_functional/plugins/kbn_tp_custom_visualizations/package.json index fd0ce478eb6fb..96a5e26a74109 100644 --- a/test/plugin_functional/plugins/kbn_tp_custom_visualizations/package.json +++ b/test/plugin_functional/plugins/kbn_tp_custom_visualizations/package.json @@ -7,7 +7,7 @@ }, "license": "Apache-2.0", "dependencies": { - "@elastic/eui": "16.0.0", + "@elastic/eui": "16.1.0", "react": "^16.12.0" } } diff --git a/test/plugin_functional/plugins/kbn_tp_embeddable_explorer/package.json b/test/plugin_functional/plugins/kbn_tp_embeddable_explorer/package.json index 98df7f4b246dc..e95aa04ddd6b1 100644 --- a/test/plugin_functional/plugins/kbn_tp_embeddable_explorer/package.json +++ b/test/plugin_functional/plugins/kbn_tp_embeddable_explorer/package.json @@ -8,7 +8,7 @@ }, "license": "Apache-2.0", "dependencies": { - "@elastic/eui": "16.0.0", + "@elastic/eui": "16.1.0", "react": "^16.12.0" }, "scripts": { diff --git a/test/plugin_functional/plugins/kbn_tp_sample_panel_action/package.json b/test/plugin_functional/plugins/kbn_tp_sample_panel_action/package.json index 32f441ba6ccda..f874cecd5d812 100644 --- a/test/plugin_functional/plugins/kbn_tp_sample_panel_action/package.json +++ b/test/plugin_functional/plugins/kbn_tp_sample_panel_action/package.json @@ -8,7 +8,7 @@ }, "license": "Apache-2.0", "dependencies": { - "@elastic/eui": "16.0.0", + "@elastic/eui": "16.1.0", "react": "^16.12.0" }, "scripts": { diff --git a/x-pack/package.json b/x-pack/package.json index d5cb5abc1bb7b..5cd95c54418c6 100644 --- a/x-pack/package.json +++ b/x-pack/package.json @@ -177,7 +177,7 @@ "@babel/runtime": "^7.5.5", "@elastic/datemath": "5.0.2", "@elastic/ems-client": "1.0.5", - "@elastic/eui": "16.0.0", + "@elastic/eui": "16.1.0", "@elastic/filesaver": "1.1.2", "@elastic/maki": "6.1.0", "@elastic/node-crypto": "^1.0.0", diff --git a/yarn.lock b/yarn.lock index 7da65ebf8bc81..bc5026de9ea24 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1226,10 +1226,10 @@ tabbable "^1.1.0" uuid "^3.1.0" -"@elastic/eui@16.0.0": - version "16.0.0" - resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-16.0.0.tgz#511898bfbeba5ffea6ac96c077d1184d657a451d" - integrity sha512-i9t13PzrsfBUolMZ6n2X9aAYJ/wUI2NJduCQlDU4zrXfFrM1LFJ5/KSCcpgzI8VNDakeA3PTml+oqD7J0qGA3g== +"@elastic/eui@16.1.0": + version "16.1.0" + resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-16.1.0.tgz#b8311a4dd3146da2fcd8cec6ae1ed46e26f90746" + integrity sha512-WbfIc2RGojrUeYyEIjiQ0Cy4xbk6YJ6eQ+ymFHSDGqwkKy5IidSBZIDNLM13LzAhxBFTAMmfVsk4lB2qiFlolQ== dependencies: "@types/lodash" "^4.14.116" "@types/numeral" "^0.0.25" From 489e578672464f99ec760bf8d7ed708a8d1e82dd Mon Sep 17 00:00:00 2001 From: Greg Thompson Date: Mon, 2 Dec 2019 16:42:31 -0600 Subject: [PATCH 2/4] snapshot udpates --- .../saved_objects_installer.test.js.snap | 15 +-- .../vislib_vis_legend.test.tsx.snap | 4 +- .../TransactionActionMenu.test.tsx.snap | 9 +- .../__snapshots__/shareable.test.tsx.snap | 6 +- .../autoplay_settings.examples.storyshot | 3 + .../toolbar_settings.examples.storyshot | 3 + .../__snapshots__/settings.test.tsx.snap | 124 +++++------------- .../note_card_body.test.tsx.snap | 2 +- .../__snapshots__/index.test.tsx.snap | 2 +- 9 files changed, 51 insertions(+), 117 deletions(-) diff --git a/src/legacy/core_plugins/kibana/public/home/components/tutorial/__snapshots__/saved_objects_installer.test.js.snap b/src/legacy/core_plugins/kibana/public/home/components/tutorial/__snapshots__/saved_objects_installer.test.js.snap index 07744dd0f6f4b..09977476f0b98 100644 --- a/src/legacy/core_plugins/kibana/public/home/components/tutorial/__snapshots__/saved_objects_installer.test.js.snap +++ b/src/legacy/core_plugins/kibana/public/home/components/tutorial/__snapshots__/saved_objects_installer.test.js.snap @@ -504,28 +504,23 @@ exports[`bulkCreate should display success message when bulkCreate is successful className="euiStepNumber__icon" type="check" > - - - - + /> + diff --git a/src/legacy/ui/public/vis/vis_types/vislib_vis_legend/__snapshots__/vislib_vis_legend.test.tsx.snap b/src/legacy/ui/public/vis/vis_types/vislib_vis_legend/__snapshots__/vislib_vis_legend.test.tsx.snap index f2c9f4e1b53ec..1253424f31924 100644 --- a/src/legacy/ui/public/vis/vis_types/vislib_vis_legend/__snapshots__/vislib_vis_legend.test.tsx.snap +++ b/src/legacy/ui/public/vis/vis_types/vislib_vis_legend/__snapshots__/vislib_vis_legend.test.tsx.snap @@ -1,5 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`VisLegend Component Legend closed should match the snapshot 1`] = `"
"`; +exports[`VisLegend Component Legend closed should match the snapshot 1`] = `"
"`; -exports[`VisLegend Component Legend open should match the snapshot 1`] = `"
"`; +exports[`VisLegend Component Legend open should match the snapshot 1`] = `"
"`; diff --git a/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/__test__/__snapshots__/TransactionActionMenu.test.tsx.snap b/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/__test__/__snapshots__/TransactionActionMenu.test.tsx.snap index 63f56b8db5c50..85ef9e19e2a67 100644 --- a/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/__test__/__snapshots__/TransactionActionMenu.test.tsx.snap +++ b/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/__test__/__snapshots__/TransactionActionMenu.test.tsx.snap @@ -18,18 +18,13 @@ exports[`TransactionActionMenu component should match the snapshot 1`] = ` > + /> diff --git a/x-pack/legacy/plugins/canvas/shareable_runtime/api/__tests__/__snapshots__/shareable.test.tsx.snap b/x-pack/legacy/plugins/canvas/shareable_runtime/api/__tests__/__snapshots__/shareable.test.tsx.snap index 782d5364de821..b4b2db343b8ef 100644 --- a/x-pack/legacy/plugins/canvas/shareable_runtime/api/__tests__/__snapshots__/shareable.test.tsx.snap +++ b/x-pack/legacy/plugins/canvas/shareable_runtime/api/__tests__/__snapshots__/shareable.test.tsx.snap @@ -9,7 +9,7 @@ exports[`Canvas Shareable Workpad API Placed successfully with default propertie
markdown mock
markdown mock
My Canvas Workpad
" +
markdown mock
My Canvas Workpad
" `; exports[`Canvas Shareable Workpad API Placed successfully with height specified 1`] = `"
"`; @@ -33,7 +33,7 @@ exports[`Canvas Shareable Workpad API Placed successfully with page specified 2`
markdown mock
markdown mock
My Canvas Workpad
" +
markdown mock
My Canvas Workpad
" `; exports[`Canvas Shareable Workpad API Placed successfully with width and height specified 1`] = `"
"`; @@ -57,5 +57,5 @@ exports[`Canvas Shareable Workpad API Placed successfully with width specified 2
markdown mock
markdown mock
My Canvas Workpad
" +
markdown mock
My Canvas Workpad
" `; diff --git a/x-pack/legacy/plugins/canvas/shareable_runtime/components/footer/settings/__examples__/__snapshots__/autoplay_settings.examples.storyshot b/x-pack/legacy/plugins/canvas/shareable_runtime/components/footer/settings/__examples__/__snapshots__/autoplay_settings.examples.storyshot index e9f496bfe6358..27d82a664ff2a 100644 --- a/x-pack/legacy/plugins/canvas/shareable_runtime/components/footer/settings/__examples__/__snapshots__/autoplay_settings.examples.storyshot +++ b/x-pack/legacy/plugins/canvas/shareable_runtime/components/footer/settings/__examples__/__snapshots__/autoplay_settings.examples.storyshot @@ -30,6 +30,7 @@ exports[`Storyshots shareables/Footer/Settings/AutoplaySettings component: off, aria-labelledby="generated-id" className="euiSwitch__button" id="cycle" + name="cycle" onClick={[Function]} role="switch" type="button" @@ -198,6 +199,7 @@ exports[`Storyshots shareables/Footer/Settings/AutoplaySettings component: on, 5 aria-labelledby="generated-id" className="euiSwitch__button" id="cycle" + name="cycle" onClick={[Function]} role="switch" type="button" @@ -366,6 +368,7 @@ exports[`Storyshots shareables/Footer/Settings/AutoplaySettings contextual 1`] = aria-labelledby="generated-id" className="euiSwitch__button" id="cycle" + name="cycle" onClick={[Function]} role="switch" type="button" diff --git a/x-pack/legacy/plugins/canvas/shareable_runtime/components/footer/settings/__examples__/__snapshots__/toolbar_settings.examples.storyshot b/x-pack/legacy/plugins/canvas/shareable_runtime/components/footer/settings/__examples__/__snapshots__/toolbar_settings.examples.storyshot index 2fa6b83aef4f0..a550c7ec47c92 100644 --- a/x-pack/legacy/plugins/canvas/shareable_runtime/components/footer/settings/__examples__/__snapshots__/toolbar_settings.examples.storyshot +++ b/x-pack/legacy/plugins/canvas/shareable_runtime/components/footer/settings/__examples__/__snapshots__/toolbar_settings.examples.storyshot @@ -38,6 +38,7 @@ exports[`Storyshots shareables/Footer/Settings/ToolbarSettings component: off 1` className="euiSwitch__button" data-test-subj="hideToolbarSwitch" id="generated-id" + name="toolbarHide" onBlur={[Function]} onClick={[Function]} onFocus={[Function]} @@ -132,6 +133,7 @@ exports[`Storyshots shareables/Footer/Settings/ToolbarSettings component: on 1`] className="euiSwitch__button" data-test-subj="hideToolbarSwitch" id="generated-id" + name="toolbarHide" onBlur={[Function]} onClick={[Function]} onFocus={[Function]} @@ -226,6 +228,7 @@ exports[`Storyshots shareables/Footer/Settings/ToolbarSettings contextual 1`] = className="euiSwitch__button" data-test-subj="hideToolbarSwitch" id="generated-id" + name="toolbarHide" onBlur={[Function]} onClick={[Function]} onFocus={[Function]} diff --git a/x-pack/legacy/plugins/canvas/shareable_runtime/components/footer/settings/__tests__/__snapshots__/settings.test.tsx.snap b/x-pack/legacy/plugins/canvas/shareable_runtime/components/footer/settings/__tests__/__snapshots__/settings.test.tsx.snap index fbd8c9c5ab0c3..722a69b2b4347 100644 --- a/x-pack/legacy/plugins/canvas/shareable_runtime/components/footer/settings/__tests__/__snapshots__/settings.test.tsx.snap +++ b/x-pack/legacy/plugins/canvas/shareable_runtime/components/footer/settings/__tests__/__snapshots__/settings.test.tsx.snap @@ -56,35 +56,26 @@ exports[` can navigate Autoplay Settings 1`] = ` class="euiContextMenu__itemLayout" > - - + /> Auto Play - - + />
@@ -284,18 +266,13 @@ exports[` can navigate Autoplay Settings 2`] = ` class="euiContextMenu__itemLayout" > - - + /> @@ -316,6 +293,7 @@ exports[` can navigate Autoplay Settings 2`] = ` aria-labelledby="generated-id" class="euiSwitch__button" id="cycle" + name="cycle" role="switch" type="button" > @@ -329,30 +307,21 @@ exports[` can navigate Autoplay Settings 2`] = ` class="euiSwitch__track" > - - + /> - - + /> @@ -516,35 +485,26 @@ exports[` can navigate Toolbar Settings, closes when activated 1`] = class="euiContextMenu__itemLayout" > - - + /> Auto Play - - + /> @@ -744,18 +695,13 @@ exports[` can navigate Toolbar Settings, closes when activated 2`] = class="euiContextMenu__itemLayout" > - - + /> @@ -784,6 +730,7 @@ exports[` can navigate Toolbar Settings, closes when activated 2`] = class="euiSwitch__button" data-test-subj="hideToolbarSwitch" id="generated-id" + name="toolbarHide" role="switch" type="button" > @@ -797,30 +744,21 @@ exports[` can navigate Toolbar Settings, closes when activated 2`] = class="euiSwitch__track" > - - + /> - - + /> @@ -856,4 +794,4 @@ exports[` can navigate Toolbar Settings, closes when activated 2`] = `; -exports[` can navigate Toolbar Settings, closes when activated 3`] = `"
Settings

Hide Toolbar

Hide the toolbar when the mouse is not within the Canvas?
"`; +exports[` can navigate Toolbar Settings, closes when activated 3`] = `"
Settings

Hide Toolbar

Hide the toolbar when the mouse is not within the Canvas?
"`; diff --git a/x-pack/legacy/plugins/siem/public/components/notes/note_card/__snapshots__/note_card_body.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/notes/note_card/__snapshots__/note_card_body.test.tsx.snap index c9a40975e7b92..526bb52c61afa 100644 --- a/x-pack/legacy/plugins/siem/public/components/notes/note_card/__snapshots__/note_card_body.test.tsx.snap +++ b/x-pack/legacy/plugins/siem/public/components/notes/note_card/__snapshots__/note_card_body.test.tsx.snap @@ -249,7 +249,7 @@ exports[`NoteCardBody renders correctly against snapshot 1`] = ` "euiFormControlPadding": "12px", "euiFormCustomControlBorderColor": "#66676d", "euiFormCustomControlDisabledIconColor": "#a6aab0", - "euiFormInputGroupBorder": "1px solid #313338", + "euiFormInputGroupBorder": "1px solid #282a30", "euiFormInputGroupLabelBackground": "#1f2127", "euiFormMaxWidth": "400px", "euiGradientMiddle": "#282a31", diff --git a/x-pack/legacy/plugins/siem/public/components/paginated_table/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/paginated_table/__snapshots__/index.test.tsx.snap index 4ac25720080a9..ddeb701c3ee31 100644 --- a/x-pack/legacy/plugins/siem/public/components/paginated_table/__snapshots__/index.test.tsx.snap +++ b/x-pack/legacy/plugins/siem/public/components/paginated_table/__snapshots__/index.test.tsx.snap @@ -249,7 +249,7 @@ exports[`Paginated Table Component rendering it renders the default load more ta "euiFormControlPadding": "12px", "euiFormCustomControlBorderColor": "#66676d", "euiFormCustomControlDisabledIconColor": "#a6aab0", - "euiFormInputGroupBorder": "1px solid #313338", + "euiFormInputGroupBorder": "1px solid #282a30", "euiFormInputGroupLabelBackground": "#1f2127", "euiFormMaxWidth": "400px", "euiGradientMiddle": "#282a31", From 7e0f3b6b1da034dd9e4423e73946a675ab913943 Mon Sep 17 00:00:00 2001 From: Greg Thompson Date: Tue, 3 Dec 2019 10:48:28 -0600 Subject: [PATCH 3/4] more snapshot updates --- .../__snapshots__/shareable.test.tsx.snap | 6 ++-- .../__snapshots__/settings.test.tsx.snap | 28 ++++++++++++++----- 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/x-pack/legacy/plugins/canvas/shareable_runtime/api/__tests__/__snapshots__/shareable.test.tsx.snap b/x-pack/legacy/plugins/canvas/shareable_runtime/api/__tests__/__snapshots__/shareable.test.tsx.snap index b4b2db343b8ef..eb2eae28ad020 100644 --- a/x-pack/legacy/plugins/canvas/shareable_runtime/api/__tests__/__snapshots__/shareable.test.tsx.snap +++ b/x-pack/legacy/plugins/canvas/shareable_runtime/api/__tests__/__snapshots__/shareable.test.tsx.snap @@ -33,7 +33,7 @@ exports[`Canvas Shareable Workpad API Placed successfully with page specified 2`
markdown mock
markdown mock
My Canvas Workpad
" +
markdown mock
My Canvas Workpad
" `; exports[`Canvas Shareable Workpad API Placed successfully with width and height specified 1`] = `"
"`; @@ -45,7 +45,7 @@ exports[`Canvas Shareable Workpad API Placed successfully with width and height
markdown mock
markdown mock
My Canvas Workpad
" +
markdown mock
My Canvas Workpad
" `; exports[`Canvas Shareable Workpad API Placed successfully with width specified 1`] = `"
"`; @@ -57,5 +57,5 @@ exports[`Canvas Shareable Workpad API Placed successfully with width specified 2
markdown mock
markdown mock
My Canvas Workpad
" +
markdown mock
My Canvas Workpad
" `; diff --git a/x-pack/legacy/plugins/canvas/shareable_runtime/components/footer/settings/__tests__/__snapshots__/settings.test.tsx.snap b/x-pack/legacy/plugins/canvas/shareable_runtime/components/footer/settings/__tests__/__snapshots__/settings.test.tsx.snap index 722a69b2b4347..cb9b9648d8dff 100644 --- a/x-pack/legacy/plugins/canvas/shareable_runtime/components/footer/settings/__tests__/__snapshots__/settings.test.tsx.snap +++ b/x-pack/legacy/plugins/canvas/shareable_runtime/components/footer/settings/__tests__/__snapshots__/settings.test.tsx.snap @@ -695,13 +695,18 @@ exports[` can navigate Toolbar Settings, closes when activated 2`] = class="euiContextMenu__itemLayout" > + > + + @@ -744,21 +749,30 @@ exports[` can navigate Toolbar Settings, closes when activated 2`] = class="euiSwitch__track" > + > + + + > + + @@ -794,4 +808,4 @@ exports[` can navigate Toolbar Settings, closes when activated 2`] = `; -exports[` can navigate Toolbar Settings, closes when activated 3`] = `"
Settings

Hide Toolbar

Hide the toolbar when the mouse is not within the Canvas?
"`; +exports[` can navigate Toolbar Settings, closes when activated 3`] = `"
Settings

Hide Toolbar

Hide the toolbar when the mouse is not within the Canvas?
"`; From 2775ed3f76c80534eb9c71b2216f1c27f5e5e3fb Mon Sep 17 00:00:00 2001 From: Greg Thompson Date: Tue, 3 Dec 2019 16:12:54 -0600 Subject: [PATCH 4/4] enqueueStateChange mock, resulting snapshot updates --- src/dev/jest/setup/mocks.js | 9 ++ .../saved_objects_installer.test.js.snap | 15 ++- .../vislib_vis_legend.test.tsx.snap | 4 +- .../TransactionActionMenu.test.tsx.snap | 9 +- .../__snapshots__/shareable.test.tsx.snap | 4 +- .../__snapshots__/settings.test.tsx.snap | 94 ++++++++++++++----- 6 files changed, 102 insertions(+), 33 deletions(-) diff --git a/src/dev/jest/setup/mocks.js b/src/dev/jest/setup/mocks.js index f17c0f44536b6..19c88d3cc35e4 100644 --- a/src/dev/jest/setup/mocks.js +++ b/src/dev/jest/setup/mocks.js @@ -47,3 +47,12 @@ jest.mock('moment-timezone', () => { moment.tz.guess = () => 'America/New_York'; return moment; }); + +jest.mock('@elastic/eui/lib/services/react', () => { + // `enqueueStateChange` is an EUI method to batch queued functions that trigger React `setState` calls. + // This is for performance, but when used in certain Jest scernarios it can be nondeterministic. + // Jest tests are never concerned about the state prior to batch completion, so we bypass batching entirely. + return { + enqueueStateChange: fn => fn(), + }; +}); diff --git a/src/legacy/core_plugins/kibana/public/home/components/tutorial/__snapshots__/saved_objects_installer.test.js.snap b/src/legacy/core_plugins/kibana/public/home/components/tutorial/__snapshots__/saved_objects_installer.test.js.snap index 09977476f0b98..07744dd0f6f4b 100644 --- a/src/legacy/core_plugins/kibana/public/home/components/tutorial/__snapshots__/saved_objects_installer.test.js.snap +++ b/src/legacy/core_plugins/kibana/public/home/components/tutorial/__snapshots__/saved_objects_installer.test.js.snap @@ -504,23 +504,28 @@ exports[`bulkCreate should display success message when bulkCreate is successful className="euiStepNumber__icon" type="check" > - - + > + + + diff --git a/src/legacy/ui/public/vis/vis_types/vislib_vis_legend/__snapshots__/vislib_vis_legend.test.tsx.snap b/src/legacy/ui/public/vis/vis_types/vislib_vis_legend/__snapshots__/vislib_vis_legend.test.tsx.snap index 1253424f31924..f2c9f4e1b53ec 100644 --- a/src/legacy/ui/public/vis/vis_types/vislib_vis_legend/__snapshots__/vislib_vis_legend.test.tsx.snap +++ b/src/legacy/ui/public/vis/vis_types/vislib_vis_legend/__snapshots__/vislib_vis_legend.test.tsx.snap @@ -1,5 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`VisLegend Component Legend closed should match the snapshot 1`] = `"
"`; +exports[`VisLegend Component Legend closed should match the snapshot 1`] = `"
"`; -exports[`VisLegend Component Legend open should match the snapshot 1`] = `"
"`; +exports[`VisLegend Component Legend open should match the snapshot 1`] = `"
"`; diff --git a/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/__test__/__snapshots__/TransactionActionMenu.test.tsx.snap b/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/__test__/__snapshots__/TransactionActionMenu.test.tsx.snap index 85ef9e19e2a67..63f56b8db5c50 100644 --- a/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/__test__/__snapshots__/TransactionActionMenu.test.tsx.snap +++ b/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/__test__/__snapshots__/TransactionActionMenu.test.tsx.snap @@ -18,13 +18,18 @@ exports[`TransactionActionMenu component should match the snapshot 1`] = ` > + > + + diff --git a/x-pack/legacy/plugins/canvas/shareable_runtime/api/__tests__/__snapshots__/shareable.test.tsx.snap b/x-pack/legacy/plugins/canvas/shareable_runtime/api/__tests__/__snapshots__/shareable.test.tsx.snap index eb2eae28ad020..782d5364de821 100644 --- a/x-pack/legacy/plugins/canvas/shareable_runtime/api/__tests__/__snapshots__/shareable.test.tsx.snap +++ b/x-pack/legacy/plugins/canvas/shareable_runtime/api/__tests__/__snapshots__/shareable.test.tsx.snap @@ -9,7 +9,7 @@ exports[`Canvas Shareable Workpad API Placed successfully with default propertie
markdown mock
markdown mock
My Canvas Workpad
" +
markdown mock
My Canvas Workpad
" `; exports[`Canvas Shareable Workpad API Placed successfully with height specified 1`] = `"
"`; @@ -45,7 +45,7 @@ exports[`Canvas Shareable Workpad API Placed successfully with width and height
markdown mock
markdown mock
My Canvas Workpad
" +
markdown mock
My Canvas Workpad
" `; exports[`Canvas Shareable Workpad API Placed successfully with width specified 1`] = `"
"`; diff --git a/x-pack/legacy/plugins/canvas/shareable_runtime/components/footer/settings/__tests__/__snapshots__/settings.test.tsx.snap b/x-pack/legacy/plugins/canvas/shareable_runtime/components/footer/settings/__tests__/__snapshots__/settings.test.tsx.snap index cb9b9648d8dff..9d7590e977011 100644 --- a/x-pack/legacy/plugins/canvas/shareable_runtime/components/footer/settings/__tests__/__snapshots__/settings.test.tsx.snap +++ b/x-pack/legacy/plugins/canvas/shareable_runtime/components/footer/settings/__tests__/__snapshots__/settings.test.tsx.snap @@ -56,26 +56,35 @@ exports[` can navigate Autoplay Settings 1`] = ` class="euiContextMenu__itemLayout" > + > + + Auto Play + > + +
@@ -266,13 +284,18 @@ exports[` can navigate Autoplay Settings 2`] = ` class="euiContextMenu__itemLayout" > + > + + @@ -307,21 +330,30 @@ exports[` can navigate Autoplay Settings 2`] = ` class="euiSwitch__track" > + > + + + > + + @@ -485,26 +517,35 @@ exports[` can navigate Toolbar Settings, closes when activated 1`] = class="euiContextMenu__itemLayout" > + > + + Auto Play + > + +