Skip to content

Commit

Permalink
hiding contents of es-note in percy because it's random
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed Jul 6, 2019
1 parent e3f098c commit 311c5fb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addon/templates/components/es-note.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="cta-note">
<div class="cta-note-body">
<div class="cta-note-heading">{{nameTitle}}</div>
<div class="cta-note-heading hide-in-percy">{{nameTitle}}</div>
<div class="cta-note-message">
{{#if hasBlock}}
{{yield}}
Expand All @@ -9,5 +9,5 @@
{{/if}}
</div>
</div>
<img src={{imageUrl}} role="presentation" alt="Ember Mascot">
<img src={{imageUrl}} role="presentation" alt="Ember Mascot" class="hide-in-percy">
</div>
6 changes: 6 additions & 0 deletions tests/dummy/app/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@
.self-executing-code-block {
margin-bottom: 2rem;
}

@media only percy {
.hide-in-percy {
visibility: hidden;
}
}

0 comments on commit 311c5fb

Please sign in to comment.