Skip to content
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-157887 [MEP] HTML elements like body need to be recognized and header simplified selector rename #2843

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

vgoodric
Copy link
Contributor

@vgoodric vgoodric commented Sep 5, 2024

Detailed Description: selectors involving html elements like body break because MEP is not aware of them.
Changing "header" simplified selector to "any-header" since pages always have a header tag.
................................
URL: https://main--cc--adobecom.hlx.page/drafts/mepdev/fragments/2024/q4/mepmorehtmlels/?mepHighlight=true
................................
Steps to Reproduce:

  1. Go to URL above

Expected Results: should be 2 items highlighted, the new marquee header and a div below the marquee
................................
Actual Results: no highlighted items because nothing is added

Resolves: MWPW-157887

Test URLs:

Also includes this approved PR to avoid conflicts: #2844

@vgoodric vgoodric requested a review from a team as a code owner September 5, 2024 17:47
Copy link
Contributor

aem-code-sync bot commented Sep 5, 2024

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

Copy link
Contributor

aem-code-sync bot commented Sep 5, 2024

Page Scores Audits Google
M /?martech=off PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
D /?martech=off PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@vgoodric vgoodric requested a review from a team September 5, 2024 17:48
Copy link

codecov bot commented Sep 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.08%. Comparing base (510f7a6) to head (e21c441).
Report is 5 commits behind head on stage.

Additional details and impacted files
@@            Coverage Diff             @@
##            stage    #2843      +/-   ##
==========================================
+ Coverage   95.87%   96.08%   +0.20%     
==========================================
  Files         173      215      +42     
  Lines       46333    53947    +7614     
==========================================
+ Hits        44421    51833    +7412     
- Misses       1912     2114     +202     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

github-actions bot commented Sep 6, 2024

Reminder to set the Ready for Stage label - to queue this to get merged to stage & production.

@vgoodric vgoodric added Ready for Stage verified PR has been E2E tested by a reviewer labels Sep 6, 2024
@milo-pr-merge milo-pr-merge bot merged commit 38beea9 into stage Sep 9, 2024
13 checks passed
@milo-pr-merge milo-pr-merge bot deleted the mepmorehtmlels branch September 9, 2024 16:09
@milo-pr-merge milo-pr-merge bot mentioned this pull request Sep 9, 2024
elan-tbx pushed a commit that referenced this pull request Sep 9, 2024
…eader simplified selector rename (#2843)

* add more html els and change header to any header

* MWPW-157686 [MEP] Cannot spoof an experience that exists in manifest but not in Target (#2844)

Fix preview bug

---------

Co-authored-by: Mark Perry <124626043+markpadbe@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready for Stage verified PR has been E2E tested by a reviewer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants