From 451cd8d7705c7f5fbf655764382320ddf2a29ea3 Mon Sep 17 00:00:00 2001 From: Andres Rey Date: Sat, 8 Jul 2017 21:12:20 +0100 Subject: Import all the new test cases --- test/test-pages/webmd-2/source.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'test/test-pages/webmd-2/source.html') diff --git a/test/test-pages/webmd-2/source.html b/test/test-pages/webmd-2/source.html index 2378df5..d7b374b 100644 --- a/test/test-pages/webmd-2/source.html +++ b/test/test-pages/webmd-2/source.html @@ -617,7 +617,7 @@ /* Pulls the pub source out of the XML */ var pubSource = 'WebMD Medical News'; /* Runs through the different partners and sees if one of them exists in the pub source */ - for (var i = 0; i <= partnerNames.length - 1; i++) { + for (var i = 0; i <= partnerNames.length - 1; i++) { isThere = pubSource.search(partnerNames[i]); if (isThere != -1) { whichOne = i @@ -1074,14 +1074,14 @@ module.init({ selector: "#newsletter-mapping-center", template: { - successMsg: '

{email}
You will receive your first newsletter with our next scheduled circulation!

', - content: '' + '
\n' + '
\n' + '
{header}
\n' + '{preContent}' + '
\n' + '{preForm}' + '
\n' + '
{inputs}
\n' + '
' + "By clicking submit I agree to WebMD's Privacy Policy" + '
' + '
\n' + '\n' + // .email-container - '
\n' + // .input-container - '
\n' + 'Sign up for more topics!' + '{postForm}' + '
\n' + // .nls-content - '{postContent}' + '
', + successMsg: '<p class="success"><span>{email}</span><br //>You will receive your first newsletter with our next scheduled circulation!</p>', + content: '' + '<div class="newsletterFmt"></div>\n' + '<div class="wrapper">\n' + '<div class="nls-header">{header}</div>\n' + '{preContent}' + '<div class="nls-content">\n' + '{preForm}' + '<form class="nls-form" action="#" novalidate="novalidate">\n' + '<div class="validationWrapper"><div class="checkbox-container clearfix">{inputs}</div></div>\n' + '<div class="privacy-disclaimer">' + "<em>By clicking submit I agree to WebMD's <a href='http://www.webmd.com/about-webmd-policies/about-privacy-policy' target='_blank'>Privacy Policy</a></em>" + '</div>' + '<div class="input-container">\n' + '<div class="email-container validationWrapper">\n' + '<input type="email" class="nls-email" name="email" autocapitalize="off" autocorrect="off" placeholder="Enter email address" /> ' + '<button name="nl-submit" formnovalidate class="off {submitClass}" type="submit"><span>Submit</span></button>\n' + '<div class="clearfix"></div>' + '</div>\n' + // .email-container + '</div>\n' + // .input-container + '</form>\n' + '<a class="nl-link" href="https://member.webmd.com/newsletters/newsletters.aspx" onclick="return sl(this,"nw","nl-multie_s")">Sign up for more topics!</a>' + '{postForm}' + '</div>\n' + // .nls-content + '{postContent}' + '</div>', submitClass: 'webmd-btn webmd-btn-pr webmd-btn-s', - successHeader: '

Thank You For Signing Up.

', - promo: '
WebMD App

{text}

' + successHeader: '<h2>Thank You For Signing Up.</h2>', + promo: '<div class="promo"><div class="promo-content clearfix"><img src="{image}" alt="WebMD App" /><div class="promo-description"><p>{text}</p><p class="promoLink"><a href="{url}" class="webmd-btn webmd-btn-pr webmd-btn-m" onclick="wmdPageLink(\'nlupgrd_sub\')">{button}</a></p><div class="clearfix"></div></div></div></div>' } }); }); @@ -1203,7 +1203,7 @@ -- cgit v1.2.3