Skip to content

Commit

Permalink
adding snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusviniciusLsantos committed Nov 12, 2024
1 parent 647c300 commit 814fdc3
Show file tree
Hide file tree
Showing 6 changed files with 95 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`ChartDefaultFunnelBase.vue > matches the snapshot 1`] = `
"<section data-v-b3eefbe4="" class="unnnic-chart-funnel-base-container">
<section data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item">
<section data-v-b3eefbe4="" class="overflow-hidden w-60 first-item">
<section data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__card first-item" style="background-color: rgb(0, 119, 182);"></section>
</section>
<section data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text">
<section data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text__values">
<p data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text__values-title">90%</p>
<p data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text__values-sub-title"> &nbsp; | 900</p>
</section>
<p data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text-description">Viewed the landing page</p>
</section>
</section>
<section data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item">
<section data-v-b3eefbe4="" class="overflow-hidden w-50">
<section data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__card" style="background-color: rgb(0, 168, 232);"></section>
</section>
<section data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text">
<section data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text__values">
<p data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text__values-title">80%</p>
<p data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text__values-sub-title"> &nbsp; | 800</p>
</section>
<p data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text-description">Clicked on the CTA</p>
</section>
</section>
<section data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item">
<section data-v-b3eefbe4="" class="overflow-hidden w-40">
<section data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__card" style="background-color: rgb(0, 191, 255);"></section>
</section>
<section data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text">
<section data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text__values">
<p data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text__values-title">70%</p>
<p data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text__values-sub-title"> &nbsp; | 700</p>
</section>
<p data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text-description">Signed up for the trial</p>
</section>
</section>
<section data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item">
<section data-v-b3eefbe4="" class="overflow-hidden w-30">
<section data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__card" style="background-color: rgb(135, 206, 235);"></section>
</section>
<section data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text">
<section data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text__values">
<p data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text__values-title">60%</p>
<p data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text__values-sub-title"> &nbsp; | 600</p>
</section>
<p data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text-description">Completed the onboarding</p>
</section>
</section>
<section data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item">
<section data-v-b3eefbe4="" class="overflow-hidden w-20 last-item">
<section data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__card" style="background-color: rgb(173, 216, 230);"></section>
</section>
<section data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text last-item">
<section data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text__values">
<p data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text__values-title">50%</p>
<p data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text__values-sub-title"> &nbsp; | 500</p>
</section>
<p data-v-b3eefbe4="" class="unnnic-chart-funnel-base-item__text-description">Became a paying customer</p>
</section>
</section>
</section>"
`;
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`ChartFunnelBaseRow.vue > matches snapshot 1`] = `
"<svg data-v-38919cea="" class="unnnic-chart-funnel-base-rows" viewBox="0 0 100 150" fill="none" xmlns="http://www.w3.org/2000/svg">
<g data-v-38919cea="" class="unnnic-chart-funnel-base-rows__row">
<path data-v-38919cea="" class="row__path" d="M0 0 L100 0 L80 50 L20 50 Z"></path><text data-v-38919cea="" x="50%" y="20" class="row__title">100%</text><text data-v-38919cea="" x="50%" y="35" class="row__description">First Level</text>
</g>
<g data-v-38919cea="" class="unnnic-chart-funnel-base-rows__row">
<path data-v-38919cea="" class="row__path" d="M20 50 L80 50 L60 100 L40 100 Z"></path><text data-v-38919cea="" x="50%" y="70" class="row__title">75%</text><text data-v-38919cea="" x="50%" y="85" class="row__description">Second Level</text>
</g>
<g data-v-38919cea="" class="unnnic-chart-funnel-base-rows__row">
<path data-v-38919cea="" class="row__path" d="M40 100 L60 100 L50 150 L50 150 Z"></path><text data-v-38919cea="" x="50%" y="120" class="row__title">50%</text><text data-v-38919cea="" x="50%" y="135" class="row__description">Third Level</text>
</g>
</svg>"
`;
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`ChartFunnelFiveRows.vue > matches snapshot 1`] = `"<div class="chart-funnel-base-row unnnic-chart-funnel-five-rows"></div>"`;
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`ChartFunnelFourRows.vue > matches snapshot 1`] = `"<div class="chart-funnel-base-row unnnic-chart-funnel-four-rows"></div>"`;
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`ChartFunnelFourRows.vue > matches snapshot 1`] = `"<div class="chart-funnel-base-row unnnic-chart-funnel-three-rows"></div>"`;

exports[`ChartFunnelThreeRows.vue > matches snapshot 1`] = `"<div class="chart-funnel-base-row unnnic-chart-funnel-three-rows"></div>"`;
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`ChartFunnel.vue > matches snapshot 1`] = `"<chart-default-funnel-base-stub data="[object Object],[object Object],[object Object]"></chart-default-funnel-base-stub>"`;

0 comments on commit 814fdc3

Please sign in to comment.