Skip to content

Commit

Permalink
Updated Snapshot Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldong51 committed Sep 5, 2024
1 parent 0ddc9bb commit 857755a
Show file tree
Hide file tree
Showing 15 changed files with 358 additions and 162 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ exports[`<ContentPanel /> spec renders the component 1`] = `
<div
class="euiFlexItem"
>
<h3
class="euiTitle euiTitle--large"
<div
class="euiText euiText--small"
>
Testing
</h3>
<h2>
Testing
</h2>
</div>
</div>
<div
class="euiFlexItem euiFlexItem--flexGrowZero"
Expand Down Expand Up @@ -57,11 +59,13 @@ exports[`<ContentPanel /> spec renders with empty actions 1`] = `
<div
class="euiFlexItem"
>
<h3
class="euiTitle euiTitle--large"
<div
class="euiText euiText--small"
>
Testing
</h3>
<h2>
Testing
</h2>
</div>
</div>
</div>
<hr
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ exports[`<ChannelDetails/> spec handles a non-existing channel 1`] = `
<div
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<h1
class="euiTitle euiTitle--large"
<div
class="euiText euiText--small"
>
-
</h1>
<h1>
-
</h1>
</div>
</div>
<div
class="euiFlexItem euiFlexItem--flexGrowZero"
Expand Down Expand Up @@ -55,11 +57,13 @@ exports[`<ChannelDetails/> spec handles a non-existing channel 1`] = `
<div
class="euiFlexItem"
>
<h3
class="euiTitle euiTitle--small"
<div
class="euiText euiText--small"
>
Name and description
</h3>
<h2>
Name and description
</h2>
</div>
</div>
</div>
<hr
Expand Down Expand Up @@ -153,11 +157,13 @@ exports[`<ChannelDetails/> spec handles a non-existing channel 1`] = `
<div
class="euiFlexItem"
>
<h3
class="euiTitle euiTitle--small"
<div
class="euiText euiText--small"
>
Configurations
</h3>
<h2>
Configurations
</h2>
</div>
</div>
</div>
<hr
Expand Down Expand Up @@ -185,11 +191,13 @@ exports[`<ChannelDetails/> spec renders a specific channel 1`] = `
<div
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<h1
class="euiTitle euiTitle--large"
<div
class="euiText euiText--small"
>
-
</h1>
<h1>
-
</h1>
</div>
</div>
<div
class="euiFlexItem euiFlexItem--flexGrowZero"
Expand Down Expand Up @@ -225,11 +233,13 @@ exports[`<ChannelDetails/> spec renders a specific channel 1`] = `
<div
class="euiFlexItem"
>
<h3
class="euiTitle euiTitle--small"
<div
class="euiText euiText--small"
>
Name and description
</h3>
<h2>
Name and description
</h2>
</div>
</div>
</div>
<hr
Expand Down Expand Up @@ -323,11 +333,13 @@ exports[`<ChannelDetails/> spec renders a specific channel 1`] = `
<div
class="euiFlexItem"
>
<h3
class="euiTitle euiTitle--small"
<div
class="euiText euiText--small"
>
Configurations
</h3>
<h2>
Configurations
</h2>
</div>
</div>
</div>
<hr
Expand All @@ -354,11 +366,13 @@ exports[`<ChannelDetails/> spec renders the component 1`] = `
<div
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<h1
class="euiTitle euiTitle--large"
<div
class="euiText euiText--small"
>
-
</h1>
<h1>
-
</h1>
</div>
</div>
<div
class="euiFlexItem euiFlexItem--flexGrowZero"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,18 @@ exports[`<Channels/> spec renders the empty component 1`] = `
<div
class="euiFlexItem"
>
<h3
class="euiTitle euiTitle--medium"
<div
class="euiText euiText--small"
>
Channels
<span
style="color: rgb(159, 159, 159); font-weight: 300;"
>
(0)
</span>
</h3>
<h2>
Channels
<span
style="color: rgb(159, 159, 159); font-weight: 300;"
>
(0)
</span>
</h2>
</div>
</div>
<div
class="euiFlexItem euiFlexItem--flexGrowZero"
Expand Down Expand Up @@ -490,11 +492,13 @@ exports[`<Channels/> spec renders the empty component 1`] = `
<div
class="euiEmptyPrompt"
>
<h2
class="euiTitle euiTitle--medium"
<div
class="euiText euiText--small euiTitle euiTitle--medium"
>
No channels to display
</h2>
<h2>
No channels to display
</h2>
</div>
<span
class="euiTextColor euiTextColor--subdued"
>
Expand All @@ -504,7 +508,11 @@ exports[`<Channels/> spec renders the empty component 1`] = `
<div
class="euiText euiText--medium"
>
To send or receive notifications, you will need to create a notification channel.
<div
class="euiText euiText--small"
>
"To send or receive notifications, you will need to create a notification channel."
</div>
</div>
</span>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,13 @@ exports[`<DetailsListModal /> spec renders the component 1`] = `
<div
class="euiModalHeader__title"
>
test header
<div
class="euiText euiText--small"
>
<h2>
test header
</h2>
</div>
</div>
</div>
<div
Expand Down Expand Up @@ -313,7 +319,13 @@ exports[`<DetailsListModal /> spec renders the component 1`] = `
<div
class="euiModalHeader__title"
>
test header
<div
class="euiText euiText--small"
>
<h2>
test header
</h2>
</div>
</div>
</div>
<div
Expand Down Expand Up @@ -476,7 +488,13 @@ exports[`<DetailsListModal /> spec renders the component 1`] = `
<div
class="euiModalHeader__title"
>
test header
<div
class="euiText euiText--small"
>
<h2>
test header
</h2>
</div>
</div>
</div>
<div
Expand Down Expand Up @@ -639,7 +657,13 @@ exports[`<DetailsListModal /> spec renders the component 1`] = `
<div
class="euiModalHeader__title"
>
test header
<div
class="euiText euiText--small"
>
<h2>
test header
</h2>
</div>
</div>
</div>
<div
Expand Down Expand Up @@ -790,7 +814,13 @@ exports[`<DetailsListModal /> spec renders the component 1`] = `
<div
class="euiModalHeader__title"
>
test header
<div
class="euiText euiText--small"
>
<h2>
test header
</h2>
</div>
</div>
</div>
<div
Expand Down Expand Up @@ -995,7 +1025,17 @@ exports[`<DetailsListModal /> spec renders the component 1`] = `
<div
className="euiModalHeader__title"
>
test header
<EuiText
size="s"
>
<div
className="euiText euiText--small"
>
<h2>
test header
</h2>
</div>
</EuiText>
</div>
</EuiModalHeaderTitle>
</div>
Expand Down
Loading

0 comments on commit 857755a

Please sign in to comment.