Skip to content

Commit

Permalink
Add missing specs for close button SEO fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ain committed Mar 16, 2024
1 parent 80484f5 commit b4eab4f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/spec/smartbanner_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ describe('SmartBanner', function() {
const HTML_WITH_JQUERY_MOBILE_AND_META = `<!doctype html><html>${HEAD}<body class="ui-page">${SCRIPTS_JQUERY_MOBILE}</body></html>`;

const IOS_BODY = `<div class="smartbanner smartbanner--ios js_smartbanner">
<a href="javascript:void(0);" class="smartbanner__exit js_smartbanner__exit" aria-label="Close iOS Smart App Banner"></a>
<span class="smartbanner__exit js_smartbanner__exit" aria-label="Close iOS Smart App Banner"></span>
<div class="smartbanner__icon" style="background-image: url(icon--apple.jpg);"></div>
<div class="smartbanner__info">
<div>
Expand All @@ -196,7 +196,7 @@ describe('SmartBanner', function() {
</div>`;

const ANDROID_BODY = `<div class="smartbanner smartbanner--android js_smartbanner">
<a href="javascript:void(0);" class="smartbanner__exit js_smartbanner__exit" aria-label="Close Android Smart App Banner"></a>
<span class="smartbanner__exit js_smartbanner__exit" aria-label="Close Android Smart App Banner"></span>
<div class="smartbanner__icon" style="background-image: url(icon--google.jpg);"></div>
<div class="smartbanner__info">
<div>
Expand All @@ -209,7 +209,7 @@ describe('SmartBanner', function() {
</div>`;

const UNDEFINED_BODY = `<div class="smartbanner smartbanner--undefined js_smartbanner">
<a href="javascript:void(0);" class="smartbanner__exit js_smartbanner__exit" aria-label="Close Smart App Banner"></a>
<span class="smartbanner__exit js_smartbanner__exit" aria-label="Close Smart App Banner"></span>
<div class="smartbanner__icon" style="background-image: url(icon--apple.jpg);"></div>
<div class="smartbanner__info">
<div>
Expand All @@ -222,7 +222,7 @@ describe('SmartBanner', function() {
</div>`;

const ANDROID_CUSTOM_DESIGN_BODY = `<div class="smartbanner smartbanner--custom-design js_smartbanner">
<a href="javascript:void(0);" class="smartbanner__exit js_smartbanner__exit" aria-label="Close banner"></a>
<span class="smartbanner__exit js_smartbanner__exit" aria-label="Close banner"></span>
<div class="smartbanner__icon" style="background-image: url(icon--google.jpg);"></div>
<div class="smartbanner__info">
<div>
Expand Down

0 comments on commit b4eab4f

Please sign in to comment.