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-160058: Fixes tag matching case logic #3098

Merged
merged 68 commits into from
Nov 4, 2024
Merged

MWPW-160058: Fixes tag matching case logic #3098

merged 68 commits into from
Nov 4, 2024

Conversation

cmiqueo
Copy link
Contributor

@cmiqueo cmiqueo commented Oct 28, 2024

The problem:

Right now, the milo send-utils.js script compares the tags from adobe.com with the tags in the page.

But before comparing the tags it "lower-cases" ONLY the tags from adobe.com and not the ones from the page:

Proposed solution:

Lower case both set of tag values before comparing them.

Resolves: MWPW-160058

Test URLs:

@mokimo
This is a (fairly large and complex) utilities file that was created long time ago and it does not have any test coverage. We are planing on creating a story to add a full code coverage to all the functionalities in the file, but we should not hold up any small incremental improvements.

Copy link
Contributor

aem-code-sync bot commented Oct 28, 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 Oct 28, 2024

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

Copy link

codecov bot commented Oct 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.34%. Comparing base (c61c4d6) to head (c06c081).
Report is 36 commits behind head on stage.

Additional details and impacted files
@@            Coverage Diff             @@
##            stage    #3098      +/-   ##
==========================================
- Coverage   96.43%   96.34%   -0.09%     
==========================================
  Files         245      245              
  Lines       55746    56317     +571     
==========================================
+ Hits        53757    54258     +501     
- Misses       1989     2059      +70     

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

@cmiqueo cmiqueo changed the title Mwpw 160058 MWPW-160058: Fixes tag matching case logic Oct 28, 2024
@cmiqueo cmiqueo added trivial PR doesn't require E2E testing by a reviewer caas-configurator CaaS Configurator CaaS CaaS related code labels Oct 28, 2024
@cmiqueo cmiqueo requested a review from gmirijan October 28, 2024 18:55
Copy link
Contributor

This pull request is not passing all required checks. Please see this discussion for information on how to get all checks passing. Inconsistent checks can be manually retried. If a test absolutely can not pass for a good reason, please add a comment with an explanation to the PR.

@cmiqueo
Copy link
Contributor Author

cmiqueo commented Oct 30, 2024

This pull request is not passing all required checks. Please see this discussion for information on how to get all checks passing. Inconsistent checks can be manually retried. If a test absolutely can not pass for a good reason, please add a comment with an explanation to the PR.

@mokimo
This is a (fairly large and complex) utilities file that was created long time ago and it does not have any test coverage. We are planing on creating a story to add a full code coverage to all the functionalities in the file, but we should not hold up any small incremental improvements.

@milo-pr-merge
Copy link
Contributor

milo-pr-merge bot commented Oct 30, 2024

Skipped merging 3098: MWPW-160058: Fixes tag matching case logic due to failing checks

@mokimo
Copy link
Contributor

mokimo commented Oct 31, 2024

You could ignore the coverage for thsi line https://github.com/bcoe/c8/blob/main/README.md
Other than that, someone (likely me) would have to manually merge this, but I have to hit the time where a batch isn't tested so that's more un-predictable and takes a bit longer!

@milo-pr-merge
Copy link
Contributor

milo-pr-merge bot commented Oct 31, 2024

Skipped merging 3098: MWPW-160058: Fixes tag matching case logic due to failing checks

@milo-pr-merge milo-pr-merge bot merged commit 706af4e into stage Nov 4, 2024
14 checks passed
@milo-pr-merge milo-pr-merge bot deleted the MWPW-160058 branch November 4, 2024 17:50
@milo-pr-merge milo-pr-merge bot mentioned this pull request Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CaaS CaaS related code caas-configurator CaaS Configurator Ready for Stage trivial PR doesn't require E2E testing by a reviewer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants