Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Update test snapshots #44

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,13 @@ exports[`<EmptyDetector /> spec Empty results renders component with empty messa
>
Get started with Anomaly detection  
<svg
class="euiIcon euiIcon--small"
class="euiIcon euiIcon--small euiIcon-isLoading"
focusable="false"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M2 14.01h12.49a.5.5 0 1 1 0 1h-13a.5.5 0 0 1-.49-.597V1.5a.5.5 0 0 1 1 0v12.51zm2.354-1.656a.5.5 0 0 1-.708-.708l8-8a.5.5 0 0 1 .708.708l-8 8zM15 5.5a.5.5 0 1 1-1 0v-3a.5.5 0 0 0-.5-.5h-3a.5.5 0 1 1 0-1h3A1.5 1.5 0 0 1 15 2.5v3z"
fill-rule="evenodd"
/>
</svg>
/>
</a>

</p>
Expand All @@ -62,6 +57,7 @@ exports[`<EmptyDetector /> spec Empty results renders component with empty messa
class="euiButton euiButton--primary euiButton--fill"
data-test-subj="add_detector"
href="opendistro-anomaly-detection#/create-ad/"
rel="noreferrer"
>
<span
class="euiButton__content"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,19 @@

exports[`<ConfirmModal /> spec Confirm Modal renders component with callout 1`] = `
<div>
<div>
<div
data-focus-guard="true"
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
tabindex="0"
/>
<div
data-focus-guard="true"
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
tabindex="1"
/>
<div
data-focus-lock-disabled="false"
>
<div
class="euiModal euiModal--maxWidth-default"
tabindex="0"
Expand All @@ -14,17 +26,13 @@ exports[`<ConfirmModal /> spec Confirm Modal renders component with callout 1`]
>
<svg
aria-hidden="true"
class="euiIcon euiIcon--medium euiButtonIcon__icon"
class="euiIcon euiIcon--medium euiIcon-isLoading euiButtonIcon__icon"
focusable="false"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M7.293 8L3.146 3.854a.5.5 0 1 1 .708-.708L8 7.293l4.146-4.147a.5.5 0 0 1 .708.708L8.707 8l4.147 4.146a.5.5 0 0 1-.708.708L8 8.707l-4.146 4.147a.5.5 0 0 1-.708-.708L7.293 8z"
/>
</svg>
/>
</button>
<div
class="euiModal__flex"
Expand All @@ -43,22 +51,26 @@ exports[`<ConfirmModal /> spec Confirm Modal renders component with callout 1`]
style="padding-left: 24px; padding-right: 24px;"
>
<div
class="euiFlexGroup euiFlexGroup--gutterLarge euiFlexGroup--directionColumn euiFlexGroup--responsive"
class="euiModalBody__overflow"
>
<div
class="euiFlexItem euiFlexItem--flexGrowZero"
>
test callout
</div>
<div
class="euiFlexItem euiFlexItem--flexGrowZero"
class="euiFlexGroup euiFlexGroup--gutterLarge euiFlexGroup--directionColumn euiFlexGroup--responsive"
>
<div
class="euiText euiText--medium"
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<p>
this is a testing description
</p>
test callout
</div>
<div
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<div
class="euiText euiText--medium"
>
<p>
this is a testing description
</p>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -96,12 +108,29 @@ exports[`<ConfirmModal /> spec Confirm Modal renders component with callout 1`]
</div>
</div>
</div>
<div
data-focus-guard="true"
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
tabindex="0"
/>
</div>
`;

exports[`<ConfirmModal /> spec Confirm Modal renders component with empty callout 1`] = `
<div>
<div>
<div
data-focus-guard="true"
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
tabindex="0"
/>
<div
data-focus-guard="true"
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
tabindex="1"
/>
<div
data-focus-lock-disabled="false"
>
<div
class="euiModal euiModal--maxWidth-default"
tabindex="0"
Expand All @@ -113,17 +142,13 @@ exports[`<ConfirmModal /> spec Confirm Modal renders component with empty callou
>
<svg
aria-hidden="true"
class="euiIcon euiIcon--medium euiButtonIcon__icon"
class="euiIcon euiIcon--medium euiIcon-isLoading euiButtonIcon__icon"
focusable="false"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M7.293 8L3.146 3.854a.5.5 0 1 1 .708-.708L8 7.293l4.146-4.147a.5.5 0 0 1 .708.708L8.707 8l4.147 4.146a.5.5 0 0 1-.708.708L8 8.707l-4.146 4.147a.5.5 0 0 1-.708-.708L7.293 8z"
/>
</svg>
/>
</button>
<div
class="euiModal__flex"
Expand All @@ -142,17 +167,21 @@ exports[`<ConfirmModal /> spec Confirm Modal renders component with empty callou
style="padding-left: 24px; padding-right: 24px;"
>
<div
class="euiFlexGroup euiFlexGroup--gutterLarge euiFlexGroup--directionColumn euiFlexGroup--responsive"
class="euiModalBody__overflow"
>
<div
class="euiFlexItem euiFlexItem--flexGrowZero"
class="euiFlexGroup euiFlexGroup--gutterLarge euiFlexGroup--directionColumn euiFlexGroup--responsive"
>
<div
class="euiText euiText--medium"
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<p>
this is a testing description
</p>
<div
class="euiText euiText--medium"
>
<p>
this is a testing description
</p>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -190,5 +219,10 @@ exports[`<ConfirmModal /> spec Confirm Modal renders component with empty callou
</div>
</div>
</div>
<div
data-focus-guard="true"
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
tabindex="0"
/>
</div>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,13 @@ exports[`<DetectorControls /> spec Detector Controls renders detector controls w
>
<svg
aria-hidden="true"
class="euiIcon euiIcon--medium euiButton__icon"
class="euiIcon euiIcon--medium euiIcon-isLoading euiButton__icon"
focusable="false"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
>
<defs>
<path
d="M13.069 5.157L8.384 9.768a.546.546 0 0 1-.768 0L2.93 5.158a.552.552 0 0 0-.771 0 .53.53 0 0 0 0 .759l4.684 4.61c.641.631 1.672.63 2.312 0l4.684-4.61a.53.53 0 0 0 0-.76.552.552 0 0 0-.771 0z"
id="arrow_down-a"
/>
</defs>
<use
fill-rule="nonzero"
xlink:href="#arrow_down-a"
/>
</svg>
/>
<span
class="euiButton__text"
>
Expand All @@ -68,17 +56,13 @@ exports[`<DetectorControls /> spec Detector Controls renders detector controls w
>
<svg
aria-hidden="true"
class="euiIcon euiIcon--medium euiButton__icon"
class="euiIcon euiIcon--medium euiIcon-isLoading euiButton__icon"
focusable="false"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M4.608 3.063C4.345 2.895 4 3.089 4 3.418v9.167c0 .329.345.523.608.356l7.2-4.584a.426.426 0 0 0 0-.711l-7.2-4.583zm.538-.844l7.2 4.583a1.426 1.426 0 0 1 0 2.399l-7.2 4.583C4.21 14.38 3 13.696 3 12.585V3.418C3 2.307 4.21 1.624 5.146 2.22z"
/>
</svg>
/>
<span
class="euiButton__text"
>
Expand Down Expand Up @@ -116,25 +100,13 @@ exports[`<DetectorControls /> spec Detector Controls renders detector controls w
>
<svg
aria-hidden="true"
class="euiIcon euiIcon--medium euiButton__icon"
class="euiIcon euiIcon--medium euiIcon-isLoading euiButton__icon"
focusable="false"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
>
<defs>
<path
d="M13.069 5.157L8.384 9.768a.546.546 0 0 1-.768 0L2.93 5.158a.552.552 0 0 0-.771 0 .53.53 0 0 0 0 .759l4.684 4.61c.641.631 1.672.63 2.312 0l4.684-4.61a.53.53 0 0 0 0-.76.552.552 0 0 0-.771 0z"
id="arrow_down-a"
/>
</defs>
<use
fill-rule="nonzero"
xlink:href="#arrow_down-a"
/>
</svg>
/>
<span
class="euiButton__text"
>
Expand All @@ -158,17 +130,13 @@ exports[`<DetectorControls /> spec Detector Controls renders detector controls w
>
<svg
aria-hidden="true"
class="euiIcon euiIcon--medium euiButton__icon"
class="euiIcon euiIcon--medium euiIcon-isLoading euiButton__icon"
focusable="false"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M4.608 3.063C4.345 2.895 4 3.089 4 3.418v9.167c0 .329.345.523.608.356l7.2-4.584a.426.426 0 0 0 0-.711l-7.2-4.583zm.538-.844l7.2 4.583a1.426 1.426 0 0 1 0 2.399l-7.2 4.583C4.21 14.38 3 13.696 3 12.585V3.418C3 2.307 4.21 1.624 5.146 2.22z"
/>
</svg>
/>
<span
class="euiButton__text"
>
Expand Down Expand Up @@ -206,25 +174,13 @@ exports[`<DetectorControls /> spec Detector Controls renders detector controls w
>
<svg
aria-hidden="true"
class="euiIcon euiIcon--medium euiButton__icon"
class="euiIcon euiIcon--medium euiIcon-isLoading euiButton__icon"
focusable="false"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
>
<defs>
<path
d="M13.069 5.157L8.384 9.768a.546.546 0 0 1-.768 0L2.93 5.158a.552.552 0 0 0-.771 0 .53.53 0 0 0 0 .759l4.684 4.61c.641.631 1.672.63 2.312 0l4.684-4.61a.53.53 0 0 0 0-.76.552.552 0 0 0-.771 0z"
id="arrow_down-a"
/>
</defs>
<use
fill-rule="nonzero"
xlink:href="#arrow_down-a"
/>
</svg>
/>
<span
class="euiButton__text"
>
Expand All @@ -249,18 +205,13 @@ exports[`<DetectorControls /> spec Detector Controls renders detector controls w
>
<svg
aria-hidden="true"
class="euiIcon euiIcon--medium euiButton__icon"
class="euiIcon euiIcon--medium euiIcon-isLoading euiButton__icon"
focusable="false"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M4 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H4z"
fill-rule="evenodd"
/>
</svg>
/>
<span
class="euiButton__text"
>
Expand Down Expand Up @@ -298,25 +249,13 @@ exports[`<DetectorControls /> spec Detector Controls renders detector controls w
>
<svg
aria-hidden="true"
class="euiIcon euiIcon--medium euiButton__icon"
class="euiIcon euiIcon--medium euiIcon-isLoading euiButton__icon"
focusable="false"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
>
<defs>
<path
d="M13.069 5.157L8.384 9.768a.546.546 0 0 1-.768 0L2.93 5.158a.552.552 0 0 0-.771 0 .53.53 0 0 0 0 .759l4.684 4.61c.641.631 1.672.63 2.312 0l4.684-4.61a.53.53 0 0 0 0-.76.552.552 0 0 0-.771 0z"
id="arrow_down-a"
/>
</defs>
<use
fill-rule="nonzero"
xlink:href="#arrow_down-a"
/>
</svg>
/>
<span
class="euiButton__text"
>
Expand All @@ -340,18 +279,13 @@ exports[`<DetectorControls /> spec Detector Controls renders detector controls w
>
<svg
aria-hidden="true"
class="euiIcon euiIcon--medium euiButton__icon"
class="euiIcon euiIcon--medium euiIcon-isLoading euiButton__icon"
focusable="false"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M4 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H4z"
fill-rule="evenodd"
/>
</svg>
/>
<span
class="euiButton__text"
>
Expand Down
Loading