-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MWPW-157783 [MEP] Primary and Secondary CTA simplified selectors do not work well with hero-marquee block #2830
Conversation
Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
|
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## stage #2830 +/- ##
==========================================
+ Coverage 95.89% 96.08% +0.19%
==========================================
Files 173 215 +42
Lines 46316 53945 +7629
==========================================
+ Hits 44415 51834 +7419
- Misses 1901 2111 +210 ☔ View full report in Codecov by Sentry. |
…ors (#2832) * mepanymarquee * add header * fix unit test
…ot work well with hero-marquee block (#2830) * Make action-area more flexible * unit test update * also update other new css selectors * get rid of parent in selector * unit test update * MWPW-157785 [MEP] Create "any-marquee" and "header" simplified selectors (#2832) * mepanymarquee * add header * fix unit test
The new primary-cta and secondary-cta MEP simplified selectors do not work on hero-marquees because there is no paragraph around the buttons
Update CSS selector to also be able to catch divs
Resolves: MWPW-157783
QA instructions: We want the selectors to start working in hero-marquees but continue to work in regular marquees. To make it more obvious the content is updated, I changed the buttons to use the word new.
Test URLs:
Hero Marquee:
Before: https://main--cc--adobecom.hlx.page/drafts/mepdev/fragments/2024/q4/mepactionarea/marquee?martech=off&mep=%2Fdrafts%2Fmepdev%2Ffragments%2F2024%2Fq4%2Fmepactionarea%2Fmarquee.json--primary+and+secondary
After: https://main--cc--adobecom.hlx.page/drafts/mepdev/fragments/2024/q4/mepactionarea/marquee?martech=off&mep=%2Fdrafts%2Fmepdev%2Ffragments%2F2024%2Fq4%2Fmepactionarea%2Fmarquee.json--primary+and+secondary&milolibs=mepactionarea
Marquee:
Before: https://main--cc--adobecom.hlx.page/drafts/mepdev/fragments/2024/q4/mepactionarea/max-lr-hero-option?martech=off&mep=%2Fdrafts%2Fmepdev%2Ffragments%2F2024%2Fq4%2Fmepactionarea%2Fmax-lr-hero-option.json--primary+and+secondary
After: https://main--cc--adobecom.hlx.page/drafts/mepdev/fragments/2024/q4/mepactionarea/max-lr-hero-option?milolibs=mepactionarea&martech=off&mep=%2Fdrafts%2Fmepdev%2Ffragments%2F2024%2Fq4%2Fmepactionarea%2Fmax-lr-hero-option.json--primary+and+secondary
Psi-check: https://mepactionarea--milo--adobecom.hlx.page/?martech=off
Also includes this approved PR: #2832