Skip to content

Commit

Permalink
added snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
avinash-mane committed Jun 9, 2020
1 parent 9925ed3 commit f652b62
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,48 @@

exports[`Recognition Card Component test should equal snapshot 1`] = `
<DocumentFragment>
<div
class="sc-AxheI dPJEXg card"
.c1 {
width: 12vh;
}
.c3 {
border: 1px solid lightgrey;
border-radius: 11px;
opacity: 1;
margin-left: 5%;
margin-right: 5%;
}
.c4 {
width: auto;
margin-left: 10%;
}
.c5 {
width: 7vh;
margin-right: 5%;
}
.c2 {
border-radius: 20px;
overflow: hidden;
}
.c6 {
position: absolute;
bottom: 50px;
}
.c0 {
border-radius: 20px;
margin: 20px 20px;
box-shadow: 0px 5px 20px #505c623b;
opacity: 1;
background: #ffffff 0% 0% no-repeat padding-box;
}
<div
class="c0 card"
>
<div
class="card-body"
Expand All @@ -29,7 +69,7 @@ exports[`Recognition Card Component test should equal snapshot 1`] = `
class="d-flex flex-row"
>
<div
class="sc-AxjAm fxHfgf"
class="c1"
>
<img
alt="Profile"
Expand Down Expand Up @@ -67,15 +107,15 @@ exports[`Recognition Card Component test should equal snapshot 1`] = `
</div>
<img
alt="Core value"
class="sc-AxhUy kJQIQs d-sm-block d-md-none mt-2 img-fluid"
class="c2 d-sm-block d-md-none mt-2 img-fluid"
src="https://i.picsum.photos/id/654/300/200.jpg"
/>
<div>
<fieldset
class="sc-AxirZ ezZqni"
class="c3"
>
<legend
class="sc-AxiKw bKVdiB"
class="c4"
>
</legend>
Expand All @@ -95,7 +135,7 @@ exports[`Recognition Card Component test should equal snapshot 1`] = `
</label>
<img
alt="Profile"
class="sc-AxhCb gqtipY img-fluid rounded-circle"
class="c5 img-fluid rounded-circle"
src="https://i.picsum.photos/id/2/200/200.jpg"
/>
</div>
Expand All @@ -107,7 +147,7 @@ exports[`Recognition Card Component test should equal snapshot 1`] = `
<div>
<img
alt="Core value"
class="sc-AxhUy kJQIQs mt-2 img-fluid"
class="c2 mt-2 img-fluid"
src="https://i.picsum.photos/id/654/300/200.jpg"
/>
</div>
Expand All @@ -130,7 +170,7 @@ exports[`Recognition Card Component test should equal snapshot 1`] = `
</div>
</div>
<div
class="sc-AxgMl dPZjCr"
class="c6"
>
<img
alt="High five recognition"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

exports[`Recognition card header Component test should equal snapshot 1`] = `
<DocumentFragment>
<div>
.c0 {
width: 12vh;
}
<div>
<div
class="d-flex justify-content-end"
>
Expand All @@ -17,7 +21,7 @@ exports[`Recognition card header Component test should equal snapshot 1`] = `
class="d-flex flex-row"
>
<div
class="sc-AxjAm fxHfgf"
class="c0"
>
<img
alt="Profile"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@

exports[`Recognition list Component test should equal snapshot 1`] = `
<DocumentFragment>
<div
class="sc-Axmtr cRMTYu"
.c0 {
border: 1px solid lightgrey;
background: #ffffff 0% 0% no-repeat padding-box;
border-radius: 36px;
opacity: 1;
}
<div
class="c0"
/>
</DocumentFragment>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,30 @@

exports[`Recognition text Component test should equal snapshot 1`] = `
<DocumentFragment>
<div>
.c0 {
border: 1px solid lightgrey;
border-radius: 11px;
opacity: 1;
margin-left: 5%;
margin-right: 5%;
}
.c1 {
width: auto;
margin-left: 10%;
}
.c2 {
width: 7vh;
margin-right: 5%;
}
<div>
<fieldset
class="sc-AxjAm cQYgKB"
class="c0"
>
<legend
class="sc-AxirZ htcJuF"
class="c1"
>
</legend>
Expand All @@ -27,7 +45,7 @@ exports[`Recognition text Component test should equal snapshot 1`] = `
</label>
<img
alt="Profile"
class="sc-AxiKw ilpYXo img-fluid rounded-circle"
class="c2 img-fluid rounded-circle"
src="https://i.picsum.photos/id/2/200/200.jpg"
/>
</div>
Expand Down

0 comments on commit f652b62

Please sign in to comment.