fix(landing): align early intervention campaign header

This commit is contained in:
DeCentN2Madness committed 2026-10-25 12:38:03 -07:00
1 parent ce17728e0b
commit 356282f61c
5 files changed
+79 -34

No files matched your search

+8 -1
View File
@@ -150,7 +150,14 @@ test('early-intervention preserves its own publication identity and source secti
assert.equal($('#consultation button').attr('type'), 'button');
assert.ok($('#consultation-unavailable a[href="tel:+14806877099"]').length);
assert.equal($('img[src^="https:"]').length, 0);
assert.ok($('.early-header').length);
assert.equal($('.early-header').length, 0);
assert.equal($('.site-header').length, 1);
const campaign = html(pages[0]);
assert.equal($('.site-header__ribbon').text(), campaign('.site-header__ribbon').text());
assert.equal($('.site-header .brand img').attr('src'), campaign('.site-header .brand img').attr('src'));
assert.equal($('.site-header .header-phone').attr('href'), campaign('.site-header .header-phone').attr('href'));
assert.equal($('.site-header .button').text(), 'Request a Free Consultation');
assert.equal($('.site-header .button').attr('href'), '#consultation');
assert.equal($('.mobile-cta').length, 0);
});