,
,
,
,
,
,
-
-
-
-
-
- Analytical Apps can take a minute or two to generate based upon the size of your test-object-type.
-
-
-
-
-
-
-
-
-
- }
- labelType="label"
+
+
+ Analytical Apps can take a minute or two to generate based upon the size of your test-object-type.
+
+
+
+
+
-
-`;
-
-exports[`ScreenCapturePanelContent properly renders a view with "print" layout option 1`] = `
-
-
`;
diff --git a/x-pack/plugins/security/public/authentication/overwritten_session/overwritten_session_page.test.tsx b/x-pack/plugins/security/public/authentication/overwritten_session/overwritten_session_page.test.tsx
index d33d9432279a4..586f5b4b91507 100644
--- a/x-pack/plugins/security/public/authentication/overwritten_session/overwritten_session_page.test.tsx
+++ b/x-pack/plugins/security/public/authentication/overwritten_session/overwritten_session_page.test.tsx
@@ -44,7 +44,7 @@ describe('OverwrittenSessionPage', () => {
wrapper.update();
});
- expect(wrapper.find(AuthenticationStatePage)).toMatchSnapshot();
+ expect(wrapper.find(AuthenticationStatePage).render()).toMatchSnapshot();
});
it('properly parses `next` parameter', async () => {
diff --git a/x-pack/plugins/security/public/management/roles/roles_grid/__snapshots__/roles_grid_page.test.tsx.snap b/x-pack/plugins/security/public/management/roles/roles_grid/__snapshots__/roles_grid_page.test.tsx.snap
index ce469faf1237e..e95b4e2673201 100644
--- a/x-pack/plugins/security/public/management/roles/roles_grid/__snapshots__/roles_grid_page.test.tsx.snap
+++ b/x-pack/plugins/security/public/management/roles/roles_grid/__snapshots__/roles_grid_page.test.tsx.snap
@@ -1,133 +1,54 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[` renders permission denied if required 1`] = `
-
-
+
-
-
-
-
- }
- iconType="securityApp"
- title={
-
-
-
- }
+
+
+
+
-
+ You need permission to manage roles
+
+
+
-
-
-
-
-
-
-
-
-
-
-
- You need permission to manage roles
-
-
-
-
-
-
-
-
-
-
-
-
- Contact your system administrator.
-
-
-
-
-
-
-
-
-
+ Contact your system administrator.
+
-
-
+
+
-
-
-
+
+
+
`;
diff --git a/x-pack/plugins/security/public/management/roles/roles_grid/roles_grid_page.test.tsx b/x-pack/plugins/security/public/management/roles/roles_grid/roles_grid_page.test.tsx
index 881b0a2ee3203..ac0ce12aac3d9 100644
--- a/x-pack/plugins/security/public/management/roles/roles_grid/roles_grid_page.test.tsx
+++ b/x-pack/plugins/security/public/management/roles/roles_grid/roles_grid_page.test.tsx
@@ -125,7 +125,7 @@ describe('
', () => {
await waitForRender(wrapper, (updatedWrapper) => {
return updatedWrapper.find(PermissionDenied).length > 0;
});
- expect(wrapper.find(PermissionDenied)).toMatchSnapshot();
+ expect(wrapper.find(PermissionDenied).render()).toMatchSnapshot();
});
it('renders role actions as appropriate, escaping when necessary', async () => {
diff --git a/x-pack/plugins/security/server/__snapshots__/prompt_page.test.tsx.snap b/x-pack/plugins/security/server/__snapshots__/prompt_page.test.tsx.snap
index 99502f13d82c4..0c6780bcc21e8 100644
--- a/x-pack/plugins/security/server/__snapshots__/prompt_page.test.tsx.snap
+++ b/x-pack/plugins/security/server/__snapshots__/prompt_page.test.tsx.snap
@@ -1,5 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`PromptPage renders as expected with additional scripts 1`] = `"
ElasticMockedFonts
"`;
+exports[`PromptPage renders as expected with additional scripts 1`] = `"
ElasticMockedFonts
"`;
-exports[`PromptPage renders as expected without additional scripts 1`] = `"
ElasticMockedFonts
"`;
+exports[`PromptPage renders as expected without additional scripts 1`] = `"
ElasticMockedFonts
"`;
diff --git a/x-pack/plugins/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap b/x-pack/plugins/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap
index 720c30e9da211..c513fd7a21440 100644
--- a/x-pack/plugins/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap
+++ b/x-pack/plugins/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap
@@ -1,3 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`UnauthenticatedPage renders as expected 1`] = `"
ElasticMockedFonts
We couldn't log you in
We hit an authentication error. Please check your credentials and try again. If you still can't log in, contact your system administrator.
"`;
+exports[`UnauthenticatedPage renders as expected 1`] = `"
ElasticMockedFonts
We couldn't log you in
We hit an authentication error. Please check your credentials and try again. If you still can't log in, contact your system administrator.
"`;
diff --git a/x-pack/plugins/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap b/x-pack/plugins/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap
index 6df764625d709..1a66f74a93b11 100644
--- a/x-pack/plugins/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap
+++ b/x-pack/plugins/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap
@@ -1,3 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`ResetSessionPage renders as expected 1`] = `"
ElasticMockedFonts
You do not have permission to access the requested page
Either go back to the previous page or log in as a different user.
"`;
+exports[`ResetSessionPage renders as expected 1`] = `"
ElasticMockedFonts
You do not have permission to access the requested page
Either go back to the previous page or log in as a different user.
"`;
diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/overview/__snapshots__/index.test.tsx.snap b/x-pack/plugins/security_solution/public/common/components/event_details/overview/__snapshots__/index.test.tsx.snap
index 112ebb252f7d7..ecb997b4cbfe9 100644
--- a/x-pack/plugins/security_solution/public/common/components/event_details/overview/__snapshots__/index.test.tsx.snap
+++ b/x-pack/plugins/security_solution/public/common/components/event_details/overview/__snapshots__/index.test.tsx.snap
@@ -97,7 +97,7 @@ exports[`Event Details Overview Cards renders rows and spacers correctly 1`] = `
Status
`
- padding: ${theme.eui.ruleMargins.marginSmall} 0;
+ padding: ${theme.eui.euiSizeM} 0;
`}
`;
diff --git a/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/artifact_entry_card_minified.tsx b/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/artifact_entry_card_minified.tsx
index bfcd8c58f3447..4a20cd388accc 100644
--- a/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/artifact_entry_card_minified.tsx
+++ b/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/artifact_entry_card_minified.tsx
@@ -27,7 +27,7 @@ import { DescriptionField } from './components/description_field';
const CardContainerPanel = styled(EuiSplitPanel.Outer)`
&.artifactEntryCardMinified + &.artifactEntryCardMinified {
- margin-top: ${({ theme }) => theme.eui.spacerSizes.l};
+ margin-top: ${({ theme }) => theme.eui.euiSizeL};
}
`;
diff --git a/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/components/card_container_panel.tsx b/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/components/card_container_panel.tsx
index 0a64670a9de12..15de2f5aa0ba2 100644
--- a/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/components/card_container_panel.tsx
+++ b/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/components/card_container_panel.tsx
@@ -12,7 +12,7 @@ import React, { memo } from 'react';
export const EuiPanelStyled = styled(EuiPanel)`
&.artifactEntryCard + &.artifactEntryCard {
- margin-top: ${({ theme }) => theme.eui.spacerSizes.l};
+ margin-top: ${({ theme }) => theme.eui.euiSizeL};
}
`;
diff --git a/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/components/criteria_conditions.tsx b/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/components/criteria_conditions.tsx
index 9b656a97a94a0..c62dd49e8c8b1 100644
--- a/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/components/criteria_conditions.tsx
+++ b/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/components/criteria_conditions.tsx
@@ -56,7 +56,7 @@ const OPERATOR_TYPE_LABELS_EXCLUDED = Object.freeze({
});
const EuiFlexGroupNested = styled(EuiFlexGroup)`
- margin-left: ${({ theme }) => theme.eui.spacerSizes.xl};
+ margin-left: ${({ theme }) => theme.eui.euiSizeXL};
`;
const EuiFlexItemNested = styled(EuiFlexItem)`
diff --git a/x-pack/plugins/security_solution/public/management/pages/event_filters/view/event_filters_list_page.tsx b/x-pack/plugins/security_solution/public/management/pages/event_filters/view/event_filters_list_page.tsx
index ab69fa232dcf8..b982c260f9ca8 100644
--- a/x-pack/plugins/security_solution/public/management/pages/event_filters/view/event_filters_list_page.tsx
+++ b/x-pack/plugins/security_solution/public/management/pages/event_filters/view/event_filters_list_page.tsx
@@ -64,7 +64,7 @@ type EventListPaginatedContent = PaginatedContentProps<
const AdministrationListPage = styled(_AdministrationListPage)`
.event-filter-container > * {
- margin-bottom: ${({ theme }) => theme.eui.spacerSizes.l};
+ margin-bottom: ${({ theme }) => theme.eui.euiSizeL};
&:last-child {
margin-bottom: 0;
diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_forms/components/radio_buttons.tsx b/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_forms/components/radio_buttons.tsx
index a649d8f896957..bcb2c73eb8f1e 100644
--- a/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_forms/components/radio_buttons.tsx
+++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_forms/components/radio_buttons.tsx
@@ -25,7 +25,7 @@ export const RadioFlexGroup = styled(EuiFlexGroup)`
margin-right: 0;
}
.no-horizontal-margin-radio {
- margin: ${(props) => props.theme.eui.ruleMargins.marginSmall} 0;
+ margin: ${(props) => props.theme.eui.euiSizeM} 0;
}
`;
diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/vertical_divider.ts b/x-pack/plugins/security_solution/public/management/pages/policy/view/vertical_divider.ts
index e122571837c4a..166f4472bb7b2 100644
--- a/x-pack/plugins/security_solution/public/management/pages/policy/view/vertical_divider.ts
+++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/vertical_divider.ts
@@ -8,7 +8,7 @@
import styled from 'styled-components';
import { EuiTheme } from '@kbn/kibana-react-plugin/common';
-type SpacingOptions = keyof EuiTheme['eui']['spacerSizes'];
+type SpacingOptions = keyof EuiTheme['eui']['paddingSizes'];
/**
* A vertical divider - show a vertical line that spans 100% of the height of its parent container.
diff --git a/x-pack/plugins/security_solution/public/timelines/components/side_panel/__snapshots__/index.test.tsx.snap b/x-pack/plugins/security_solution/public/timelines/components/side_panel/__snapshots__/index.test.tsx.snap
index 8c4edbac58374..1e14767fdea9f 100644
--- a/x-pack/plugins/security_solution/public/timelines/components/side_panel/__snapshots__/index.test.tsx.snap
+++ b/x-pack/plugins/security_solution/public/timelines/components/side_panel/__snapshots__/index.test.tsx.snap
@@ -35,280 +35,127 @@ exports[`Details Panel Component DetailsPanel: rendering it should not render th
`;
exports[`Details Panel Component DetailsPanel:EventDetails: rendering it should render the Event Details Panel when the panelView is set and the associated params are set 1`] = `
-.c0 {
+Array [
+ .c0 {
-webkit-flex: 0 1 auto;
-ms-flex: 0 1 auto;
flex: 0 1 auto;
margin-top: 8px;
}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
,
+
,
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ,
+ ,
+]
`;
exports[`Details Panel Component DetailsPanel:EventDetails: rendering it should render the Event Details view of the Details Panel in the flyout when the panelView is eventDetail and the eventId is set 1`] = `
diff --git a/x-pack/plugins/security_solution/public/timelines/components/side_panel/index.test.tsx b/x-pack/plugins/security_solution/public/timelines/components/side_panel/index.test.tsx
index 31118e4e66897..7be972b73324b 100644
--- a/x-pack/plugins/security_solution/public/timelines/components/side_panel/index.test.tsx
+++ b/x-pack/plugins/security_solution/public/timelines/components/side_panel/index.test.tsx
@@ -179,7 +179,7 @@ describe('Details Panel Component', () => {
);
- expect(wrapper.find('EventDetailsPanelComponent')).toMatchSnapshot();
+ expect(wrapper.find('EventDetailsPanelComponent').render()).toMatchSnapshot();
});
test('it should render the Event Details view of the Details Panel in the flyout when the panelView is eventDetail and the eventId is set', () => {
diff --git a/x-pack/plugins/synthetics/public/legacy_uptime/components/common/charts/__snapshots__/donut_chart.test.tsx.snap b/x-pack/plugins/synthetics/public/legacy_uptime/components/common/charts/__snapshots__/donut_chart.test.tsx.snap
index 19d20244e2ccf..391854c9090a3 100644
--- a/x-pack/plugins/synthetics/public/legacy_uptime/components/common/charts/__snapshots__/donut_chart.test.tsx.snap
+++ b/x-pack/plugins/synthetics/public/legacy_uptime/components/common/charts/__snapshots__/donut_chart.test.tsx.snap
@@ -824,7 +824,7 @@ exports[`DonutChart component renders a donut chart 1`] = `
{
);
- let loadingChart = component.find(`.euiLoadingChart`);
+ // Added span because class appears twice with classNames and Emotion
+ let loadingChart = component.find(`span.euiLoadingChart`);
expect(loadingChart.length).toBe(1);
component.setProps({
diff --git a/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor/ping_list/__snapshots__/expanded_row.test.tsx.snap b/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor/ping_list/__snapshots__/expanded_row.test.tsx.snap
index bf25513a6bc2c..71803090e5509 100644
--- a/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor/ping_list/__snapshots__/expanded_row.test.tsx.snap
+++ b/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor/ping_list/__snapshots__/expanded_row.test.tsx.snap
@@ -165,7 +165,7 @@ exports[`PingListExpandedRow renders link to docs if body is not recorded but it
Body size is 1MB.
,
,
.c0.c0.c0 {
width: 30%;
diff --git a/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor/status_details/__snapshots__/ssl_certificate.test.tsx.snap b/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor/status_details/__snapshots__/ssl_certificate.test.tsx.snap
index eceea70c7da2a..c595cd75ce74f 100644
--- a/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor/status_details/__snapshots__/ssl_certificate.test.tsx.snap
+++ b/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor/status_details/__snapshots__/ssl_certificate.test.tsx.snap
@@ -13,7 +13,7 @@ Array [
TLS Certificate
,
,
.c0.c0.c0 {
width: 70%;
@@ -68,7 +68,7 @@ Array [
TLS Certificate
,
,
.c0.c0.c0 {
width: 70%;
diff --git a/yarn.lock b/yarn.lock
index b368ab0140d36..7caab8bb90cee 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1508,10 +1508,10 @@
resolved "https://registry.yarnpkg.com/@elastic/eslint-plugin-eui/-/eslint-plugin-eui-0.0.2.tgz#56b9ef03984a05cc213772ae3713ea8ef47b0314"
integrity sha512-IoxURM5zraoQ7C8f+mJb9HYSENiZGgRVcG4tLQxE61yHNNRDXtGDWTZh8N1KIHcsqN1CEPETjuzBXkJYF/fDiQ==
-"@elastic/eui@55.0.1":
- version "55.0.1"
- resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-55.0.1.tgz#d10978aa01b3e44f54dbfa148bc31af58d64b251"
- integrity sha512-k6ES2Sp8bZlYGRFYIoBS2EQ3C9BmEgC4p/A4ViHWNKpb0qriS37A28/QyIR2cPXwiesRq6rt7L+LQSLJlXmGzA==
+"@elastic/eui@55.1.2":
+ version "55.1.2"
+ resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-55.1.2.tgz#dd0b42f5b26c5800d6a9cb2d4c2fe1afce9d3f07"
+ integrity sha512-wwZz5KxMIMFlqEsoCRiQBJDc4CrluS1d0sCOmQ5lhIzKhYc91MdxnqCk2i6YkhL4sSDf2Y9KAEuMXa+uweOWUA==
dependencies:
"@types/chroma-js" "^2.0.0"
"@types/lodash" "^4.14.160"