mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Upgrade EUI to v52.2.0 (#128313)
* Updgraded EUI packages in package.json and src/dev/license_checker/config.js * Resolved Jest test failures for Jest test suites 1 and 2. Updated snapshots, and updated equality conditions for specific test cases * Resolve Jest test cases for Jest test suite 3. Updated snapshots for required tests * type fixes * Resolved failing Jest test cases in Jest suite 3. Updated tests checking for strict text equality to account for text coming from the EuiScreenReaderOnly component. Also updated tests to account for EuiIcon text that is now rendered when the icon is imported from .testenv (PR 5709 - https://github.com/elastic/eui/pull/5709/). * eui to 52.2.0 * Resolved test cases for Jest test suites 1 and 2. Updated required snapshots. Updated tests using getAllByLabelText and getByLabelText to getAllByText and getByText respectively as the former have been deprecated * Updated Jest tests for Jest test suites 5 and 6. Updated required snapshots. Updated instances of getByLabelText and getAllByLabelText to getByText and getAllByText as the former are now deprecated. * Updated Jest tests for Jest test suite 7. Updated required snapshots. * Completed test case revisions for Jest test suites 1, 3, 6, 7, and 8. Updated required snapshots. Updated various tests to account for text rendering of the EuiIcon text. * eui back to v52.2.0 * removed unused test utils * use .contains for euiicon content * storyshots updates * linting Co-authored-by: Greg Thompson <thompson.glowe@gmail.com>
This commit is contained in:
parent
06ac35eab3
commit
dccd8290bb
99 changed files with 990 additions and 406 deletions
|
@ -108,7 +108,7 @@
|
|||
"@elastic/datemath": "link:bazel-bin/packages/elastic-datemath",
|
||||
"@elastic/elasticsearch": "npm:@elastic/elasticsearch-canary@8.2.0-canary.1",
|
||||
"@elastic/ems-client": "8.2.0",
|
||||
"@elastic/eui": "51.1.0",
|
||||
"@elastic/eui": "52.2.0",
|
||||
"@elastic/filesaver": "1.1.2",
|
||||
"@elastic/node-crypto": "1.2.1",
|
||||
"@elastic/numeral": "^2.5.1",
|
||||
|
|
|
@ -3108,12 +3108,13 @@ exports[`Header renders 1`] = `
|
|||
type="logoElastic"
|
||||
>
|
||||
<span
|
||||
aria-label="Elastic Logo"
|
||||
className="chrHeaderLogo__cluster"
|
||||
data-euiicon-type="logoElastic"
|
||||
data-test-subj="globalLoadingIndicator-hidden"
|
||||
size="l"
|
||||
/>
|
||||
>
|
||||
Elastic Logo
|
||||
</span>
|
||||
</EuiIcon>
|
||||
</LoadingIndicator>
|
||||
<ElasticMark
|
||||
|
|
|
@ -77,6 +77,6 @@ export const LICENSE_OVERRIDES = {
|
|||
'jsts@1.6.2': ['Eclipse Distribution License - v 1.0'], // cf. https://github.com/bjornharrtell/jsts
|
||||
'@mapbox/jsonlint-lines-primitives@2.0.2': ['MIT'], // license in readme https://github.com/tmcw/jsonlint
|
||||
'@elastic/ems-client@8.2.0': ['Elastic License 2.0'],
|
||||
'@elastic/eui@51.1.0': ['SSPL-1.0 OR Elastic License 2.0'],
|
||||
'@elastic/eui@52.2.0': ['SSPL-1.0 OR Elastic License 2.0'],
|
||||
'language-subtag-registry@0.3.21': ['CC-BY-4.0'], // retired ODC‑By license https://github.com/mattcg/language-subtag-registry
|
||||
};
|
||||
|
|
|
@ -179,10 +179,11 @@ exports[`UrlFormatEditor should render normally 1`] = `
|
|||
URL template help
|
||||
</span>
|
||||
<span
|
||||
aria-label="External link"
|
||||
class="euiLink__externalIcon"
|
||||
data-euiicon-type="popout"
|
||||
/>
|
||||
>
|
||||
External link
|
||||
</span>
|
||||
<span
|
||||
class="euiScreenReaderOnly"
|
||||
>
|
||||
|
@ -243,10 +244,11 @@ exports[`UrlFormatEditor should render normally 1`] = `
|
|||
Label template help
|
||||
</span>
|
||||
<span
|
||||
aria-label="External link"
|
||||
class="euiLink__externalIcon"
|
||||
data-euiicon-type="popout"
|
||||
/>
|
||||
>
|
||||
External link
|
||||
</span>
|
||||
<span
|
||||
class="euiScreenReaderOnly"
|
||||
>
|
||||
|
|
|
@ -320,10 +320,11 @@ exports[`Table should render the boolean template (false) 1`] = `<span />`;
|
|||
|
||||
exports[`Table should render the boolean template (true) 1`] = `
|
||||
<span
|
||||
aria-label="Is searchable"
|
||||
color="success"
|
||||
data-euiicon-type="dot"
|
||||
/>
|
||||
>
|
||||
Is searchable
|
||||
</span>
|
||||
`;
|
||||
|
||||
exports[`Table should render timestamp field name 1`] = `
|
||||
|
|
|
@ -20,10 +20,11 @@ exports[`TableHeader with time column renders correctly 1`] = `
|
|||
class="euiToolTipAnchor"
|
||||
>
|
||||
<span
|
||||
aria-label="Primary time field."
|
||||
data-euiicon-type="clock"
|
||||
tabindex="0"
|
||||
/>
|
||||
>
|
||||
Primary time field.
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
class="euiToolTipAnchor"
|
||||
|
|
|
@ -9,10 +9,11 @@ Array [
|
|||
class="euiToken euiToken--euiColorVis5 euiToken--square euiToken--light euiToken--small kbnFieldIcon"
|
||||
>
|
||||
<span
|
||||
aria-label="Geo point field"
|
||||
data-euiicon-type="tokenGeo"
|
||||
title="Geo point field"
|
||||
/>
|
||||
>
|
||||
Geo point field
|
||||
</span>
|
||||
</span>
|
||||
</div>,
|
||||
<div
|
||||
|
@ -42,10 +43,11 @@ Array [
|
|||
class="euiToken euiToken--euiColorVis0 euiToken--square euiToken--light euiToken--small kbnFieldIcon"
|
||||
>
|
||||
<span
|
||||
aria-label="Number field"
|
||||
data-euiicon-type="tokenNumber"
|
||||
title="Number field"
|
||||
/>
|
||||
>
|
||||
Number field
|
||||
</span>
|
||||
</span>
|
||||
</div>,
|
||||
<div
|
||||
|
@ -75,10 +77,11 @@ Array [
|
|||
class="euiToken euiToken--euiColorVis1 euiToken--square euiToken--light euiToken--small kbnFieldIcon"
|
||||
>
|
||||
<span
|
||||
aria-label="String field"
|
||||
data-euiicon-type="tokenString"
|
||||
title="String field"
|
||||
/>
|
||||
>
|
||||
String field
|
||||
</span>
|
||||
</span>
|
||||
</div>,
|
||||
<div
|
||||
|
@ -108,10 +111,11 @@ Array [
|
|||
class="euiToken euiToken--gray euiToken--circle euiToken--light euiToken--small kbnFieldIcon"
|
||||
>
|
||||
<span
|
||||
aria-label="Unknown field"
|
||||
data-euiicon-type="questionInCircle"
|
||||
title="Unknown field"
|
||||
/>
|
||||
>
|
||||
Unknown field
|
||||
</span>
|
||||
</span>
|
||||
</div>,
|
||||
<div
|
||||
|
|
|
@ -106,11 +106,12 @@ exports[`NotFoundErrors component renders correctly for index-pattern type 1`] =
|
|||
type="popout"
|
||||
>
|
||||
<span
|
||||
aria-label="External link"
|
||||
className="euiLink__externalIcon"
|
||||
data-euiicon-type="popout"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
External link
|
||||
</span>
|
||||
</EuiIcon>
|
||||
<EuiScreenReaderOnly>
|
||||
<span
|
||||
|
@ -243,11 +244,12 @@ exports[`NotFoundErrors component renders correctly for index-pattern-field type
|
|||
type="popout"
|
||||
>
|
||||
<span
|
||||
aria-label="External link"
|
||||
className="euiLink__externalIcon"
|
||||
data-euiicon-type="popout"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
External link
|
||||
</span>
|
||||
</EuiIcon>
|
||||
<EuiScreenReaderOnly>
|
||||
<span
|
||||
|
@ -380,11 +382,12 @@ exports[`NotFoundErrors component renders correctly for search type 1`] = `
|
|||
type="popout"
|
||||
>
|
||||
<span
|
||||
aria-label="External link"
|
||||
className="euiLink__externalIcon"
|
||||
data-euiicon-type="popout"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
External link
|
||||
</span>
|
||||
</EuiIcon>
|
||||
<EuiScreenReaderOnly>
|
||||
<span
|
||||
|
@ -509,11 +512,12 @@ exports[`NotFoundErrors component renders correctly for unknown type 1`] = `
|
|||
type="popout"
|
||||
>
|
||||
<span
|
||||
aria-label="External link"
|
||||
className="euiLink__externalIcon"
|
||||
data-euiicon-type="popout"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
External link
|
||||
</span>
|
||||
</EuiIcon>
|
||||
<EuiScreenReaderOnly>
|
||||
<span
|
||||
|
|
|
@ -25,7 +25,7 @@ describe('NotFoundErrors component', () => {
|
|||
const callOut = mounted.find('EuiCallOut');
|
||||
expect(callOut).toMatchSnapshot();
|
||||
expect(mounted.text()).toMatchInlineSnapshot(
|
||||
`"There is a problem with this saved objectThe saved search associated with this object no longer exists.If you know what this error means, you can use the Saved objects APIs(opens in a new tab or window) to fix it — otherwise click the delete button above."`
|
||||
`"There is a problem with this saved objectThe saved search associated with this object no longer exists.If you know what this error means, you can use the Saved objects APIsExternal link(opens in a new tab or window) to fix it — otherwise click the delete button above."`
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -34,7 +34,7 @@ describe('NotFoundErrors component', () => {
|
|||
const callOut = mounted.find('EuiCallOut');
|
||||
expect(callOut).toMatchSnapshot();
|
||||
expect(mounted.text()).toMatchInlineSnapshot(
|
||||
`"There is a problem with this saved objectThe data view associated with this object no longer exists.If you know what this error means, you can use the Saved objects APIs(opens in a new tab or window) to fix it — otherwise click the delete button above."`
|
||||
`"There is a problem with this saved objectThe data view associated with this object no longer exists.If you know what this error means, you can use the Saved objects APIsExternal link(opens in a new tab or window) to fix it — otherwise click the delete button above."`
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -43,7 +43,7 @@ describe('NotFoundErrors component', () => {
|
|||
const callOut = mounted.find('EuiCallOut');
|
||||
expect(callOut).toMatchSnapshot();
|
||||
expect(mounted.text()).toMatchInlineSnapshot(
|
||||
`"There is a problem with this saved objectA field associated with this object no longer exists in the data view.If you know what this error means, you can use the Saved objects APIs(opens in a new tab or window) to fix it — otherwise click the delete button above."`
|
||||
`"There is a problem with this saved objectA field associated with this object no longer exists in the data view.If you know what this error means, you can use the Saved objects APIsExternal link(opens in a new tab or window) to fix it — otherwise click the delete button above."`
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -52,7 +52,7 @@ describe('NotFoundErrors component', () => {
|
|||
const callOut = mounted.find('EuiCallOut');
|
||||
expect(callOut).toMatchSnapshot();
|
||||
expect(mounted.text()).toMatchInlineSnapshot(
|
||||
`"There is a problem with this saved objectIf you know what this error means, you can use the Saved objects APIs(opens in a new tab or window) to fix it — otherwise click the delete button above."`
|
||||
`"There is a problem with this saved objectIf you know what this error means, you can use the Saved objects APIsExternal link(opens in a new tab or window) to fix it — otherwise click the delete button above."`
|
||||
);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -56,7 +56,7 @@ describe('LinkPreview', () => {
|
|||
removeExternalLinkText(
|
||||
(getByTestId(container, 'preview-link') as HTMLAnchorElement).text
|
||||
)
|
||||
).toEqual('https://baz.co');
|
||||
).toContain('https://baz.co');
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -74,7 +74,7 @@ describe('LinkPreview', () => {
|
|||
removeExternalLinkText(
|
||||
(getByTestId(container, 'preview-link') as HTMLAnchorElement).text
|
||||
)
|
||||
).toEqual('https://baz.co?service.name={{invalid}');
|
||||
).toContain('https://baz.co?service.name={{invalid}');
|
||||
expect(getByTestId(container, 'preview-warning')).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
@ -94,7 +94,7 @@ describe('LinkPreview', () => {
|
|||
removeExternalLinkText(
|
||||
(getByTestId(container, 'preview-link') as HTMLAnchorElement).text
|
||||
)
|
||||
).toEqual('https://baz.co?transaction=0');
|
||||
).toContain('https://baz.co?transaction=0');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -45,7 +45,7 @@ describe('CustomLinkToolbar', () => {
|
|||
wrapper: Wrapper,
|
||||
});
|
||||
expect(
|
||||
component.getByLabelText('Custom links settings page')
|
||||
component.getByText('Custom links settings page')
|
||||
).toBeInTheDocument();
|
||||
expectTextsInDocument(component, ['Create']);
|
||||
});
|
||||
|
@ -56,7 +56,7 @@ describe('CustomLinkToolbar', () => {
|
|||
{ wrapper: Wrapper }
|
||||
);
|
||||
expect(
|
||||
component.getByLabelText('Custom links settings page')
|
||||
component.getByText('Custom links settings page')
|
||||
).toBeInTheDocument();
|
||||
expectTextsNotInDocument(component, ['Create']);
|
||||
});
|
||||
|
|
|
@ -35,7 +35,9 @@ exports[`Storyshots renderers/DropdownFilter default 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -96,7 +98,9 @@ exports[`Storyshots renderers/DropdownFilter with choices 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -157,7 +161,9 @@ exports[`Storyshots renderers/DropdownFilter with choices and new value 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -218,7 +224,9 @@ exports[`Storyshots renderers/DropdownFilter with choices and value 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -261,7 +269,9 @@ exports[`Storyshots renderers/DropdownFilter with new value 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -42,13 +42,17 @@ exports[`Storyshots renderers/TimeFilter default 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButtonEmpty__text euiQuickSelectPopover__buttonText"
|
||||
>
|
||||
<span
|
||||
data-euiicon-type="calendar"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</button>
|
||||
|
@ -91,7 +95,9 @@ exports[`Storyshots renderers/TimeFilter default 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="timeRefresh"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButtonEmpty__text"
|
||||
>
|
||||
|
@ -150,13 +156,17 @@ exports[`Storyshots renderers/TimeFilter with absolute time bounds 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButtonEmpty__text euiQuickSelectPopover__buttonText"
|
||||
>
|
||||
<span
|
||||
data-euiicon-type="calendar"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</button>
|
||||
|
@ -235,7 +245,9 @@ exports[`Storyshots renderers/TimeFilter with absolute time bounds 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="timeRefresh"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButtonEmpty__text"
|
||||
>
|
||||
|
@ -294,13 +306,17 @@ exports[`Storyshots renderers/TimeFilter with commonlyUsedRanges 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButtonEmpty__text euiQuickSelectPopover__buttonText"
|
||||
>
|
||||
<span
|
||||
data-euiicon-type="calendar"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</button>
|
||||
|
@ -343,7 +359,9 @@ exports[`Storyshots renderers/TimeFilter with commonlyUsedRanges 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="timeRefresh"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButtonEmpty__text"
|
||||
>
|
||||
|
@ -402,13 +420,17 @@ exports[`Storyshots renderers/TimeFilter with dateFormat 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButtonEmpty__text euiQuickSelectPopover__buttonText"
|
||||
>
|
||||
<span
|
||||
data-euiicon-type="calendar"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</button>
|
||||
|
@ -451,7 +473,9 @@ exports[`Storyshots renderers/TimeFilter with dateFormat 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="timeRefresh"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButtonEmpty__text"
|
||||
>
|
||||
|
@ -510,13 +534,17 @@ exports[`Storyshots renderers/TimeFilter with relative time bounds 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButtonEmpty__text euiQuickSelectPopover__buttonText"
|
||||
>
|
||||
<span
|
||||
data-euiicon-type="calendar"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</button>
|
||||
|
@ -595,7 +623,9 @@ exports[`Storyshots renderers/TimeFilter with relative time bounds 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="timeRefresh"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButtonEmpty__text"
|
||||
>
|
||||
|
|
|
@ -65,7 +65,9 @@ exports[`Storyshots arguments/AxisConfig extended 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -143,7 +145,9 @@ exports[`Storyshots arguments/AxisConfig/components extended 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -47,7 +47,9 @@ Array [
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -120,7 +122,9 @@ Array [
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -192,7 +196,9 @@ exports[`Storyshots arguments/DateFormat with preset format 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -57,7 +57,9 @@ Array [
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -140,7 +142,9 @@ Array [
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -222,7 +226,9 @@ exports[`Storyshots arguments/NumberFormat with preset format 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -81,7 +81,9 @@ exports[`Storyshots components/Assets/Asset airplane 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="vector"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -111,7 +113,9 @@ exports[`Storyshots components/Assets/Asset airplane 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="sortDown"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</span>
|
||||
|
@ -142,7 +146,9 @@ exports[`Storyshots components/Assets/Asset airplane 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="copyClipboard"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</span>
|
||||
|
@ -169,7 +175,9 @@ exports[`Storyshots components/Assets/Asset airplane 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="trash"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -260,7 +268,9 @@ exports[`Storyshots components/Assets/Asset marker 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="vector"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -290,7 +300,9 @@ exports[`Storyshots components/Assets/Asset marker 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="sortDown"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</span>
|
||||
|
@ -321,7 +333,9 @@ exports[`Storyshots components/Assets/Asset marker 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="copyClipboard"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</span>
|
||||
|
@ -348,7 +362,9 @@ exports[`Storyshots components/Assets/Asset marker 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="trash"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
@ -26,7 +26,9 @@ exports[`Storyshots components/Assets/AssetManager no assets 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="cross"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<div
|
||||
className="euiModal__flex"
|
||||
|
@ -73,7 +75,9 @@ exports[`Storyshots components/Assets/AssetManager no assets 1`] = `
|
|||
className="euiFilePicker__icon"
|
||||
data-euiicon-type="importAction"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<div
|
||||
className="euiFilePicker__promptText"
|
||||
>
|
||||
|
@ -122,7 +126,9 @@ exports[`Storyshots components/Assets/AssetManager no assets 1`] = `
|
|||
color="subdued"
|
||||
data-euiicon-type="importAction"
|
||||
size="xxl"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
className="euiEmptyPrompt__content"
|
||||
|
@ -224,7 +230,9 @@ exports[`Storyshots components/Assets/AssetManager two assets 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="cross"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<div
|
||||
className="euiModal__flex"
|
||||
|
@ -271,7 +279,9 @@ exports[`Storyshots components/Assets/AssetManager two assets 1`] = `
|
|||
className="euiFilePicker__icon"
|
||||
data-euiicon-type="importAction"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<div
|
||||
className="euiFilePicker__promptText"
|
||||
>
|
||||
|
@ -380,7 +390,9 @@ exports[`Storyshots components/Assets/AssetManager two assets 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="vector"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -410,7 +422,9 @@ exports[`Storyshots components/Assets/AssetManager two assets 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="sortDown"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</span>
|
||||
|
@ -441,7 +455,9 @@ exports[`Storyshots components/Assets/AssetManager two assets 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="copyClipboard"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</span>
|
||||
|
@ -468,7 +484,9 @@ exports[`Storyshots components/Assets/AssetManager two assets 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="trash"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -548,7 +566,9 @@ exports[`Storyshots components/Assets/AssetManager two assets 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="vector"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -578,7 +598,9 @@ exports[`Storyshots components/Assets/AssetManager two assets 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="sortDown"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</span>
|
||||
|
@ -609,7 +631,9 @@ exports[`Storyshots components/Assets/AssetManager two assets 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="copyClipboard"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</span>
|
||||
|
@ -636,7 +660,9 @@ exports[`Storyshots components/Assets/AssetManager two assets 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="trash"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
@ -129,7 +129,9 @@ Array [
|
|||
<span
|
||||
color="#000"
|
||||
data-euiicon-type="plusInCircle"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</div>,
|
||||
<div
|
||||
|
@ -149,7 +151,9 @@ Array [
|
|||
<span
|
||||
color="#fff"
|
||||
data-euiicon-type="minusInCircle"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</div>,
|
||||
<div
|
||||
|
@ -169,7 +173,9 @@ Array [
|
|||
<span
|
||||
color="#fff"
|
||||
data-euiicon-type="alert"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</div>,
|
||||
<div
|
||||
|
@ -189,7 +195,9 @@ Array [
|
|||
<span
|
||||
color="#fff"
|
||||
data-euiicon-type="check"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</div>,
|
||||
]
|
||||
|
|
|
@ -394,7 +394,9 @@ exports[`Storyshots components/Color/ColorManager interactive 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="plusInCircle"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<button
|
||||
aria-label="Remove Color"
|
||||
|
@ -409,7 +411,9 @@ exports[`Storyshots components/Color/ColorManager interactive 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="minusInCircle"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -805,7 +809,9 @@ Array [
|
|||
color="inherit"
|
||||
data-euiicon-type="plusInCircle"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<button
|
||||
aria-label="Remove Color"
|
||||
|
@ -820,7 +826,9 @@ Array [
|
|||
color="inherit"
|
||||
data-euiicon-type="minusInCircle"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>,
|
||||
|
@ -886,7 +894,9 @@ Array [
|
|||
color="inherit"
|
||||
data-euiicon-type="plusInCircle"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<button
|
||||
aria-label="Remove Color"
|
||||
|
@ -900,7 +910,9 @@ Array [
|
|||
color="inherit"
|
||||
data-euiicon-type="minusInCircle"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>,
|
||||
|
@ -965,7 +977,9 @@ Array [
|
|||
color="inherit"
|
||||
data-euiicon-type="plusInCircle"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<button
|
||||
aria-label="Remove Color"
|
||||
|
@ -979,7 +993,9 @@ Array [
|
|||
color="inherit"
|
||||
data-euiicon-type="minusInCircle"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>,
|
||||
|
|
|
@ -393,7 +393,9 @@ Array [
|
|||
className="selected-color"
|
||||
color="#333"
|
||||
data-euiicon-type="check"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</button>
|
||||
|
@ -758,7 +760,9 @@ exports[`Storyshots components/Color/ColorPalette six colors, wrap at 4 1`] = `
|
|||
className="selected-color"
|
||||
color="#333"
|
||||
data-euiicon-type="check"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</button>
|
||||
|
@ -1040,7 +1044,9 @@ Array [
|
|||
className="selected-color"
|
||||
color="#333"
|
||||
data-euiicon-type="check"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</button>
|
||||
|
|
|
@ -237,7 +237,9 @@ exports[`Storyshots components/Color/ColorPicker interactive 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="plusInCircle"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<button
|
||||
aria-label="Remove Color"
|
||||
|
@ -252,7 +254,9 @@ exports[`Storyshots components/Color/ColorPicker interactive 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="minusInCircle"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -318,7 +322,9 @@ exports[`Storyshots components/Color/ColorPicker six colors 1`] = `
|
|||
className="selected-color"
|
||||
color="#333"
|
||||
data-euiicon-type="check"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</button>
|
||||
|
@ -526,7 +532,9 @@ exports[`Storyshots components/Color/ColorPicker six colors 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="plusInCircle"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<button
|
||||
aria-label="Remove Color"
|
||||
|
@ -540,7 +548,9 @@ exports[`Storyshots components/Color/ColorPicker six colors 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="minusInCircle"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -786,7 +796,9 @@ exports[`Storyshots components/Color/ColorPicker six colors, value missing 1`] =
|
|||
color="inherit"
|
||||
data-euiicon-type="plusInCircle"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<button
|
||||
aria-label="Remove Color"
|
||||
|
@ -801,7 +813,9 @@ exports[`Storyshots components/Color/ColorPicker six colors, value missing 1`] =
|
|||
color="inherit"
|
||||
data-euiicon-type="minusInCircle"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -846,7 +860,9 @@ exports[`Storyshots components/Color/ColorPicker three colors 1`] = `
|
|||
className="selected-color"
|
||||
color="#333"
|
||||
data-euiicon-type="check"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</button>
|
||||
|
@ -970,7 +986,9 @@ exports[`Storyshots components/Color/ColorPicker three colors 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="plusInCircle"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<button
|
||||
aria-label="Remove Color"
|
||||
|
@ -984,7 +1002,9 @@ exports[`Storyshots components/Color/ColorPicker three colors 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="minusInCircle"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -27,7 +27,9 @@ exports[`Storyshots components/Elements/CustomElementModal with description 1`]
|
|||
color="inherit"
|
||||
data-euiicon-type="cross"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<div
|
||||
className="euiModal__flex"
|
||||
|
@ -184,7 +186,9 @@ exports[`Storyshots components/Elements/CustomElementModal with description 1`]
|
|||
className="euiFilePicker__icon"
|
||||
data-euiicon-type="importAction"
|
||||
size="l"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<div
|
||||
className="euiFilePicker__promptText"
|
||||
>
|
||||
|
@ -224,7 +228,9 @@ exports[`Storyshots components/Elements/CustomElementModal with description 1`]
|
|||
className="euiCard__icon"
|
||||
data-euiicon-type="canvasApp"
|
||||
size="xxl"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
className="euiCard__content"
|
||||
|
@ -338,7 +344,9 @@ exports[`Storyshots components/Elements/CustomElementModal with image 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="cross"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<div
|
||||
className="euiModal__flex"
|
||||
|
@ -495,7 +503,9 @@ exports[`Storyshots components/Elements/CustomElementModal with image 1`] = `
|
|||
className="euiFilePicker__icon"
|
||||
data-euiicon-type="importAction"
|
||||
size="l"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<div
|
||||
className="euiFilePicker__promptText"
|
||||
>
|
||||
|
@ -646,7 +656,9 @@ exports[`Storyshots components/Elements/CustomElementModal with name 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="cross"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<div
|
||||
className="euiModal__flex"
|
||||
|
@ -803,7 +815,9 @@ exports[`Storyshots components/Elements/CustomElementModal with name 1`] = `
|
|||
className="euiFilePicker__icon"
|
||||
data-euiicon-type="importAction"
|
||||
size="l"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<div
|
||||
className="euiFilePicker__promptText"
|
||||
>
|
||||
|
@ -843,7 +857,9 @@ exports[`Storyshots components/Elements/CustomElementModal with name 1`] = `
|
|||
className="euiCard__icon"
|
||||
data-euiicon-type="canvasApp"
|
||||
size="xxl"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
className="euiCard__content"
|
||||
|
@ -949,7 +965,9 @@ exports[`Storyshots components/Elements/CustomElementModal with title 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="cross"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<div
|
||||
className="euiModal__flex"
|
||||
|
@ -1106,7 +1124,9 @@ exports[`Storyshots components/Elements/CustomElementModal with title 1`] = `
|
|||
className="euiFilePicker__icon"
|
||||
data-euiicon-type="importAction"
|
||||
size="l"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<div
|
||||
className="euiFilePicker__promptText"
|
||||
>
|
||||
|
@ -1146,7 +1166,9 @@ exports[`Storyshots components/Elements/CustomElementModal with title 1`] = `
|
|||
className="euiCard__icon"
|
||||
data-euiicon-type="canvasApp"
|
||||
size="xxl"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
className="euiCard__content"
|
||||
|
|
|
@ -18,14 +18,18 @@ exports[`Storyshots components/datasource/DatasourceComponent datasource with ex
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowRight"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButtonEmpty__text"
|
||||
>
|
||||
<span
|
||||
className="canvasDataSource__triggerButtonIcon"
|
||||
data-euiicon-type="training"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
Test Datasource
|
||||
</span>
|
||||
</span>
|
||||
|
@ -70,14 +74,18 @@ exports[`Storyshots components/datasource/DatasourceComponent simple datasource
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowRight"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButtonEmpty__text"
|
||||
>
|
||||
<span
|
||||
className="canvasDataSource__triggerButtonIcon"
|
||||
data-euiicon-type="training"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
Test Datasource
|
||||
</span>
|
||||
</span>
|
||||
|
|
|
@ -19,7 +19,9 @@ exports[`Storyshots components/Elements/ElementCard with click handler 1`] = `
|
|||
className="euiCard__icon"
|
||||
data-euiicon-type="canvasApp"
|
||||
size="xxl"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
className="euiCard__content"
|
||||
|
@ -120,7 +122,9 @@ exports[`Storyshots components/Elements/ElementCard with tags 1`] = `
|
|||
className="euiCard__icon"
|
||||
data-euiicon-type="canvasApp"
|
||||
size="xxl"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
className="euiCard__content"
|
||||
|
@ -287,7 +291,9 @@ exports[`Storyshots components/Elements/ElementCard with title and description 1
|
|||
className="euiCard__icon"
|
||||
data-euiicon-type="canvasApp"
|
||||
size="xxl"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
className="euiCard__content"
|
||||
|
|
|
@ -26,7 +26,9 @@ exports[`Storyshots components/FileUpload default 1`] = `
|
|||
className="euiFilePicker__icon"
|
||||
data-euiicon-type="importAction"
|
||||
size="l"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<div
|
||||
className="euiFilePicker__promptText"
|
||||
>
|
||||
|
|
|
@ -59,7 +59,9 @@ exports[`Storyshots Home Home Page 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="plusInCircleFilled"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButton__text"
|
||||
>
|
||||
|
|
|
@ -28,7 +28,9 @@ exports[`Storyshots Home/Components/Empty Prompt Empty Prompt 1`] = `
|
|||
color="subdued"
|
||||
data-euiicon-type="importAction"
|
||||
size="xxl"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
className="euiEmptyPrompt__content"
|
||||
|
|
|
@ -37,7 +37,9 @@ exports[`Storyshots Home/Components/Workpad Table Workpad Table 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="search"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -73,7 +75,9 @@ exports[`Storyshots Home/Components/Workpad Table Workpad Table 1`] = `
|
|||
className="euiFilePicker__icon"
|
||||
data-euiicon-type="importAction"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<div
|
||||
className="euiFilePicker__promptText"
|
||||
>
|
||||
|
@ -150,7 +154,9 @@ exports[`Storyshots Home/Components/Workpad Table Workpad Table 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButtonEmpty__text"
|
||||
>
|
||||
|
@ -296,7 +302,9 @@ exports[`Storyshots Home/Components/Workpad Table Workpad Table 1`] = `
|
|||
className="euiTableSortIcon"
|
||||
data-euiicon-type="sortDown"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</button>
|
||||
</th>
|
||||
|
@ -460,7 +468,9 @@ exports[`Storyshots Home/Components/Workpad Table Workpad Table 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="exportAction"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -486,7 +496,9 @@ exports[`Storyshots Home/Components/Workpad Table Workpad Table 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="copy"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -632,7 +644,9 @@ exports[`Storyshots Home/Components/Workpad Table Workpad Table 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="exportAction"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -658,7 +672,9 @@ exports[`Storyshots Home/Components/Workpad Table Workpad Table 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="copy"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -804,7 +820,9 @@ exports[`Storyshots Home/Components/Workpad Table Workpad Table 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="exportAction"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -830,7 +848,9 @@ exports[`Storyshots Home/Components/Workpad Table Workpad Table 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="copy"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -873,7 +893,9 @@ exports[`Storyshots Home/Components/Workpad Table Workpad Table 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButtonEmpty__text"
|
||||
>
|
||||
|
@ -915,7 +937,9 @@ exports[`Storyshots Home/Components/Workpad Table Workpad Table 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowLeft"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<ul
|
||||
aria-label="Pagination for table: "
|
||||
|
@ -960,7 +984,9 @@ exports[`Storyshots Home/Components/Workpad Table Workpad Table 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowRight"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</nav>
|
||||
</div>
|
||||
|
|
|
@ -73,7 +73,9 @@ exports[`Storyshots components/ItemGrid complex grid 1`] = `
|
|||
<span
|
||||
color="#333"
|
||||
data-euiicon-type="plusInCircle"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
|
@ -93,7 +95,9 @@ exports[`Storyshots components/ItemGrid complex grid 1`] = `
|
|||
<span
|
||||
color="#FFF"
|
||||
data-euiicon-type="minusInCircle"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
|
@ -113,7 +117,9 @@ exports[`Storyshots components/ItemGrid complex grid 1`] = `
|
|||
<span
|
||||
color="#FFF"
|
||||
data-euiicon-type="check"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -125,13 +131,19 @@ exports[`Storyshots components/ItemGrid icon grid 1`] = `
|
|||
>
|
||||
<span
|
||||
data-euiicon-type="plusInCircle"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
data-euiicon-type="minusInCircle"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
data-euiicon-type="check"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
`;
|
||||
|
||||
|
|
|
@ -34,7 +34,9 @@ exports[`Storyshots components/SavedElementsModal/ElementControls has two button
|
|||
color="inherit"
|
||||
data-euiicon-type="pencil"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -61,7 +63,9 @@ exports[`Storyshots components/SavedElementsModal/ElementControls has two button
|
|||
color="inherit"
|
||||
data-euiicon-type="trash"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
@ -85,7 +85,9 @@ exports[`Storyshots components/SavedElementsModal/ElementGrid default 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="pencil"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -112,7 +114,9 @@ exports[`Storyshots components/SavedElementsModal/ElementGrid default 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="trash"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -192,7 +196,9 @@ exports[`Storyshots components/SavedElementsModal/ElementGrid default 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="pencil"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -219,7 +225,9 @@ exports[`Storyshots components/SavedElementsModal/ElementGrid default 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="trash"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -299,7 +307,9 @@ exports[`Storyshots components/SavedElementsModal/ElementGrid default 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="pencil"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -326,7 +336,9 @@ exports[`Storyshots components/SavedElementsModal/ElementGrid default 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="trash"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
@ -26,7 +26,9 @@ exports[`Storyshots components/SavedElementsModal no custom elements 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="cross"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<div
|
||||
className="euiModal__flex"
|
||||
|
@ -78,7 +80,9 @@ exports[`Storyshots components/SavedElementsModal no custom elements 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="search"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -99,7 +103,9 @@ exports[`Storyshots components/SavedElementsModal no custom elements 1`] = `
|
|||
color="subdued"
|
||||
data-euiicon-type="vector"
|
||||
size="xxl"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
className="euiEmptyPrompt__content"
|
||||
|
@ -190,7 +196,9 @@ exports[`Storyshots components/SavedElementsModal with custom elements 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="cross"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<div
|
||||
className="euiModal__flex"
|
||||
|
@ -242,7 +250,9 @@ exports[`Storyshots components/SavedElementsModal with custom elements 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="search"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -327,7 +337,9 @@ exports[`Storyshots components/SavedElementsModal with custom elements 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="pencil"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -354,7 +366,9 @@ exports[`Storyshots components/SavedElementsModal with custom elements 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="trash"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -434,7 +448,9 @@ exports[`Storyshots components/SavedElementsModal with custom elements 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="pencil"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -461,7 +477,9 @@ exports[`Storyshots components/SavedElementsModal with custom elements 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="trash"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -541,7 +559,9 @@ exports[`Storyshots components/SavedElementsModal with custom elements 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="pencil"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -568,7 +588,9 @@ exports[`Storyshots components/SavedElementsModal with custom elements 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="trash"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -634,7 +656,9 @@ exports[`Storyshots components/SavedElementsModal with text filter 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="cross"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<div
|
||||
className="euiModal__flex"
|
||||
|
@ -686,7 +710,9 @@ exports[`Storyshots components/SavedElementsModal with text filter 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="search"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
|
@ -702,7 +728,9 @@ exports[`Storyshots components/SavedElementsModal with text filter 1`] = `
|
|||
<span
|
||||
className="euiFormControlLayoutClearButton__icon"
|
||||
data-euiicon-type="cross"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -787,7 +815,9 @@ exports[`Storyshots components/SavedElementsModal with text filter 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="pencil"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -814,7 +844,9 @@ exports[`Storyshots components/SavedElementsModal with text filter 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="trash"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
@ -72,7 +72,9 @@ exports[`Storyshots components/Sidebar/SidebarHeader with layer controls 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="sortUp"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -98,7 +100,9 @@ exports[`Storyshots components/Sidebar/SidebarHeader with layer controls 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowUp"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -124,7 +128,9 @@ exports[`Storyshots components/Sidebar/SidebarHeader with layer controls 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -150,7 +156,9 @@ exports[`Storyshots components/Sidebar/SidebarHeader with layer controls 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="sortDown"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
@ -57,7 +57,9 @@ exports[`Storyshots components/Tags/Tag as health 1`] = `
|
|||
<span
|
||||
color="#666666"
|
||||
data-euiicon-type="dot"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
className="euiFlexItem euiFlexItem--flexGrowZero"
|
||||
|
@ -81,7 +83,9 @@ exports[`Storyshots components/Tags/Tag as health with color 1`] = `
|
|||
<span
|
||||
color="#9b3067"
|
||||
data-euiicon-type="dot"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
className="euiFlexItem euiFlexItem--flexGrowZero"
|
||||
|
|
|
@ -78,7 +78,9 @@ Array [
|
|||
<span
|
||||
color="#cc3b54"
|
||||
data-euiicon-type="dot"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
className="euiFlexItem euiFlexItem--flexGrowZero"
|
||||
|
@ -99,7 +101,9 @@ Array [
|
|||
<span
|
||||
color="#9b3067"
|
||||
data-euiicon-type="dot"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
className="euiFlexItem euiFlexItem--flexGrowZero"
|
||||
|
@ -120,7 +124,9 @@ Array [
|
|||
<span
|
||||
color="#d41e93"
|
||||
data-euiicon-type="dot"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
className="euiFlexItem euiFlexItem--flexGrowZero"
|
||||
|
|
|
@ -152,7 +152,9 @@ exports[`Storyshots components/TextStylePicker default 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -244,7 +246,9 @@ exports[`Storyshots components/TextStylePicker default 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="editorBold"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButton__text euiScreenReaderOnly"
|
||||
>
|
||||
|
@ -274,7 +278,9 @@ exports[`Storyshots components/TextStylePicker default 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="editorItalic"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButton__text euiScreenReaderOnly"
|
||||
>
|
||||
|
@ -304,7 +310,9 @@ exports[`Storyshots components/TextStylePicker default 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="editorUnderline"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButton__text euiScreenReaderOnly"
|
||||
>
|
||||
|
@ -348,7 +356,9 @@ exports[`Storyshots components/TextStylePicker default 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="editorAlignLeft"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButton__text euiScreenReaderOnly"
|
||||
>
|
||||
|
@ -384,7 +394,9 @@ exports[`Storyshots components/TextStylePicker default 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="editorAlignCenter"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButton__text euiScreenReaderOnly"
|
||||
>
|
||||
|
@ -420,7 +432,9 @@ exports[`Storyshots components/TextStylePicker default 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="editorAlignRight"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButton__text euiScreenReaderOnly"
|
||||
>
|
||||
|
@ -598,7 +612,9 @@ exports[`Storyshots components/TextStylePicker interactive 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -690,7 +706,9 @@ exports[`Storyshots components/TextStylePicker interactive 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="editorBold"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButton__text euiScreenReaderOnly"
|
||||
>
|
||||
|
@ -720,7 +738,9 @@ exports[`Storyshots components/TextStylePicker interactive 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="editorItalic"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButton__text euiScreenReaderOnly"
|
||||
>
|
||||
|
@ -750,7 +770,9 @@ exports[`Storyshots components/TextStylePicker interactive 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="editorUnderline"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButton__text euiScreenReaderOnly"
|
||||
>
|
||||
|
@ -794,7 +816,9 @@ exports[`Storyshots components/TextStylePicker interactive 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="editorAlignLeft"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButton__text euiScreenReaderOnly"
|
||||
>
|
||||
|
@ -830,7 +854,9 @@ exports[`Storyshots components/TextStylePicker interactive 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="editorAlignCenter"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButton__text euiScreenReaderOnly"
|
||||
>
|
||||
|
@ -866,7 +892,9 @@ exports[`Storyshots components/TextStylePicker interactive 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="editorAlignRight"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButton__text euiScreenReaderOnly"
|
||||
>
|
||||
|
|
|
@ -20,7 +20,9 @@ Array [
|
|||
"verticalAlign": "top",
|
||||
}
|
||||
}
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
<span>
|
||||
<span
|
||||
|
@ -81,7 +83,9 @@ Array [
|
|||
color="inherit"
|
||||
data-euiicon-type="trash"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButton__text"
|
||||
>
|
||||
|
|
|
@ -20,7 +20,9 @@ Array [
|
|||
"verticalAlign": "top",
|
||||
}
|
||||
}
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
<span>
|
||||
<span
|
||||
|
@ -47,7 +49,9 @@ Array [
|
|||
color="inherit"
|
||||
data-euiicon-type="alert"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiCallOutHeader__title"
|
||||
>
|
||||
|
@ -255,7 +259,9 @@ Array [
|
|||
color="inherit"
|
||||
data-euiicon-type="save"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButton__text"
|
||||
>
|
||||
|
@ -310,7 +316,9 @@ Array [
|
|||
"verticalAlign": "top",
|
||||
}
|
||||
}
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
<span>
|
||||
<span
|
||||
|
@ -337,7 +345,9 @@ Array [
|
|||
color="inherit"
|
||||
data-euiicon-type="alert"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiCallOutHeader__title"
|
||||
>
|
||||
|
@ -486,7 +496,9 @@ Array [
|
|||
color="inherit"
|
||||
data-euiicon-type="save"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButton__text"
|
||||
>
|
||||
|
@ -541,7 +553,9 @@ Array [
|
|||
"verticalAlign": "top",
|
||||
}
|
||||
}
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
<span>
|
||||
<span
|
||||
|
@ -568,7 +582,9 @@ Array [
|
|||
color="inherit"
|
||||
data-euiicon-type="alert"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiCallOutHeader__title"
|
||||
>
|
||||
|
@ -717,7 +733,9 @@ Array [
|
|||
color="inherit"
|
||||
data-euiicon-type="save"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButton__text"
|
||||
>
|
||||
|
@ -772,7 +790,9 @@ Array [
|
|||
"verticalAlign": "top",
|
||||
}
|
||||
}
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
<span>
|
||||
<span
|
||||
|
@ -923,7 +943,9 @@ Array [
|
|||
color="inherit"
|
||||
data-euiicon-type="save"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButton__text"
|
||||
>
|
||||
|
|
|
@ -28,7 +28,9 @@ exports[`Storyshots components/Variables/VarConfig default 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowRight"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<button
|
||||
aria-controls="accordion-variables"
|
||||
|
@ -77,7 +79,9 @@ exports[`Storyshots components/Variables/VarConfig default 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="plusInCircle"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
@ -33,7 +33,9 @@ exports[`Storyshots components/WorkpadFilters/FiltersGroupComponent default 1`]
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowRight"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<button
|
||||
aria-controls="canvas-filter-group-0"
|
||||
|
@ -95,7 +97,9 @@ exports[`Storyshots components/WorkpadFilters/FiltersGroupComponent empty group
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowRight"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<button
|
||||
aria-controls="canvas-filter-group-0"
|
||||
|
|
|
@ -72,7 +72,9 @@ exports[`Storyshots components/WorkpadFilters/WorkpadFiltersComponent Empty filt
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -157,7 +159,9 @@ exports[`Storyshots components/WorkpadFilters/WorkpadFiltersComponent Filters gr
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -194,7 +198,9 @@ exports[`Storyshots components/WorkpadFilters/WorkpadFiltersComponent Filters gr
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowRight"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<button
|
||||
aria-controls="canvas-filter-group-0"
|
||||
|
@ -297,7 +303,9 @@ exports[`Storyshots components/WorkpadFilters/WorkpadFiltersComponent Filters gr
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -334,7 +342,9 @@ exports[`Storyshots components/WorkpadFilters/WorkpadFiltersComponent Filters gr
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowRight"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<button
|
||||
aria-controls="canvas-filter-group-0"
|
||||
|
@ -437,7 +447,9 @@ exports[`Storyshots components/WorkpadFilters/WorkpadFiltersComponent Filters gr
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -474,7 +486,9 @@ exports[`Storyshots components/WorkpadFilters/WorkpadFiltersComponent Filters gr
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowRight"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<button
|
||||
aria-controls="canvas-filter-group-0"
|
||||
|
@ -577,7 +591,9 @@ exports[`Storyshots components/WorkpadFilters/WorkpadFiltersComponent default 1`
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -614,7 +630,9 @@ exports[`Storyshots components/WorkpadFilters/WorkpadFiltersComponent default 1`
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowRight"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<button
|
||||
aria-controls="canvas-filter-group-0"
|
||||
|
@ -669,7 +687,9 @@ exports[`Storyshots components/WorkpadFilters/WorkpadFiltersComponent default 1`
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowRight"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
<button
|
||||
aria-controls="canvas-filter-group-1"
|
||||
|
|
|
@ -28,7 +28,9 @@ exports[`Storyshots components/WorkpadHeader/EditorMenu dark mode 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButton__text"
|
||||
>
|
||||
|
@ -68,7 +70,9 @@ exports[`Storyshots components/WorkpadHeader/EditorMenu default 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButton__text"
|
||||
>
|
||||
|
|
|
@ -28,7 +28,9 @@ exports[`Storyshots components/WorkpadHeader/ElementMenu default 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="plusInCircle"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiButton__text"
|
||||
>
|
||||
|
|
|
@ -145,7 +145,9 @@ exports[`Storyshots arguments/ContainerStyle extended 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -211,7 +213,9 @@ exports[`Storyshots arguments/ContainerStyle extended 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -559,7 +563,9 @@ exports[`Storyshots arguments/ContainerStyle/components appearance form 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -625,7 +631,9 @@ exports[`Storyshots arguments/ContainerStyle/components appearance form 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -983,7 +991,9 @@ exports[`Storyshots arguments/ContainerStyle/components extended template 1`] =
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1049,7 +1059,9 @@ exports[`Storyshots arguments/ContainerStyle/components extended template 1`] =
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -71,7 +71,9 @@ exports[`Storyshots arguments/SeriesStyle extended 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -165,7 +167,9 @@ exports[`Storyshots arguments/SeriesStyle extended 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -251,7 +255,9 @@ exports[`Storyshots arguments/SeriesStyle extended 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -337,7 +343,9 @@ exports[`Storyshots arguments/SeriesStyle extended 1`] = `
|
|||
className="euiFormControlLayoutCustomIcon__icon"
|
||||
data-euiicon-type="arrowDown"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -216,13 +216,14 @@ exports[`Storyshots arguments/SeriesStyle/components simple: no series 1`] = `
|
|||
onMouseOver={[Function]}
|
||||
>
|
||||
<span
|
||||
aria-label="Info"
|
||||
color="warning"
|
||||
data-euiicon-type="alert"
|
||||
onBlur={[Function]}
|
||||
onFocus={[Function]}
|
||||
tabIndex={0}
|
||||
/>
|
||||
>
|
||||
Info
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1327,7 +1327,9 @@ exports[`Storyshots shareables/Canvas component 1`] = `
|
|||
<span
|
||||
data-euiicon-type="logoElastic"
|
||||
size="l"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
|
@ -1387,7 +1389,9 @@ exports[`Storyshots shareables/Canvas component 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowLeft"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
<div
|
||||
|
@ -1438,7 +1442,9 @@ exports[`Storyshots shareables/Canvas component 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowRight"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1467,7 +1473,9 @@ exports[`Storyshots shareables/Canvas component 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="gear"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -2809,7 +2817,9 @@ exports[`Storyshots shareables/Canvas contextual: austin 1`] = `
|
|||
<span
|
||||
data-euiicon-type="logoElastic"
|
||||
size="l"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
|
@ -2869,7 +2879,9 @@ exports[`Storyshots shareables/Canvas contextual: austin 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowLeft"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
<div
|
||||
|
@ -2920,7 +2932,9 @@ exports[`Storyshots shareables/Canvas contextual: austin 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowRight"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -2949,7 +2963,9 @@ exports[`Storyshots shareables/Canvas contextual: austin 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="gear"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -3107,7 +3123,9 @@ exports[`Storyshots shareables/Canvas contextual: hello 1`] = `
|
|||
<span
|
||||
data-euiicon-type="logoElastic"
|
||||
size="l"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
|
@ -3167,7 +3185,9 @@ exports[`Storyshots shareables/Canvas contextual: hello 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowLeft"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
<div
|
||||
|
@ -3218,7 +3238,9 @@ exports[`Storyshots shareables/Canvas contextual: hello 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowRight"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -3247,7 +3269,9 @@ exports[`Storyshots shareables/Canvas contextual: hello 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="gear"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1280,7 +1280,9 @@ exports[`Storyshots shareables/Footer contextual: austin 1`] = `
|
|||
<span
|
||||
data-euiicon-type="logoElastic"
|
||||
size="l"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
|
@ -1340,7 +1342,9 @@ exports[`Storyshots shareables/Footer contextual: austin 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowLeft"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
<div
|
||||
|
@ -1391,7 +1395,9 @@ exports[`Storyshots shareables/Footer contextual: austin 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowRight"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1420,7 +1426,9 @@ exports[`Storyshots shareables/Footer contextual: austin 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="gear"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1532,7 +1540,9 @@ exports[`Storyshots shareables/Footer contextual: hello 1`] = `
|
|||
<span
|
||||
data-euiicon-type="logoElastic"
|
||||
size="l"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
|
@ -1592,7 +1602,9 @@ exports[`Storyshots shareables/Footer contextual: hello 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowLeft"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
<div
|
||||
|
@ -1643,7 +1655,9 @@ exports[`Storyshots shareables/Footer contextual: hello 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowRight"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1672,7 +1686,9 @@ exports[`Storyshots shareables/Footer contextual: hello 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="gear"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -34,7 +34,9 @@ exports[`Storyshots shareables/Footer/PageControls component 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowLeft"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
<div
|
||||
|
@ -85,7 +87,9 @@ exports[`Storyshots shareables/Footer/PageControls component 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowRight"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -131,7 +135,9 @@ exports[`Storyshots shareables/Footer/PageControls contextual: austin 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowLeft"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
<div
|
||||
|
@ -182,7 +188,9 @@ exports[`Storyshots shareables/Footer/PageControls contextual: austin 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowRight"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -228,7 +236,9 @@ exports[`Storyshots shareables/Footer/PageControls contextual: hello 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowLeft"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
<div
|
||||
|
@ -279,7 +289,9 @@ exports[`Storyshots shareables/Footer/PageControls contextual: hello 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="arrowRight"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -34,7 +34,9 @@ exports[`Storyshots shareables/Footer/Title component 1`] = `
|
|||
<span
|
||||
data-euiicon-type="logoElastic"
|
||||
size="l"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
|
@ -99,7 +101,9 @@ exports[`Storyshots shareables/Footer/Title contextual: austin 1`] = `
|
|||
<span
|
||||
data-euiicon-type="logoElastic"
|
||||
size="l"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
|
@ -164,7 +168,9 @@ exports[`Storyshots shareables/Footer/Title contextual: hello 1`] = `
|
|||
<span
|
||||
data-euiicon-type="logoElastic"
|
||||
size="l"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
|
|
|
@ -48,12 +48,16 @@ exports[`Storyshots shareables/Footer/Settings/AutoplaySettings component: off,
|
|||
className="euiSwitch__icon"
|
||||
data-euiicon-type="cross"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiSwitch__icon euiSwitch__icon--checked"
|
||||
data-euiicon-type="check"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</button>
|
||||
|
@ -212,12 +216,16 @@ exports[`Storyshots shareables/Footer/Settings/AutoplaySettings component: on, 5
|
|||
className="euiSwitch__icon"
|
||||
data-euiicon-type="cross"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiSwitch__icon euiSwitch__icon--checked"
|
||||
data-euiicon-type="check"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</button>
|
||||
|
@ -376,12 +384,16 @@ exports[`Storyshots shareables/Footer/Settings/AutoplaySettings contextual 1`] =
|
|||
className="euiSwitch__icon"
|
||||
data-euiicon-type="cross"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiSwitch__icon euiSwitch__icon--checked"
|
||||
data-euiicon-type="check"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</button>
|
||||
|
|
|
@ -39,7 +39,9 @@ exports[`Storyshots shareables/Footer/Settings component 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="gear"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -87,7 +89,9 @@ exports[`Storyshots shareables/Footer/Settings contextual 1`] = `
|
|||
color="inherit"
|
||||
data-euiicon-type="gear"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -59,12 +59,16 @@ exports[`Storyshots shareables/Footer/Settings/ToolbarSettings component: off 1`
|
|||
className="euiSwitch__icon"
|
||||
data-euiicon-type="cross"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiSwitch__icon euiSwitch__icon--checked"
|
||||
data-euiicon-type="check"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</button>
|
||||
|
@ -147,12 +151,16 @@ exports[`Storyshots shareables/Footer/Settings/ToolbarSettings component: on 1`]
|
|||
className="euiSwitch__icon"
|
||||
data-euiicon-type="cross"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiSwitch__icon euiSwitch__icon--checked"
|
||||
data-euiicon-type="check"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</button>
|
||||
|
@ -235,12 +243,16 @@ exports[`Storyshots shareables/Footer/Settings/ToolbarSettings contextual 1`] =
|
|||
className="euiSwitch__icon"
|
||||
data-euiicon-type="cross"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
<span
|
||||
className="euiSwitch__icon euiSwitch__icon--checked"
|
||||
data-euiicon-type="check"
|
||||
size="m"
|
||||
/>
|
||||
>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</button>
|
||||
|
|
|
@ -264,7 +264,7 @@ describe('ConnectorsDropdown', () => {
|
|||
wrapper: ({ children }) => <TestProviders>{children}</TestProviders>,
|
||||
});
|
||||
|
||||
const tooltips = screen.getAllByLabelText(
|
||||
const tooltips = screen.getAllByText(
|
||||
'This connector is deprecated. Update it, or create a new one.'
|
||||
);
|
||||
expect(tooltips[0]).toBeInTheDocument();
|
||||
|
|
|
@ -25,7 +25,7 @@ describe('Markdown', () => {
|
|||
test('it renders the expected link text', () => {
|
||||
const result = appMockRender.render(<MarkdownRenderer>{markdownWithLink}</MarkdownRenderer>);
|
||||
|
||||
expect(removeExternalLinkText(result.getByTestId('markdown-link').textContent)).toEqual(
|
||||
expect(removeExternalLinkText(result.getByTestId('markdown-link').textContent)).toContain(
|
||||
'External Site'
|
||||
);
|
||||
});
|
||||
|
|
|
@ -138,7 +138,7 @@ describe('Background Search Session Management Table', () => {
|
|||
expect(table.find('tbody td').map((node) => node.text())).toMatchInlineSnapshot(`
|
||||
Array [
|
||||
"App",
|
||||
"Namevery background search ",
|
||||
"Namevery background search Info",
|
||||
"# Searches0",
|
||||
"StatusExpired",
|
||||
"Created2 Dec, 2020, 00:19:32",
|
||||
|
|
|
@ -65,7 +65,6 @@ export const IndexSetupDatasetFilter: React.FC<{
|
|||
isSelected={isVisible}
|
||||
onClick={show}
|
||||
iconType="arrowDown"
|
||||
size="s"
|
||||
>
|
||||
<FormattedMessage
|
||||
id="xpack.infra.analysisSetup.indexDatasetFilterIncludeAllButtonLabel"
|
||||
|
|
|
@ -296,9 +296,8 @@ describe('Test pipeline', () => {
|
|||
|
||||
// Dropdown should be visible and processor status should equal "success"
|
||||
expect(exists('documentsDropdown')).toBe(true);
|
||||
const initialProcessorStatusLabel = find('processors>0.processorStatusIcon').props()[
|
||||
'aria-label'
|
||||
];
|
||||
const initialProcessorStatusLabel = find('processors>0.processorStatusIcon').props()
|
||||
.children;
|
||||
expect(initialProcessorStatusLabel).toEqual('Success');
|
||||
|
||||
// Open flyout and click clear all button
|
||||
|
@ -320,9 +319,8 @@ describe('Test pipeline', () => {
|
|||
// Verify documents and processors were reset
|
||||
expect(exists('documentsDropdown')).toBe(false);
|
||||
expect(exists('addDocumentsButton')).toBe(true);
|
||||
const resetProcessorStatusIconLabel = find('processors>0.processorStatusIcon').props()[
|
||||
'aria-label'
|
||||
];
|
||||
const resetProcessorStatusIconLabel = find('processors>0.processorStatusIcon').props()
|
||||
.children;
|
||||
expect(resetProcessorStatusIconLabel).toEqual('Not run');
|
||||
});
|
||||
});
|
||||
|
@ -332,7 +330,7 @@ describe('Test pipeline', () => {
|
|||
it('should show "inactive" processor status by default', async () => {
|
||||
const { find } = testBed;
|
||||
|
||||
const statusIconLabel = find('processors>0.processorStatusIcon').props()['aria-label'];
|
||||
const statusIconLabel = find('processors>0.processorStatusIcon').props().children;
|
||||
|
||||
expect(statusIconLabel).toEqual('Not run');
|
||||
});
|
||||
|
@ -352,7 +350,7 @@ describe('Test pipeline', () => {
|
|||
actions.closeTestPipelineFlyout();
|
||||
|
||||
// Verify status
|
||||
const statusIconLabel = find('processors>0.processorStatusIcon').props()['aria-label'];
|
||||
const statusIconLabel = find('processors>0.processorStatusIcon').props().children;
|
||||
expect(statusIconLabel).toEqual('Success');
|
||||
});
|
||||
|
||||
|
|
|
@ -617,7 +617,9 @@ describe('DatatableComponent', () => {
|
|||
wrapper.setProps({ data: newData });
|
||||
wrapper.update();
|
||||
|
||||
expect(wrapper.find('[data-test-subj="dataGridHeader"]').children().first().text()).toEqual(
|
||||
// Using .toContain over .toEqual because this element includes text from <EuiScreenReaderOnly>
|
||||
// which can't be seen, but shows in the text content
|
||||
expect(wrapper.find('[data-test-subj="dataGridHeader"]').children().first().text()).toContain(
|
||||
'new a'
|
||||
);
|
||||
});
|
||||
|
|
|
@ -120,7 +120,10 @@ describe('IndexPattern Field Item', () => {
|
|||
|
||||
it('should display displayName of a field', () => {
|
||||
const wrapper = mountWithIntl(<InnerFieldItem {...defaultProps} />);
|
||||
expect(wrapper.find('[data-test-subj="lnsFieldListPanelField"]').first().text()).toEqual(
|
||||
|
||||
// Using .toContain over .toEqual because this element includes text from <EuiScreenReaderOnly>
|
||||
// which can't be seen, but shows in the text content
|
||||
expect(wrapper.find('[data-test-subj="lnsFieldListPanelField"]').first().text()).toContain(
|
||||
'bytesLabel'
|
||||
);
|
||||
});
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`RequestTrialExtension component should display when enterprise license is not active and trial has been used 1`] = `"<div class=\\"euiFlexItem\\"><div class=\\"euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--hasBorder euiCard euiCard--centerAligned\\"><div class=\\"euiCard__content\\"><span class=\\"euiTitle euiTitle--small euiCard__title\\" id=\\"generated-idTitle\\">Extend your trial</span><div class=\\"euiText euiText--small euiCard__description\\" id=\\"generated-idDescription\\"><p><span>If you’d like to continue using machine learning, advanced security, and our other awesome <a class=\\"euiLink euiLink--primary\\" href=\\"https://www.elastic.co/subscriptions\\" target=\\"_blank\\" rel=\\"noopener\\">subscription features<span data-euiicon-type=\\"popout\\" aria-label=\\"External link\\" class=\\"euiLink__externalIcon\\"></span><span class=\\"euiScreenReaderOnly\\">(opens in a new tab or window)</span></a>, request an extension now.</span></p></div></div><div class=\\"euiCard__footer\\"><a class=\\"euiButton euiButton--primary\\" href=\\"https://www.elastic.co/trialextension\\" rel=\\"noopener\\" target=\\"_blank\\" data-test-subj=\\"extendTrialButton\\"><span class=\\"euiButtonContent euiButton__content\\"><span class=\\"euiButton__text\\">Extend trial</span></span></a></div></div></div>"`;
|
||||
exports[`RequestTrialExtension component should display when enterprise license is not active and trial has been used 1`] = `"<div class=\\"euiFlexItem\\"><div class=\\"euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--hasBorder euiCard euiCard--centerAligned\\"><div class=\\"euiCard__content\\"><span class=\\"euiTitle euiTitle--small euiCard__title\\" id=\\"generated-idTitle\\">Extend your trial</span><div class=\\"euiText euiText--small euiCard__description\\" id=\\"generated-idDescription\\"><p><span>If you’d like to continue using machine learning, advanced security, and our other awesome <a class=\\"euiLink euiLink--primary\\" href=\\"https://www.elastic.co/subscriptions\\" target=\\"_blank\\" rel=\\"noopener\\">subscription features<span data-euiicon-type=\\"popout\\" class=\\"euiLink__externalIcon\\">External link</span><span class=\\"euiScreenReaderOnly\\">(opens in a new tab or window)</span></a>, request an extension now.</span></p></div></div><div class=\\"euiCard__footer\\"><a class=\\"euiButton euiButton--primary\\" href=\\"https://www.elastic.co/trialextension\\" rel=\\"noopener\\" target=\\"_blank\\" data-test-subj=\\"extendTrialButton\\"><span class=\\"euiButtonContent euiButton__content\\"><span class=\\"euiButton__text\\">Extend trial</span></span></a></div></div></div>"`;
|
||||
|
||||
exports[`RequestTrialExtension component should display when license is active and trial has been used 1`] = `"<div class=\\"euiFlexItem\\"><div class=\\"euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--hasBorder euiCard euiCard--centerAligned\\"><div class=\\"euiCard__content\\"><span class=\\"euiTitle euiTitle--small euiCard__title\\" id=\\"generated-idTitle\\">Extend your trial</span><div class=\\"euiText euiText--small euiCard__description\\" id=\\"generated-idDescription\\"><p><span>If you’d like to continue using machine learning, advanced security, and our other awesome <a class=\\"euiLink euiLink--primary\\" href=\\"https://www.elastic.co/subscriptions\\" target=\\"_blank\\" rel=\\"noopener\\">subscription features<span data-euiicon-type=\\"popout\\" aria-label=\\"External link\\" class=\\"euiLink__externalIcon\\"></span><span class=\\"euiScreenReaderOnly\\">(opens in a new tab or window)</span></a>, request an extension now.</span></p></div></div><div class=\\"euiCard__footer\\"><a class=\\"euiButton euiButton--primary\\" href=\\"https://www.elastic.co/trialextension\\" rel=\\"noopener\\" target=\\"_blank\\" data-test-subj=\\"extendTrialButton\\"><span class=\\"euiButtonContent euiButton__content\\"><span class=\\"euiButton__text\\">Extend trial</span></span></a></div></div></div>"`;
|
||||
exports[`RequestTrialExtension component should display when license is active and trial has been used 1`] = `"<div class=\\"euiFlexItem\\"><div class=\\"euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--hasBorder euiCard euiCard--centerAligned\\"><div class=\\"euiCard__content\\"><span class=\\"euiTitle euiTitle--small euiCard__title\\" id=\\"generated-idTitle\\">Extend your trial</span><div class=\\"euiText euiText--small euiCard__description\\" id=\\"generated-idDescription\\"><p><span>If you’d like to continue using machine learning, advanced security, and our other awesome <a class=\\"euiLink euiLink--primary\\" href=\\"https://www.elastic.co/subscriptions\\" target=\\"_blank\\" rel=\\"noopener\\">subscription features<span data-euiicon-type=\\"popout\\" class=\\"euiLink__externalIcon\\">External link</span><span class=\\"euiScreenReaderOnly\\">(opens in a new tab or window)</span></a>, request an extension now.</span></p></div></div><div class=\\"euiCard__footer\\"><a class=\\"euiButton euiButton--primary\\" href=\\"https://www.elastic.co/trialextension\\" rel=\\"noopener\\" target=\\"_blank\\" data-test-subj=\\"extendTrialButton\\"><span class=\\"euiButtonContent euiButton__content\\"><span class=\\"euiButton__text\\">Extend trial</span></span></a></div></div></div>"`;
|
||||
|
||||
exports[`RequestTrialExtension component should display when license is not active and trial has been used 1`] = `"<div class=\\"euiFlexItem\\"><div class=\\"euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--hasBorder euiCard euiCard--centerAligned\\"><div class=\\"euiCard__content\\"><span class=\\"euiTitle euiTitle--small euiCard__title\\" id=\\"generated-idTitle\\">Extend your trial</span><div class=\\"euiText euiText--small euiCard__description\\" id=\\"generated-idDescription\\"><p><span>If you’d like to continue using machine learning, advanced security, and our other awesome <a class=\\"euiLink euiLink--primary\\" href=\\"https://www.elastic.co/subscriptions\\" target=\\"_blank\\" rel=\\"noopener\\">subscription features<span data-euiicon-type=\\"popout\\" aria-label=\\"External link\\" class=\\"euiLink__externalIcon\\"></span><span class=\\"euiScreenReaderOnly\\">(opens in a new tab or window)</span></a>, request an extension now.</span></p></div></div><div class=\\"euiCard__footer\\"><a class=\\"euiButton euiButton--primary\\" href=\\"https://www.elastic.co/trialextension\\" rel=\\"noopener\\" target=\\"_blank\\" data-test-subj=\\"extendTrialButton\\"><span class=\\"euiButtonContent euiButton__content\\"><span class=\\"euiButton__text\\">Extend trial</span></span></a></div></div></div>"`;
|
||||
exports[`RequestTrialExtension component should display when license is not active and trial has been used 1`] = `"<div class=\\"euiFlexItem\\"><div class=\\"euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--hasBorder euiCard euiCard--centerAligned\\"><div class=\\"euiCard__content\\"><span class=\\"euiTitle euiTitle--small euiCard__title\\" id=\\"generated-idTitle\\">Extend your trial</span><div class=\\"euiText euiText--small euiCard__description\\" id=\\"generated-idDescription\\"><p><span>If you’d like to continue using machine learning, advanced security, and our other awesome <a class=\\"euiLink euiLink--primary\\" href=\\"https://www.elastic.co/subscriptions\\" target=\\"_blank\\" rel=\\"noopener\\">subscription features<span data-euiicon-type=\\"popout\\" class=\\"euiLink__externalIcon\\">External link</span><span class=\\"euiScreenReaderOnly\\">(opens in a new tab or window)</span></a>, request an extension now.</span></p></div></div><div class=\\"euiCard__footer\\"><a class=\\"euiButton euiButton--primary\\" href=\\"https://www.elastic.co/trialextension\\" rel=\\"noopener\\" target=\\"_blank\\" data-test-subj=\\"extendTrialButton\\"><span class=\\"euiButtonContent euiButton__content\\"><span class=\\"euiButton__text\\">Extend trial</span></span></a></div></div></div>"`;
|
||||
|
||||
exports[`RequestTrialExtension component should display when platinum license is not active and trial has been used 1`] = `"<div class=\\"euiFlexItem\\"><div class=\\"euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--hasBorder euiCard euiCard--centerAligned\\"><div class=\\"euiCard__content\\"><span class=\\"euiTitle euiTitle--small euiCard__title\\" id=\\"generated-idTitle\\">Extend your trial</span><div class=\\"euiText euiText--small euiCard__description\\" id=\\"generated-idDescription\\"><p><span>If you’d like to continue using machine learning, advanced security, and our other awesome <a class=\\"euiLink euiLink--primary\\" href=\\"https://www.elastic.co/subscriptions\\" target=\\"_blank\\" rel=\\"noopener\\">subscription features<span data-euiicon-type=\\"popout\\" aria-label=\\"External link\\" class=\\"euiLink__externalIcon\\"></span><span class=\\"euiScreenReaderOnly\\">(opens in a new tab or window)</span></a>, request an extension now.</span></p></div></div><div class=\\"euiCard__footer\\"><a class=\\"euiButton euiButton--primary\\" href=\\"https://www.elastic.co/trialextension\\" rel=\\"noopener\\" target=\\"_blank\\" data-test-subj=\\"extendTrialButton\\"><span class=\\"euiButtonContent euiButton__content\\"><span class=\\"euiButton__text\\">Extend trial</span></span></a></div></div></div>"`;
|
||||
exports[`RequestTrialExtension component should display when platinum license is not active and trial has been used 1`] = `"<div class=\\"euiFlexItem\\"><div class=\\"euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--hasBorder euiCard euiCard--centerAligned\\"><div class=\\"euiCard__content\\"><span class=\\"euiTitle euiTitle--small euiCard__title\\" id=\\"generated-idTitle\\">Extend your trial</span><div class=\\"euiText euiText--small euiCard__description\\" id=\\"generated-idDescription\\"><p><span>If you’d like to continue using machine learning, advanced security, and our other awesome <a class=\\"euiLink euiLink--primary\\" href=\\"https://www.elastic.co/subscriptions\\" target=\\"_blank\\" rel=\\"noopener\\">subscription features<span data-euiicon-type=\\"popout\\" class=\\"euiLink__externalIcon\\">External link</span><span class=\\"euiScreenReaderOnly\\">(opens in a new tab or window)</span></a>, request an extension now.</span></p></div></div><div class=\\"euiCard__footer\\"><a class=\\"euiButton euiButton--primary\\" href=\\"https://www.elastic.co/trialextension\\" rel=\\"noopener\\" target=\\"_blank\\" data-test-subj=\\"extendTrialButton\\"><span class=\\"euiButtonContent euiButton__content\\"><span class=\\"euiButton__text\\">Extend trial</span></span></a></div></div></div>"`;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`RevertToBasic component should display when license is about to expire 1`] = `"<div class=\\"euiFlexItem\\"><div class=\\"euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--hasBorder euiCard euiCard--centerAligned\\"><div class=\\"euiCard__content\\"><span class=\\"euiTitle euiTitle--small euiCard__title\\" id=\\"generated-idTitle\\">Revert to Basic license</span><div class=\\"euiText euiText--small euiCard__description\\" id=\\"generated-idDescription\\"><p><span>You’ll revert to our free features and lose access to machine learning, advanced security, and other <a class=\\"euiLink euiLink--primary\\" href=\\"https://www.elastic.co/subscriptions\\" target=\\"_blank\\" rel=\\"noopener\\">subscription features<span data-euiicon-type=\\"popout\\" aria-label=\\"External link\\" class=\\"euiLink__externalIcon\\"></span><span class=\\"euiScreenReaderOnly\\">(opens in a new tab or window)</span></a>.</span></p></div></div><div class=\\"euiCard__footer\\"><button class=\\"euiButton euiButton--primary\\" type=\\"button\\" data-test-subj=\\"revertToBasicButton\\"><span class=\\"euiButtonContent euiButton__content\\"><span class=\\"euiButton__text\\">Revert to Basic</span></span></button></div></div></div>"`;
|
||||
exports[`RevertToBasic component should display when license is about to expire 1`] = `"<div class=\\"euiFlexItem\\"><div class=\\"euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--hasBorder euiCard euiCard--centerAligned\\"><div class=\\"euiCard__content\\"><span class=\\"euiTitle euiTitle--small euiCard__title\\" id=\\"generated-idTitle\\">Revert to Basic license</span><div class=\\"euiText euiText--small euiCard__description\\" id=\\"generated-idDescription\\"><p><span>You’ll revert to our free features and lose access to machine learning, advanced security, and other <a class=\\"euiLink euiLink--primary\\" href=\\"https://www.elastic.co/subscriptions\\" target=\\"_blank\\" rel=\\"noopener\\">subscription features<span data-euiicon-type=\\"popout\\" class=\\"euiLink__externalIcon\\">External link</span><span class=\\"euiScreenReaderOnly\\">(opens in a new tab or window)</span></a>.</span></p></div></div><div class=\\"euiCard__footer\\"><button class=\\"euiButton euiButton--primary\\" type=\\"button\\" data-test-subj=\\"revertToBasicButton\\"><span class=\\"euiButtonContent euiButton__content\\"><span class=\\"euiButton__text\\">Revert to Basic</span></span></button></div></div></div>"`;
|
||||
|
||||
exports[`RevertToBasic component should display when license is expired 1`] = `"<div class=\\"euiFlexItem\\"><div class=\\"euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--hasBorder euiCard euiCard--centerAligned\\"><div class=\\"euiCard__content\\"><span class=\\"euiTitle euiTitle--small euiCard__title\\" id=\\"generated-idTitle\\">Revert to Basic license</span><div class=\\"euiText euiText--small euiCard__description\\" id=\\"generated-idDescription\\"><p><span>You’ll revert to our free features and lose access to machine learning, advanced security, and other <a class=\\"euiLink euiLink--primary\\" href=\\"https://www.elastic.co/subscriptions\\" target=\\"_blank\\" rel=\\"noopener\\">subscription features<span data-euiicon-type=\\"popout\\" aria-label=\\"External link\\" class=\\"euiLink__externalIcon\\"></span><span class=\\"euiScreenReaderOnly\\">(opens in a new tab or window)</span></a>.</span></p></div></div><div class=\\"euiCard__footer\\"><button class=\\"euiButton euiButton--primary\\" type=\\"button\\" data-test-subj=\\"revertToBasicButton\\"><span class=\\"euiButtonContent euiButton__content\\"><span class=\\"euiButton__text\\">Revert to Basic</span></span></button></div></div></div>"`;
|
||||
exports[`RevertToBasic component should display when license is expired 1`] = `"<div class=\\"euiFlexItem\\"><div class=\\"euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--hasBorder euiCard euiCard--centerAligned\\"><div class=\\"euiCard__content\\"><span class=\\"euiTitle euiTitle--small euiCard__title\\" id=\\"generated-idTitle\\">Revert to Basic license</span><div class=\\"euiText euiText--small euiCard__description\\" id=\\"generated-idDescription\\"><p><span>You’ll revert to our free features and lose access to machine learning, advanced security, and other <a class=\\"euiLink euiLink--primary\\" href=\\"https://www.elastic.co/subscriptions\\" target=\\"_blank\\" rel=\\"noopener\\">subscription features<span data-euiicon-type=\\"popout\\" class=\\"euiLink__externalIcon\\">External link</span><span class=\\"euiScreenReaderOnly\\">(opens in a new tab or window)</span></a>.</span></p></div></div><div class=\\"euiCard__footer\\"><button class=\\"euiButton euiButton--primary\\" type=\\"button\\" data-test-subj=\\"revertToBasicButton\\"><span class=\\"euiButtonContent euiButton__content\\"><span class=\\"euiButton__text\\">Revert to Basic</span></span></button></div></div></div>"`;
|
||||
|
||||
exports[`RevertToBasic component should display when trial is active 1`] = `"<div class=\\"euiFlexItem\\"><div class=\\"euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--hasBorder euiCard euiCard--centerAligned\\"><div class=\\"euiCard__content\\"><span class=\\"euiTitle euiTitle--small euiCard__title\\" id=\\"generated-idTitle\\">Revert to Basic license</span><div class=\\"euiText euiText--small euiCard__description\\" id=\\"generated-idDescription\\"><p><span>You’ll revert to our free features and lose access to machine learning, advanced security, and other <a class=\\"euiLink euiLink--primary\\" href=\\"https://www.elastic.co/subscriptions\\" target=\\"_blank\\" rel=\\"noopener\\">subscription features<span data-euiicon-type=\\"popout\\" aria-label=\\"External link\\" class=\\"euiLink__externalIcon\\"></span><span class=\\"euiScreenReaderOnly\\">(opens in a new tab or window)</span></a>.</span></p></div></div><div class=\\"euiCard__footer\\"><button class=\\"euiButton euiButton--primary\\" type=\\"button\\" data-test-subj=\\"revertToBasicButton\\"><span class=\\"euiButtonContent euiButton__content\\"><span class=\\"euiButton__text\\">Revert to Basic</span></span></button></div></div></div>"`;
|
||||
exports[`RevertToBasic component should display when trial is active 1`] = `"<div class=\\"euiFlexItem\\"><div class=\\"euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--hasBorder euiCard euiCard--centerAligned\\"><div class=\\"euiCard__content\\"><span class=\\"euiTitle euiTitle--small euiCard__title\\" id=\\"generated-idTitle\\">Revert to Basic license</span><div class=\\"euiText euiText--small euiCard__description\\" id=\\"generated-idDescription\\"><p><span>You’ll revert to our free features and lose access to machine learning, advanced security, and other <a class=\\"euiLink euiLink--primary\\" href=\\"https://www.elastic.co/subscriptions\\" target=\\"_blank\\" rel=\\"noopener\\">subscription features<span data-euiicon-type=\\"popout\\" class=\\"euiLink__externalIcon\\">External link</span><span class=\\"euiScreenReaderOnly\\">(opens in a new tab or window)</span></a>.</span></p></div></div><div class=\\"euiCard__footer\\"><button class=\\"euiButton euiButton--primary\\" type=\\"button\\" data-test-subj=\\"revertToBasicButton\\"><span class=\\"euiButtonContent euiButton__content\\"><span class=\\"euiButton__text\\">Revert to Basic</span></span></button></div></div></div>"`;
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`StartTrial component when trial is allowed display for basic license 1`] = `"<div class=\\"euiFlexItem\\"><div class=\\"euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--hasBorder euiCard euiCard--centerAligned\\"><div class=\\"euiCard__content\\"><span class=\\"euiTitle euiTitle--small euiCard__title\\" id=\\"generated-idTitle\\">Start a 30-day trial</span><div class=\\"euiText euiText--small euiCard__description\\" id=\\"generated-idDescription\\"><p><span>Experience what machine learning, advanced security, and all our other <a class=\\"euiLink euiLink--primary\\" href=\\"https://www.elastic.co/subscriptions\\" target=\\"_blank\\" rel=\\"noopener\\">subscription features<span data-euiicon-type=\\"popout\\" aria-label=\\"External link\\" class=\\"euiLink__externalIcon\\"></span><span class=\\"euiScreenReaderOnly\\">(opens in a new tab or window)</span></a> have to offer.</span></p></div></div><div class=\\"euiCard__footer\\"><button class=\\"euiButton euiButton--primary\\" type=\\"button\\" data-test-subj=\\"startTrialButton\\"><span class=\\"euiButtonContent euiButton__content\\"><span class=\\"euiButton__text\\">Start trial</span></span></button></div></div></div>"`;
|
||||
exports[`StartTrial component when trial is allowed display for basic license 1`] = `"<div class=\\"euiFlexItem\\"><div class=\\"euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--hasBorder euiCard euiCard--centerAligned\\"><div class=\\"euiCard__content\\"><span class=\\"euiTitle euiTitle--small euiCard__title\\" id=\\"generated-idTitle\\">Start a 30-day trial</span><div class=\\"euiText euiText--small euiCard__description\\" id=\\"generated-idDescription\\"><p><span>Experience what machine learning, advanced security, and all our other <a class=\\"euiLink euiLink--primary\\" href=\\"https://www.elastic.co/subscriptions\\" target=\\"_blank\\" rel=\\"noopener\\">subscription features<span data-euiicon-type=\\"popout\\" class=\\"euiLink__externalIcon\\">External link</span><span class=\\"euiScreenReaderOnly\\">(opens in a new tab or window)</span></a> have to offer.</span></p></div></div><div class=\\"euiCard__footer\\"><button class=\\"euiButton euiButton--primary\\" type=\\"button\\" data-test-subj=\\"startTrialButton\\"><span class=\\"euiButtonContent euiButton__content\\"><span class=\\"euiButton__text\\">Start trial</span></span></button></div></div></div>"`;
|
||||
|
||||
exports[`StartTrial component when trial is allowed should display for expired enterprise license 1`] = `"<div class=\\"euiFlexItem\\"><div class=\\"euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--hasBorder euiCard euiCard--centerAligned\\"><div class=\\"euiCard__content\\"><span class=\\"euiTitle euiTitle--small euiCard__title\\" id=\\"generated-idTitle\\">Start a 30-day trial</span><div class=\\"euiText euiText--small euiCard__description\\" id=\\"generated-idDescription\\"><p><span>Experience what machine learning, advanced security, and all our other <a class=\\"euiLink euiLink--primary\\" href=\\"https://www.elastic.co/subscriptions\\" target=\\"_blank\\" rel=\\"noopener\\">subscription features<span data-euiicon-type=\\"popout\\" aria-label=\\"External link\\" class=\\"euiLink__externalIcon\\"></span><span class=\\"euiScreenReaderOnly\\">(opens in a new tab or window)</span></a> have to offer.</span></p></div></div><div class=\\"euiCard__footer\\"><button class=\\"euiButton euiButton--primary\\" type=\\"button\\" data-test-subj=\\"startTrialButton\\"><span class=\\"euiButtonContent euiButton__content\\"><span class=\\"euiButton__text\\">Start trial</span></span></button></div></div></div>"`;
|
||||
exports[`StartTrial component when trial is allowed should display for expired enterprise license 1`] = `"<div class=\\"euiFlexItem\\"><div class=\\"euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--hasBorder euiCard euiCard--centerAligned\\"><div class=\\"euiCard__content\\"><span class=\\"euiTitle euiTitle--small euiCard__title\\" id=\\"generated-idTitle\\">Start a 30-day trial</span><div class=\\"euiText euiText--small euiCard__description\\" id=\\"generated-idDescription\\"><p><span>Experience what machine learning, advanced security, and all our other <a class=\\"euiLink euiLink--primary\\" href=\\"https://www.elastic.co/subscriptions\\" target=\\"_blank\\" rel=\\"noopener\\">subscription features<span data-euiicon-type=\\"popout\\" class=\\"euiLink__externalIcon\\">External link</span><span class=\\"euiScreenReaderOnly\\">(opens in a new tab or window)</span></a> have to offer.</span></p></div></div><div class=\\"euiCard__footer\\"><button class=\\"euiButton euiButton--primary\\" type=\\"button\\" data-test-subj=\\"startTrialButton\\"><span class=\\"euiButtonContent euiButton__content\\"><span class=\\"euiButton__text\\">Start trial</span></span></button></div></div></div>"`;
|
||||
|
||||
exports[`StartTrial component when trial is allowed should display for expired platinum license 1`] = `"<div class=\\"euiFlexItem\\"><div class=\\"euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--hasBorder euiCard euiCard--centerAligned\\"><div class=\\"euiCard__content\\"><span class=\\"euiTitle euiTitle--small euiCard__title\\" id=\\"generated-idTitle\\">Start a 30-day trial</span><div class=\\"euiText euiText--small euiCard__description\\" id=\\"generated-idDescription\\"><p><span>Experience what machine learning, advanced security, and all our other <a class=\\"euiLink euiLink--primary\\" href=\\"https://www.elastic.co/subscriptions\\" target=\\"_blank\\" rel=\\"noopener\\">subscription features<span data-euiicon-type=\\"popout\\" aria-label=\\"External link\\" class=\\"euiLink__externalIcon\\"></span><span class=\\"euiScreenReaderOnly\\">(opens in a new tab or window)</span></a> have to offer.</span></p></div></div><div class=\\"euiCard__footer\\"><button class=\\"euiButton euiButton--primary\\" type=\\"button\\" data-test-subj=\\"startTrialButton\\"><span class=\\"euiButtonContent euiButton__content\\"><span class=\\"euiButton__text\\">Start trial</span></span></button></div></div></div>"`;
|
||||
exports[`StartTrial component when trial is allowed should display for expired platinum license 1`] = `"<div class=\\"euiFlexItem\\"><div class=\\"euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--hasBorder euiCard euiCard--centerAligned\\"><div class=\\"euiCard__content\\"><span class=\\"euiTitle euiTitle--small euiCard__title\\" id=\\"generated-idTitle\\">Start a 30-day trial</span><div class=\\"euiText euiText--small euiCard__description\\" id=\\"generated-idDescription\\"><p><span>Experience what machine learning, advanced security, and all our other <a class=\\"euiLink euiLink--primary\\" href=\\"https://www.elastic.co/subscriptions\\" target=\\"_blank\\" rel=\\"noopener\\">subscription features<span data-euiicon-type=\\"popout\\" class=\\"euiLink__externalIcon\\">External link</span><span class=\\"euiScreenReaderOnly\\">(opens in a new tab or window)</span></a> have to offer.</span></p></div></div><div class=\\"euiCard__footer\\"><button class=\\"euiButton euiButton--primary\\" type=\\"button\\" data-test-subj=\\"startTrialButton\\"><span class=\\"euiButtonContent euiButton__content\\"><span class=\\"euiButton__text\\">Start trial</span></span></button></div></div></div>"`;
|
||||
|
||||
exports[`StartTrial component when trial is allowed should display for gold license 1`] = `"<div class=\\"euiFlexItem\\"><div class=\\"euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--hasBorder euiCard euiCard--centerAligned\\"><div class=\\"euiCard__content\\"><span class=\\"euiTitle euiTitle--small euiCard__title\\" id=\\"generated-idTitle\\">Start a 30-day trial</span><div class=\\"euiText euiText--small euiCard__description\\" id=\\"generated-idDescription\\"><p><span>Experience what machine learning, advanced security, and all our other <a class=\\"euiLink euiLink--primary\\" href=\\"https://www.elastic.co/subscriptions\\" target=\\"_blank\\" rel=\\"noopener\\">subscription features<span data-euiicon-type=\\"popout\\" aria-label=\\"External link\\" class=\\"euiLink__externalIcon\\"></span><span class=\\"euiScreenReaderOnly\\">(opens in a new tab or window)</span></a> have to offer.</span></p></div></div><div class=\\"euiCard__footer\\"><button class=\\"euiButton euiButton--primary\\" type=\\"button\\" data-test-subj=\\"startTrialButton\\"><span class=\\"euiButtonContent euiButton__content\\"><span class=\\"euiButton__text\\">Start trial</span></span></button></div></div></div>"`;
|
||||
exports[`StartTrial component when trial is allowed should display for gold license 1`] = `"<div class=\\"euiFlexItem\\"><div class=\\"euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--hasBorder euiCard euiCard--centerAligned\\"><div class=\\"euiCard__content\\"><span class=\\"euiTitle euiTitle--small euiCard__title\\" id=\\"generated-idTitle\\">Start a 30-day trial</span><div class=\\"euiText euiText--small euiCard__description\\" id=\\"generated-idDescription\\"><p><span>Experience what machine learning, advanced security, and all our other <a class=\\"euiLink euiLink--primary\\" href=\\"https://www.elastic.co/subscriptions\\" target=\\"_blank\\" rel=\\"noopener\\">subscription features<span data-euiicon-type=\\"popout\\" class=\\"euiLink__externalIcon\\">External link</span><span class=\\"euiScreenReaderOnly\\">(opens in a new tab or window)</span></a> have to offer.</span></p></div></div><div class=\\"euiCard__footer\\"><button class=\\"euiButton euiButton--primary\\" type=\\"button\\" data-test-subj=\\"startTrialButton\\"><span class=\\"euiButtonContent euiButton__content\\"><span class=\\"euiButton__text\\">Start trial</span></span></button></div></div></div>"`;
|
||||
|
|
|
@ -87,10 +87,11 @@ Array [
|
|||
>
|
||||
Elasticsearch Service Console
|
||||
<span
|
||||
aria-label="External link"
|
||||
class="euiLink__externalIcon"
|
||||
data-euiicon-type="popout"
|
||||
/>
|
||||
>
|
||||
External link
|
||||
</span>
|
||||
<span
|
||||
class="euiScreenReaderOnly"
|
||||
>
|
||||
|
@ -106,10 +107,11 @@ Array [
|
|||
>
|
||||
Logs and metrics
|
||||
<span
|
||||
aria-label="External link"
|
||||
class="euiLink__externalIcon"
|
||||
data-euiicon-type="popout"
|
||||
/>
|
||||
>
|
||||
External link
|
||||
</span>
|
||||
<span
|
||||
class="euiScreenReaderOnly"
|
||||
>
|
||||
|
@ -125,10 +127,11 @@ Array [
|
|||
>
|
||||
the documentation page.
|
||||
<span
|
||||
aria-label="External link"
|
||||
class="euiLink__externalIcon"
|
||||
data-euiicon-type="popout"
|
||||
/>
|
||||
>
|
||||
External link
|
||||
</span>
|
||||
<span
|
||||
class="euiScreenReaderOnly"
|
||||
>
|
||||
|
|
|
@ -158,10 +158,11 @@ Array [
|
|||
>
|
||||
Elasticsearch Service Console
|
||||
<span
|
||||
aria-label="External link"
|
||||
class="euiLink__externalIcon"
|
||||
data-euiicon-type="popout"
|
||||
/>
|
||||
>
|
||||
External link
|
||||
</span>
|
||||
<span
|
||||
class="euiScreenReaderOnly"
|
||||
>
|
||||
|
@ -177,10 +178,11 @@ Array [
|
|||
>
|
||||
Logs and metrics
|
||||
<span
|
||||
aria-label="External link"
|
||||
class="euiLink__externalIcon"
|
||||
data-euiicon-type="popout"
|
||||
/>
|
||||
>
|
||||
External link
|
||||
</span>
|
||||
<span
|
||||
class="euiScreenReaderOnly"
|
||||
>
|
||||
|
@ -196,10 +198,11 @@ Array [
|
|||
>
|
||||
the documentation page.
|
||||
<span
|
||||
aria-label="External link"
|
||||
class="euiLink__externalIcon"
|
||||
data-euiicon-type="popout"
|
||||
/>
|
||||
>
|
||||
External link
|
||||
</span>
|
||||
<span
|
||||
class="euiScreenReaderOnly"
|
||||
>
|
||||
|
|
|
@ -252,7 +252,7 @@ describe('<RemoteClusterList />', () => {
|
|||
],
|
||||
[
|
||||
'',
|
||||
remoteCluster2.name,
|
||||
remoteCluster2.name.concat('Info'), //Tests include the word "info" to account for the rendered text coming from EuiIcon
|
||||
'Not connected',
|
||||
PROXY_MODE,
|
||||
remoteCluster2.proxyAddress,
|
||||
|
@ -261,7 +261,7 @@ describe('<RemoteClusterList />', () => {
|
|||
],
|
||||
[
|
||||
'',
|
||||
remoteCluster3.name,
|
||||
remoteCluster3.name.concat('Info'), //Tests include the word "info" to account for the rendered text coming from EuiIcon
|
||||
'Not connected',
|
||||
PROXY_MODE,
|
||||
remoteCluster2.proxyAddress,
|
||||
|
@ -360,7 +360,7 @@ describe('<RemoteClusterList />', () => {
|
|||
({ rows } = table.getMetaData('remoteClusterListTable'));
|
||||
|
||||
expect(rows.length).toBe(2);
|
||||
expect(rows[0].columns[1].value).toEqual(remoteCluster2.name);
|
||||
expect(rows[0].columns[1].value).toContain(remoteCluster2.name);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ describe('FeatureTableCell', () => {
|
|||
<FeatureTableCell feature={new SecuredFeature(feature.toRaw())} />
|
||||
);
|
||||
|
||||
expect(wrapper.text()).toMatchInlineSnapshot(`"Test Feature "`);
|
||||
expect(wrapper.text()).toMatchInlineSnapshot(`"Test Feature Info"`);
|
||||
|
||||
expect(wrapper.find(EuiIconTip).props().content).toMatchInlineSnapshot(`
|
||||
<EuiText>
|
||||
|
|
|
@ -60,7 +60,7 @@ export function getDisplayedFeaturePrivileges(
|
|||
|
||||
acc[feature.id][key] = {
|
||||
...acc[feature.id][key],
|
||||
primaryFeaturePrivilege: primary.text().trim(),
|
||||
primaryFeaturePrivilege: primary.text().replaceAll('Info', '').trim(), // Removing the word "info" to account for the rendered text coming from EuiIcon
|
||||
hasCustomizedSubFeaturePrivileges:
|
||||
findTestSubject(primary, 'additionalPrivilegesGranted').length > 0,
|
||||
};
|
||||
|
|
|
@ -158,7 +158,7 @@ describe('ExceptionEntries', () => {
|
|||
expect(parentValue.text()).toEqual(getEmptyValue());
|
||||
|
||||
expect(nestedField.exists('.euiToolTipAnchor')).toBeTruthy();
|
||||
expect(nestedField.text()).toEqual('host.name');
|
||||
expect(nestedField.text()).toContain('host.name');
|
||||
expect(nestedOperator.text()).toEqual('is');
|
||||
expect(nestedValue.text()).toEqual('some name');
|
||||
});
|
||||
|
|
|
@ -58,7 +58,7 @@ describe('Modal Inspect', () => {
|
|||
|
||||
expect(
|
||||
wrapper.find('.euiDescriptionList__title span[data-test-subj="index-pattern-title"]').text()
|
||||
).toBe('Index pattern ');
|
||||
).toContain('Index pattern ');
|
||||
expect(
|
||||
wrapper
|
||||
.find('.euiDescriptionList__description span[data-test-subj="index-pattern-description"]')
|
||||
|
@ -66,7 +66,7 @@ describe('Modal Inspect', () => {
|
|||
).toBe('auditbeat-*, filebeat-*, packetbeat-*, winlogbeat-*');
|
||||
expect(
|
||||
wrapper.find('.euiDescriptionList__title span[data-test-subj="query-time-title"]').text()
|
||||
).toBe('Query time ');
|
||||
).toContain('Query time ');
|
||||
expect(
|
||||
wrapper
|
||||
.find('.euiDescriptionList__description span[data-test-subj="query-time-description"]')
|
||||
|
@ -76,7 +76,7 @@ describe('Modal Inspect', () => {
|
|||
wrapper
|
||||
.find('.euiDescriptionList__title span[data-test-subj="request-timestamp-title"]')
|
||||
.text()
|
||||
).toBe('Request timestamp ');
|
||||
).toContain('Request timestamp ');
|
||||
});
|
||||
|
||||
test('Click on request Tab', () => {
|
||||
|
|
|
@ -105,7 +105,7 @@ describe('Custom Links', () => {
|
|||
const wrapper = mountWithIntl(
|
||||
<GoogleLink link={'http://example.com/'}>{'Example Link'}</GoogleLink>
|
||||
);
|
||||
expect(removeExternalLinkText(wrapper.text())).toEqual('Example Link');
|
||||
expect(removeExternalLinkText(wrapper.text())).toContain('Example Link');
|
||||
});
|
||||
|
||||
test('it renders props passed in as link', () => {
|
||||
|
@ -463,7 +463,7 @@ describe('Custom Links', () => {
|
|||
describe('WhoisLink', () => {
|
||||
test('it renders ip passed in as domain', () => {
|
||||
const wrapper = mountWithIntl(<WhoIsLink domain={'192.0.2.0'}>{'Example Link'}</WhoIsLink>);
|
||||
expect(removeExternalLinkText(wrapper.text())).toEqual('Example Link');
|
||||
expect(removeExternalLinkText(wrapper.text())).toContain('Example Link');
|
||||
});
|
||||
|
||||
test('it renders correct href', () => {
|
||||
|
@ -488,7 +488,7 @@ describe('Custom Links', () => {
|
|||
{'Example Link'}
|
||||
</CertificateFingerprintLink>
|
||||
);
|
||||
expect(removeExternalLinkText(wrapper.text())).toEqual('Example Link');
|
||||
expect(removeExternalLinkText(wrapper.text())).toContain('Example Link');
|
||||
});
|
||||
|
||||
test('it renders correct href', () => {
|
||||
|
@ -519,7 +519,7 @@ describe('Custom Links', () => {
|
|||
const wrapper = mountWithIntl(
|
||||
<Ja3FingerprintLink ja3Fingerprint={'abcd'}>{'Example Link'}</Ja3FingerprintLink>
|
||||
);
|
||||
expect(removeExternalLinkText(wrapper.text())).toEqual('Example Link');
|
||||
expect(removeExternalLinkText(wrapper.text())).toContain('Example Link');
|
||||
});
|
||||
|
||||
test('it renders correct href', () => {
|
||||
|
@ -548,7 +548,7 @@ describe('Custom Links', () => {
|
|||
const wrapper = mountWithIntl(
|
||||
<PortOrServiceNameLink portOrServiceName={443}>{'Example Link'}</PortOrServiceNameLink>
|
||||
);
|
||||
expect(removeExternalLinkText(wrapper.text())).toEqual('Example Link');
|
||||
expect(removeExternalLinkText(wrapper.text())).toContain('Example Link');
|
||||
});
|
||||
|
||||
test('it renders correct href when port is a number', () => {
|
||||
|
|
|
@ -20,7 +20,7 @@ describe('Markdown', () => {
|
|||
|
||||
expect(
|
||||
removeExternalLinkText(wrapper.find('[data-test-subj="markdown-link"]').first().text())
|
||||
).toEqual('External Site');
|
||||
).toContain('External Site');
|
||||
});
|
||||
|
||||
test('it renders the expected href', () => {
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License
|
||||
* 2.0; you may not use this file except in compliance with the Elastic License
|
||||
* 2.0.
|
||||
*/
|
||||
|
||||
import React, { FC } from 'react';
|
||||
|
||||
import { EuiTourStepProps, EuiTourStep, DistributiveOmit } from '@elastic/eui';
|
||||
|
||||
/**
|
||||
* This component can be used for tour steps, when tour step is optional
|
||||
* If stepProps are not supplied, step will not be rendered, only children component will be
|
||||
*/
|
||||
export const OptionalEuiTourStep: FC<{
|
||||
stepProps: DistributiveOmit<EuiTourStepProps, 'anchor'> | undefined;
|
||||
}> = ({ children, stepProps }) => {
|
||||
if (!stepProps) {
|
||||
return <>{children}</>;
|
||||
}
|
||||
|
||||
return (
|
||||
<EuiTourStep {...stepProps}>
|
||||
<>{children}</>
|
||||
</EuiTourStep>
|
||||
);
|
||||
};
|
|
@ -54,9 +54,9 @@ describe('Port', () => {
|
|||
</TestProviders>
|
||||
);
|
||||
|
||||
expect(removeExternalLinkText(wrapper.find('[data-test-subj="port"]').first().text())).toEqual(
|
||||
'443'
|
||||
);
|
||||
expect(
|
||||
removeExternalLinkText(wrapper.find('[data-test-subj="port"]').first().text())
|
||||
).toContain('443');
|
||||
});
|
||||
|
||||
test('it hyperlinks links destination.port to an external service that describes the purpose of the port', () => {
|
||||
|
|
|
@ -205,7 +205,7 @@ describe('SourceDestination', () => {
|
|||
removeExternalLinkText(
|
||||
wrapper.find('[data-test-subj="destination-ip-and-port"]').first().text()
|
||||
)
|
||||
).toEqual('10.1.2.3:80');
|
||||
).toContain('10.1.2.3:80');
|
||||
});
|
||||
|
||||
test('it renders destination.packets', () => {
|
||||
|
@ -329,7 +329,7 @@ describe('SourceDestination', () => {
|
|||
|
||||
expect(
|
||||
removeExternalLinkText(wrapper.find('[data-test-subj="source-ip-and-port"]').first().text())
|
||||
).toEqual('192.168.1.2:9987');
|
||||
).toContain('192.168.1.2:9987');
|
||||
});
|
||||
|
||||
test('it renders source.packets', () => {
|
||||
|
|
|
@ -984,7 +984,7 @@ describe('SourceDestinationIp', () => {
|
|||
removeExternalLinkText(
|
||||
wrapper.find('[data-test-subj="draggable-content-source.port"]').first().text()
|
||||
)
|
||||
).toEqual('9987');
|
||||
).toContain('9987');
|
||||
});
|
||||
|
||||
test('it renders the expected destination port when type is `destination`, and both destinationIp and destinationPort are populated', () => {
|
||||
|
@ -1038,7 +1038,7 @@ describe('SourceDestinationIp', () => {
|
|||
removeExternalLinkText(
|
||||
wrapper.find('[data-test-subj="draggable-content-destination.port"]').first().text()
|
||||
)
|
||||
).toEqual('80');
|
||||
).toContain('80');
|
||||
});
|
||||
|
||||
test('it renders the expected source port when type is `source`, but only sourcePort is populated', () => {
|
||||
|
@ -1092,7 +1092,7 @@ describe('SourceDestinationIp', () => {
|
|||
removeExternalLinkText(
|
||||
wrapper.find('[data-test-subj="draggable-content-source.port"]').first().text()
|
||||
)
|
||||
).toEqual('9987');
|
||||
).toContain('9987');
|
||||
});
|
||||
|
||||
test('it renders the expected destination port when type is `destination`, and only destinationPort is populated', () => {
|
||||
|
@ -1147,7 +1147,7 @@ describe('SourceDestinationIp', () => {
|
|||
removeExternalLinkText(
|
||||
wrapper.find('[data-test-subj="draggable-content-destination.port"]').first().text()
|
||||
)
|
||||
).toEqual('80');
|
||||
).toContain('80');
|
||||
});
|
||||
|
||||
test('it does NOT render the badge when type is `source`, but both sourceIp and sourcePort are undefined', () => {
|
||||
|
|
|
@ -51,7 +51,7 @@ describe('CertificateFingerprint', () => {
|
|||
removeExternalLinkText(
|
||||
wrapper.find('[data-test-subj="certificate-fingerprint-link"]').first().text()
|
||||
)
|
||||
).toEqual('3f4c57934e089f02ae7511200aee2d7e7aabd272');
|
||||
).toContain('3f4c57934e089f02ae7511200aee2d7e7aabd272');
|
||||
});
|
||||
|
||||
test('it renders a hyperlink to an external site to compare the fingerprint against a known set of signatures', () => {
|
||||
|
|
|
@ -48,7 +48,7 @@ describe('Ja3Fingerprint', () => {
|
|||
|
||||
expect(
|
||||
removeExternalLinkText(wrapper.find('[data-test-subj="ja3-fingerprint-link"]').first().text())
|
||||
).toEqual('fff799d91b7c01ae3fe6787cfc895552');
|
||||
).toContain('fff799d91b7c01ae3fe6787cfc895552');
|
||||
});
|
||||
|
||||
test('it renders a hyperlink to an external site to compare the fingerprint against a known set of signatures', () => {
|
||||
|
|
|
@ -204,7 +204,7 @@ describe('Netflow', () => {
|
|||
removeExternalLinkText(
|
||||
wrapper.find('[data-test-subj="destination-ip-and-port"]').first().text()
|
||||
)
|
||||
).toEqual('10.1.2.3:80');
|
||||
).toContain('10.1.2.3:80');
|
||||
});
|
||||
|
||||
test('it renders destination.packets', () => {
|
||||
|
@ -340,7 +340,7 @@ describe('Netflow', () => {
|
|||
|
||||
expect(
|
||||
removeExternalLinkText(wrapper.find('[data-test-subj="source-ip-and-port"]').first().text())
|
||||
).toEqual('192.168.1.2:9987');
|
||||
).toContain('192.168.1.2:9987');
|
||||
});
|
||||
|
||||
test('it renders source.packets', () => {
|
||||
|
@ -374,7 +374,7 @@ describe('Netflow', () => {
|
|||
.first()
|
||||
.text()
|
||||
)
|
||||
).toEqual('tls.client_certificate.fingerprint.sha1-value');
|
||||
).toContain('tls.client_certificate.fingerprint.sha1-value');
|
||||
});
|
||||
|
||||
test('it hyperlinks tls.fingerprints.ja3.hash site to compare the fingerprint against a known set of signatures', () => {
|
||||
|
@ -390,7 +390,7 @@ describe('Netflow', () => {
|
|||
|
||||
expect(
|
||||
removeExternalLinkText(wrapper.find('[data-test-subj="ja3-fingerprint-link"]').first().text())
|
||||
).toEqual('tls.fingerprints.ja3.hash-value');
|
||||
).toContain('tls.fingerprints.ja3.hash-value');
|
||||
});
|
||||
|
||||
test('it hyperlinks tls.server_certificate.fingerprint.sha1 site to compare the fingerprint against a known set of signatures', () => {
|
||||
|
@ -418,7 +418,7 @@ describe('Netflow', () => {
|
|||
.first()
|
||||
.text()
|
||||
)
|
||||
).toEqual('tls.server_certificate.fingerprint.sha1-value');
|
||||
).toContain('tls.server_certificate.fingerprint.sha1-value');
|
||||
});
|
||||
|
||||
test('it renders network.transport', () => {
|
||||
|
|
|
@ -2686,11 +2686,12 @@ exports[`Details Panel Component DetailsPanel:NetworkDetails: rendering it shoul
|
|||
type="popout"
|
||||
>
|
||||
<span
|
||||
aria-label="External link"
|
||||
className="euiLink__externalIcon"
|
||||
data-euiicon-type="popout"
|
||||
size="s"
|
||||
/>
|
||||
>
|
||||
External link
|
||||
</span>
|
||||
</EuiIcon>
|
||||
<EuiScreenReaderOnly>
|
||||
<span
|
||||
|
|
|
@ -20,6 +20,12 @@ import { useMountAppended } from '../../../../../common/utils/use_mount_appended
|
|||
import { defaultRowRenderers } from '.';
|
||||
import { getRowRenderer } from './get_row_renderer';
|
||||
|
||||
// EuiIcons coming from .testenv render the icon's aria-label as a span
|
||||
// extractEuiIcon removes the aria-label before checking for equality
|
||||
const extractEuiIconText = (str: string) => {
|
||||
return str.replaceAll('External link', '');
|
||||
};
|
||||
|
||||
jest.mock('../../../../../common/lib/kibana');
|
||||
|
||||
jest.mock('@elastic/eui', () => {
|
||||
|
@ -90,7 +96,7 @@ describe('get_column_renderer', () => {
|
|||
<span>{row}</span>
|
||||
</TestProviders>
|
||||
);
|
||||
expect(removeExternalLinkText(wrapper.text())).toContain(
|
||||
expect(extractEuiIconText(removeExternalLinkText(wrapper.text()))).toBe(
|
||||
'4ETEXPLOITNETGEARWNR2000v5 hidden_lang_avi Stack Overflow (CVE-2016-10174)Source192.168.0.3:53Destination192.168.0.3:6343'
|
||||
);
|
||||
});
|
||||
|
@ -109,7 +115,7 @@ describe('get_column_renderer', () => {
|
|||
<span>{row}</span>
|
||||
</TestProviders>
|
||||
);
|
||||
expect(removeExternalLinkText(wrapper.text())).toContain(
|
||||
expect(extractEuiIconText(removeExternalLinkText(wrapper.text()))).toBe(
|
||||
'4ETEXPLOITNETGEARWNR2000v5 hidden_lang_avi Stack Overflow (CVE-2016-10174)Source192.168.0.3:53Destination192.168.0.3:6343'
|
||||
);
|
||||
});
|
||||
|
@ -128,7 +134,7 @@ describe('get_column_renderer', () => {
|
|||
<span>{row}</span>
|
||||
</TestProviders>
|
||||
);
|
||||
expect(removeExternalLinkText(wrapper.text())).toContain(
|
||||
expect(extractEuiIconText(removeExternalLinkText(wrapper.text()))).toBe(
|
||||
'C8DRTq362Fios6hw16connectionREJSrConnection attempt rejectedtcpSource185.176.26.101:44059Destination207.154.238.205:11568'
|
||||
);
|
||||
});
|
||||
|
|
|
@ -53,7 +53,11 @@ describe('SuricataDetails', () => {
|
|||
/>
|
||||
</TestProviders>
|
||||
);
|
||||
expect(removeExternalLinkText(wrapper.text())).toEqual(
|
||||
const removeEuiIconText = removeExternalLinkText(wrapper.text()).replaceAll(
|
||||
'External link',
|
||||
''
|
||||
);
|
||||
expect(removeEuiIconText).toEqual(
|
||||
'4ETEXPLOITNETGEARWNR2000v5 hidden_lang_avi Stack Overflow (CVE-2016-10174)Source192.168.0.3:53Destination192.168.0.3:6343'
|
||||
);
|
||||
});
|
||||
|
|
|
@ -72,7 +72,12 @@ describe('suricata_row_renderer', () => {
|
|||
<span>{children}</span>
|
||||
</TestProviders>
|
||||
);
|
||||
expect(removeExternalLinkText(wrapper.text())).toContain(
|
||||
|
||||
const extractEuiIconText = removeExternalLinkText(wrapper.text()).replaceAll(
|
||||
'External link',
|
||||
''
|
||||
);
|
||||
expect(extractEuiIconText).toContain(
|
||||
'4ETEXPLOITNETGEARWNR2000v5 hidden_lang_avi Stack Overflow (CVE-2016-10174)Source192.168.0.3:53Destination192.168.0.3:6343'
|
||||
);
|
||||
});
|
||||
|
|
|
@ -83,6 +83,12 @@ import {
|
|||
import * as i18n from './translations';
|
||||
import { RowRenderer } from '../../../../../../../common/types';
|
||||
|
||||
// EuiIcons coming from .testenv render the icon's aria-label as a span
|
||||
// extractEuiIcon removes the aria-label before checking for equality
|
||||
const extractEuiIconText = (str: string) => {
|
||||
return str.replaceAll('External link', '');
|
||||
};
|
||||
|
||||
jest.mock('../../../../../../common/lib/kibana');
|
||||
|
||||
jest.mock('@elastic/eui', () => {
|
||||
|
@ -1130,7 +1136,7 @@ describe('GenericRowRenderer', () => {
|
|||
</TestProviders>
|
||||
);
|
||||
|
||||
expect(removeExternalLinkText(wrapper.text())).toEqual(
|
||||
expect(extractEuiIconText(removeExternalLinkText(wrapper.text()))).toBe(
|
||||
'NETWORK SERVICE\\NT AUTHORITY@windows-endpoint-1accepted a connection viasvchost.exe(328)with resultsuccessEndpoint network eventincomingtcpSource10.1.2.3:64557North AmericaUnited States🇺🇸USNorth CarolinaConcordDestination10.50.60.70:3389'
|
||||
);
|
||||
});
|
||||
|
@ -1214,7 +1220,7 @@ describe('GenericRowRenderer', () => {
|
|||
</TestProviders>
|
||||
);
|
||||
|
||||
expect(removeExternalLinkText(wrapper.text())).toEqual(
|
||||
expect(extractEuiIconText(removeExternalLinkText(wrapper.text()))).toBe(
|
||||
'NETWORK SERVICE\\NT AUTHORITY@win2019-endpoint-1made a http request viasvchost.exe(2232)Endpoint network eventoutgoinghttptcpSource10.1.2.3:51570Destination10.11.12.13:80North AmericaUnited States🇺🇸USArizonaPhoenix'
|
||||
);
|
||||
});
|
||||
|
@ -1243,7 +1249,7 @@ describe('GenericRowRenderer', () => {
|
|||
</TestProviders>
|
||||
);
|
||||
|
||||
expect(removeExternalLinkText(wrapper.text())).toEqual(
|
||||
expect(extractEuiIconText(removeExternalLinkText(wrapper.text()))).toBe(
|
||||
'SYSTEM\\NT AUTHORITY@HD-gqf-0af7b4feaccepted a connection viaAmSvc.exe(1084)tcp1:network-community_idSource127.0.0.1:49306Destination127.0.0.1:49305'
|
||||
);
|
||||
});
|
||||
|
@ -1272,7 +1278,7 @@ describe('GenericRowRenderer', () => {
|
|||
</TestProviders>
|
||||
);
|
||||
|
||||
expect(removeExternalLinkText(wrapper.text())).toEqual(
|
||||
expect(extractEuiIconText(removeExternalLinkText(wrapper.text()))).toBe(
|
||||
'SYSTEM\\NT AUTHORITY@HD-55b-3ec87f66accepted a connection via(4)tcp1:network-community_idSource::1:51324Destination::1:5357'
|
||||
);
|
||||
});
|
||||
|
@ -1298,7 +1304,7 @@ describe('GenericRowRenderer', () => {
|
|||
</TestProviders>
|
||||
);
|
||||
|
||||
expect(removeExternalLinkText(wrapper.text())).toEqual(
|
||||
expect(extractEuiIconText(removeExternalLinkText(wrapper.text()))).toBe(
|
||||
'NETWORK SERVICE\\NT AUTHORITY@windows-endpoint-1disconnected viasvchost.exe(328)Endpoint network eventincomingtcpSource10.20.30.40:64557North AmericaUnited States🇺🇸USNorth CarolinaConcord(42.47%)1.2KB(57.53%)1.6KBDestination10.11.12.13:3389'
|
||||
);
|
||||
});
|
||||
|
@ -1327,7 +1333,7 @@ describe('GenericRowRenderer', () => {
|
|||
</TestProviders>
|
||||
);
|
||||
|
||||
expect(removeExternalLinkText(wrapper.text())).toEqual(
|
||||
expect(extractEuiIconText(removeExternalLinkText(wrapper.text()))).toBe(
|
||||
'Arun\\Anvi-Acer@HD-obe-8bf77f54disconnected viachrome.exe(11620)8.1KBtcp1:LxYHJJv98b2O0fNccXu6HheXmwk=Source192.168.0.6:59356(25.78%)2.1KB(74.22%)6KBDestination10.156.162.53:443'
|
||||
);
|
||||
});
|
||||
|
@ -1356,7 +1362,7 @@ describe('GenericRowRenderer', () => {
|
|||
</TestProviders>
|
||||
);
|
||||
|
||||
expect(removeExternalLinkText(wrapper.text())).toEqual(
|
||||
expect(extractEuiIconText(removeExternalLinkText(wrapper.text()))).toBe(
|
||||
'SYSTEM\\NT AUTHORITY@HD-55b-3ec87f66disconnected via(4)7.9KBtcp1:ZylzQhsB1dcptA2t4DY8S6l9o8E=Source::1:51338(96.92%)7.7KB(3.08%)249BDestination::1:2869'
|
||||
);
|
||||
});
|
||||
|
@ -1385,7 +1391,7 @@ describe('GenericRowRenderer', () => {
|
|||
</TestProviders>
|
||||
);
|
||||
|
||||
expect(removeExternalLinkText(wrapper.text())).toEqual(
|
||||
expect(extractEuiIconText(removeExternalLinkText(wrapper.text()))).toBe(
|
||||
'root@foohostopened a socket withgoogle_accounts(2166)Outbound socket (10.4.20.1:59554 -> 10.1.2.3:80) Ooutboundtcp1:network-community_idSource10.4.20.1:59554Destination10.1.2.3:80'
|
||||
);
|
||||
});
|
||||
|
@ -1414,7 +1420,7 @@ describe('GenericRowRenderer', () => {
|
|||
</TestProviders>
|
||||
);
|
||||
|
||||
expect(removeExternalLinkText(wrapper.text())).toEqual(
|
||||
expect(extractEuiIconText(removeExternalLinkText(wrapper.text()))).toBe(
|
||||
'root@foohostclosed a socket withgoogle_accounts(2166)Outbound socket (10.4.20.1:59508 -> 10.1.2.3:80) Coutboundtcp1:network-community_idSource10.4.20.1:59508Destination10.1.2.3:80'
|
||||
);
|
||||
});
|
||||
|
@ -1722,7 +1728,7 @@ describe('GenericRowRenderer', () => {
|
|||
</TestProviders>
|
||||
);
|
||||
|
||||
expect(removeExternalLinkText(wrapper.text())).toEqual(
|
||||
expect(extractEuiIconText(removeExternalLinkText(wrapper.text()))).toBe(
|
||||
'iot.example.comasked forlookup.example.comwith question typeA, which resolved to10.1.2.3(response code:NOERROR)viaan unknown process6.937500msOct 8, 2019 @ 10:05:23.241Oct 8, 2019 @ 10:05:23.248outbounddns177Budp1:network-community_idSource10.9.9.9:58732(22.60%)40B(77.40%)137BDestination10.1.1.1:53OceaniaAustralia🇦🇺AU'
|
||||
);
|
||||
});
|
||||
|
|
|
@ -14,6 +14,12 @@ import { mockTimelineData, TestProviders } from '../../../../../../common/mock';
|
|||
import { useMountAppended } from '../../../../../../common/utils/use_mount_appended';
|
||||
import { ZeekDetails } from './zeek_details';
|
||||
|
||||
// EuiIcons coming from .testenv render the icon's aria-label as a span
|
||||
// extractEuiIcon removes the aria-label before checking for equality
|
||||
const extractEuiIconText = (str: string) => {
|
||||
return str.replaceAll('External link', '');
|
||||
};
|
||||
|
||||
jest.mock('../../../../../../common/lib/kibana');
|
||||
|
||||
jest.mock('@elastic/eui', () => {
|
||||
|
@ -53,7 +59,7 @@ describe('ZeekDetails', () => {
|
|||
/>
|
||||
</TestProviders>
|
||||
);
|
||||
expect(removeExternalLinkText(wrapper.text())).toEqual(
|
||||
expect(extractEuiIconText(removeExternalLinkText(wrapper.text()))).toEqual(
|
||||
'C8DRTq362Fios6hw16connectionREJSrConnection attempt rejectedtcpSource185.176.26.101:44059Destination207.154.238.205:11568'
|
||||
);
|
||||
});
|
||||
|
@ -68,7 +74,7 @@ describe('ZeekDetails', () => {
|
|||
/>
|
||||
</TestProviders>
|
||||
);
|
||||
expect(removeExternalLinkText(wrapper.text())).toEqual(
|
||||
expect(extractEuiIconText(removeExternalLinkText(wrapper.text()))).toEqual(
|
||||
'CyIrMA1L1JtLqdIuoldnsudpSource206.189.35.240:57475Destination67.207.67.3:53'
|
||||
);
|
||||
});
|
||||
|
@ -83,7 +89,7 @@ describe('ZeekDetails', () => {
|
|||
/>
|
||||
</TestProviders>
|
||||
);
|
||||
expect(removeExternalLinkText(wrapper.text())).toEqual(
|
||||
expect(extractEuiIconText(removeExternalLinkText(wrapper.text()))).toEqual(
|
||||
'CZLkpC22NquQJOpkwehttp302Source206.189.35.240:36220Destination192.241.164.26:80'
|
||||
);
|
||||
});
|
||||
|
@ -98,7 +104,7 @@ describe('ZeekDetails', () => {
|
|||
/>
|
||||
</TestProviders>
|
||||
);
|
||||
expect(removeExternalLinkText(wrapper.text())).toEqual(
|
||||
expect(extractEuiIconText(removeExternalLinkText(wrapper.text()))).toEqual(
|
||||
'noticeDropped:falseScan::Port_Scan8.42.77.171 scanned at least 15 unique ports of host 207.154.238.205 in 0m0sSource8.42.77.171'
|
||||
);
|
||||
});
|
||||
|
@ -113,7 +119,7 @@ describe('ZeekDetails', () => {
|
|||
/>
|
||||
</TestProviders>
|
||||
);
|
||||
expect(removeExternalLinkText(wrapper.text())).toEqual(
|
||||
expect(extractEuiIconText(removeExternalLinkText(wrapper.text()))).toEqual(
|
||||
'CmTxzt2OVXZLkGDaResslTLSv12TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256Source188.166.66.184:34514Destination91.189.95.15:443'
|
||||
);
|
||||
});
|
||||
|
|
|
@ -71,7 +71,12 @@ describe('zeek_row_renderer', () => {
|
|||
<span>{children}</span>
|
||||
</TestProviders>
|
||||
);
|
||||
expect(removeExternalLinkText(wrapper.text())).toContain(
|
||||
|
||||
const extractEuiIconText = removeExternalLinkText(wrapper.text()).replaceAll(
|
||||
'External link',
|
||||
''
|
||||
);
|
||||
expect(extractEuiIconText).toContain(
|
||||
'C8DRTq362Fios6hw16connectionREJSrConnection attempt rejectedtcpSource185.176.26.101:44059Destination207.154.238.205:11568'
|
||||
);
|
||||
});
|
||||
|
|
|
@ -101,7 +101,11 @@ describe('ZeekSignature', () => {
|
|||
|
||||
test('should render value', () => {
|
||||
const wrapper = mount(<Link value={'abc'} />);
|
||||
expect(removeExternalLinkText(wrapper.text())).toEqual('abc');
|
||||
const extractEuiIconText = removeExternalLinkText(wrapper.text()).replaceAll(
|
||||
'External link',
|
||||
''
|
||||
);
|
||||
expect(extractEuiIconText).toEqual('abc');
|
||||
});
|
||||
|
||||
test('should render value and link', () => {
|
||||
|
|
|
@ -769,7 +769,7 @@ describe('<SnapshotRestoreHome />', () => {
|
|||
|
||||
const stateMessage = find('snapshotDetail.state.value').text();
|
||||
try {
|
||||
expect(stateMessage).toBe(expectedMessage);
|
||||
expect(stateMessage).toContain(expectedMessage); // Messages may include the word "Info" to account for the rendered text coming from EuiIcon
|
||||
} catch {
|
||||
throw new Error(
|
||||
`Expected snapshot state message "${expectedMessage}" for state "${state}, but got "${stateMessage}".`
|
||||
|
|
|
@ -110,7 +110,7 @@ describe('Modal Inspect', () => {
|
|||
|
||||
expect(
|
||||
wrapper.find('.euiDescriptionList__title span[data-test-subj="index-pattern-title"]').text()
|
||||
).toBe('Index pattern ');
|
||||
).toContain('Index pattern ');
|
||||
expect(
|
||||
wrapper
|
||||
.find('.euiDescriptionList__description span[data-test-subj="index-pattern-description"]')
|
||||
|
@ -118,7 +118,7 @@ describe('Modal Inspect', () => {
|
|||
).toBe('auditbeat-*, filebeat-*, packetbeat-*, winlogbeat-*');
|
||||
expect(
|
||||
wrapper.find('.euiDescriptionList__title span[data-test-subj="query-time-title"]').text()
|
||||
).toBe('Query time ');
|
||||
).toContain('Query time ');
|
||||
expect(
|
||||
wrapper
|
||||
.find('.euiDescriptionList__description span[data-test-subj="query-time-description"]')
|
||||
|
@ -128,7 +128,7 @@ describe('Modal Inspect', () => {
|
|||
wrapper
|
||||
.find('.euiDescriptionList__title span[data-test-subj="request-timestamp-title"]')
|
||||
.text()
|
||||
).toBe('Request timestamp ');
|
||||
).toContain('Request timestamp ');
|
||||
});
|
||||
|
||||
test('Click on request Tab', () => {
|
||||
|
|
|
@ -107,10 +107,12 @@ describe('health check', () => {
|
|||
const [action] = queryAllByText(/Learn more/i);
|
||||
|
||||
expect(description.textContent).toMatchInlineSnapshot(
|
||||
`"You must enable API keys to use Alerting. Learn more.(opens in a new tab or window)"`
|
||||
`"You must enable API keys to use Alerting. Learn more.External link(opens in a new tab or window)"`
|
||||
);
|
||||
|
||||
expect(action.textContent).toMatchInlineSnapshot(`"Learn more.(opens in a new tab or window)"`);
|
||||
expect(action.textContent).toMatchInlineSnapshot(
|
||||
`"Learn more.External link(opens in a new tab or window)"`
|
||||
);
|
||||
|
||||
expect(action.getAttribute('href')).toMatchInlineSnapshot(
|
||||
`"https://www.elastic.co/guide/en/elasticsearch/reference/mocked-test-branch/security-settings.html#api-key-service-settings"`
|
||||
|
@ -141,12 +143,12 @@ describe('health check', () => {
|
|||
|
||||
const description = queryByRole(/banner/i);
|
||||
expect(description!.textContent).toMatchInlineSnapshot(
|
||||
`"You must configure an encryption key to use Alerting. Learn more.(opens in a new tab or window)"`
|
||||
`"You must configure an encryption key to use Alerting. Learn more.External link(opens in a new tab or window)"`
|
||||
);
|
||||
|
||||
const action = queryByText(/Learn/i);
|
||||
expect(action!.textContent).toMatchInlineSnapshot(
|
||||
`"Learn more.(opens in a new tab or window)"`
|
||||
`"Learn more.External link(opens in a new tab or window)"`
|
||||
);
|
||||
expect(action!.getAttribute('href')).toMatchInlineSnapshot(
|
||||
`"https://www.elastic.co/guide/en/kibana/mocked-test-branch/alert-action-settings-kb.html#general-alert-action-settings"`
|
||||
|
@ -179,12 +181,12 @@ describe('health check', () => {
|
|||
const description = queryByText(/You must enable/i);
|
||||
|
||||
expect(description!.textContent).toMatchInlineSnapshot(
|
||||
`"You must enable API keys and configure an encryption key to use Alerting. Learn more.(opens in a new tab or window)"`
|
||||
`"You must enable API keys and configure an encryption key to use Alerting. Learn more.External link(opens in a new tab or window)"`
|
||||
);
|
||||
|
||||
const action = queryByText(/Learn/i);
|
||||
expect(action!.textContent).toMatchInlineSnapshot(
|
||||
`"Learn more.(opens in a new tab or window)"`
|
||||
`"Learn more.External link(opens in a new tab or window)"`
|
||||
);
|
||||
expect(action!.getAttribute('href')).toMatchInlineSnapshot(
|
||||
`"https://www.elastic.co/guide/en/kibana/mocked-test-branch/alerting-setup.html#alerting-prerequisites"`
|
||||
|
|
|
@ -373,9 +373,12 @@ describe('execution duration overview', () => {
|
|||
const avgExecutionDurationPanel = wrapper.find('[data-test-subj="avgExecutionDurationPanel"]');
|
||||
expect(avgExecutionDurationPanel.exists()).toBeTruthy();
|
||||
expect(avgExecutionDurationPanel.first().prop('color')).toEqual('warning');
|
||||
expect(wrapper.find('EuiStat[data-test-subj="avgExecutionDurationStat"]').text()).toEqual(
|
||||
'Average duration16:44:44.345'
|
||||
);
|
||||
|
||||
const avgExecutionDurationStat = wrapper
|
||||
.find('EuiStat[data-test-subj="avgExecutionDurationStat"]')
|
||||
.text()
|
||||
.replaceAll('Info', '');
|
||||
expect(avgExecutionDurationStat).toEqual('Average duration16:44:44.345');
|
||||
expect(wrapper.find('[data-test-subj="ruleDurationWarning"]').exists()).toBeTruthy();
|
||||
});
|
||||
|
||||
|
|
|
@ -63,5 +63,5 @@ test('Can delete drilldowns', () => {
|
|||
|
||||
test('Error is displayed', () => {
|
||||
const screen = render(<DrilldownTable items={drilldowns} />);
|
||||
expect(screen.getByLabelText('an error')).toBeInTheDocument();
|
||||
expect(screen.getByText('an error')).toBeInTheDocument();
|
||||
});
|
||||
|
|
|
@ -179,10 +179,11 @@ exports[`PingListExpandedRow renders link to docs if body is not recorded but it
|
|||
>
|
||||
docs
|
||||
<span
|
||||
aria-label="External link"
|
||||
class="euiLink__externalIcon"
|
||||
data-euiicon-type="popout"
|
||||
/>
|
||||
>
|
||||
External link
|
||||
</span>
|
||||
<span
|
||||
class="euiScreenReaderOnly"
|
||||
>
|
||||
|
|
|
@ -72,10 +72,11 @@ Array [
|
|||
>
|
||||
Set tags
|
||||
<span
|
||||
aria-label="External link"
|
||||
class="euiLink__externalIcon"
|
||||
data-euiicon-type="popout"
|
||||
/>
|
||||
>
|
||||
External link
|
||||
</span>
|
||||
<span
|
||||
class="euiScreenReaderOnly"
|
||||
>
|
||||
|
|
|
@ -11,7 +11,7 @@ import { render } from '../../../../../lib/helper/rtl_helpers';
|
|||
|
||||
describe('NetworkRequestsTotal', () => {
|
||||
it('message in case total is greater than fetched', () => {
|
||||
const { getByText, getByLabelText } = render(
|
||||
const { getByText } = render(
|
||||
<NetworkRequestsTotal
|
||||
fetchedNetworkRequests={1000}
|
||||
totalNetworkRequests={1100}
|
||||
|
@ -20,7 +20,7 @@ describe('NetworkRequestsTotal', () => {
|
|||
);
|
||||
|
||||
expect(getByText('First 1000/1100 network requests')).toBeInTheDocument();
|
||||
expect(getByLabelText('Info')).toBeInTheDocument();
|
||||
expect(getByText('Info')).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('message in case total is equal to fetched requests', () => {
|
||||
|
|
|
@ -13,8 +13,8 @@ import { TestWrapper } from './waterfall_marker_test_helper';
|
|||
|
||||
describe('<WaterfallMarkerIcon />', () => {
|
||||
it('renders a dot icon when `field` is an empty string', () => {
|
||||
const { getByLabelText } = render(<WaterfallMarkerIcon field="" label="" />);
|
||||
expect(getByLabelText('An icon indicating that this marker has no field associated with it'));
|
||||
const { getByText } = render(<WaterfallMarkerIcon field="" label="" />);
|
||||
expect(getByText('An icon indicating that this marker has no field associated with it'));
|
||||
});
|
||||
|
||||
it('renders an embeddable when opened', async () => {
|
||||
|
|
|
@ -45,20 +45,22 @@ describe('KeyUXMetrics', () => {
|
|||
};
|
||||
};
|
||||
|
||||
// Tests include the word "info" between the task and time to account for the rendered text coming from
|
||||
// the EuiIcon (tooltip) embedded within each stat description
|
||||
expect(
|
||||
getAllByText(checkText('Longest long task duration271 ms'))[0]
|
||||
getAllByText(checkText('Longest long task durationInfo271 ms'))[0]
|
||||
).toBeInTheDocument();
|
||||
expect(
|
||||
getAllByText(checkText('Total long tasks duration520 ms'))[0]
|
||||
getAllByText(checkText('Total long tasks durationInfo520 ms'))[0]
|
||||
).toBeInTheDocument();
|
||||
expect(
|
||||
getAllByText(checkText('No. of long tasks3'))[0]
|
||||
getAllByText(checkText('No. of long tasksInfo3'))[0]
|
||||
).toBeInTheDocument();
|
||||
expect(
|
||||
getAllByText(checkText('Total blocking time271 ms'))[0]
|
||||
getAllByText(checkText('Total blocking timeInfo271 ms'))[0]
|
||||
).toBeInTheDocument();
|
||||
expect(
|
||||
getAllByText(checkText('First contentful paint1.27 s'))[0]
|
||||
getAllByText(checkText('First contentful paintInfo1.27 s'))[0]
|
||||
).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
|
|
@ -1516,10 +1516,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@51.1.0":
|
||||
version "51.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-51.1.0.tgz#338b710ae7a819bb7c3b8e1916080610e0b8e691"
|
||||
integrity sha512-pjbBSkfDPAjXBRCMk4zsyZ3sPpf70XVcbOzr4BzT0MW38uKjEgEh6nu1aCdnOi+jVSHRtziJkX9rD8BRDWfsnw==
|
||||
"@elastic/eui@52.2.0":
|
||||
version "52.2.0"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-52.2.0.tgz#761101a29b96a4b5270ef93541dab7bb27f5ca50"
|
||||
integrity sha512-XboYerntCOTHWHYMWJGzJtu5JYO6pk5IWh0ZHJEQ4SEjmLbTV2bFrVBTO/8uaU7GhV9/RNIo7BU5wHRyYP7z1g==
|
||||
dependencies:
|
||||
"@types/chroma-js" "^2.0.0"
|
||||
"@types/lodash" "^4.14.160"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue