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-159374: Support MAS switch to Prosemirror RTE #3117

Merged
merged 10 commits into from
Nov 8, 2024

Conversation

yesil
Copy link
Contributor

@yesil yesil commented Oct 30, 2024

This PR updates the merch-card hydration logic from an AEM fragment, resolving the new markup for the different CTA styles.

Also added new tests, increased test coverage.

see: adobecom/mas#79 for more details.

Resolves:
MWPW-159374

Test URLs:

yesil added 2 commits October 30, 2024 14:01
to support all cta styles
organise code and code coverage

Update tests
Copy link
Contributor

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

@yesil yesil added run-nala Run Nala Test Automation against PR commerce labels Oct 30, 2024
Copy link
Contributor

aem-code-sync bot commented Oct 30, 2024

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

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

eslint

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/33e802c94dcde0eef896cc8b6d519baa8f4bc5db/libs/features/mas/web-components/src/variants/catalog.js


⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/33e802c94dcde0eef896cc8b6d519baa8f4bc5db/libs/features/mas/web-components/src/variants/ccd-action.js


⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/33e802c94dcde0eef896cc8b6d519baa8f4bc5db/libs/features/mas/web-components/src/variants/ccd-slice.js


⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/33e802c94dcde0eef896cc8b6d519baa8f4bc5db/libs/features/mas/web-components/src/variants/ccd-suggested.js


⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/33e802c94dcde0eef896cc8b6d519baa8f4bc5db/libs/features/mas/web-components/src/variants/special-offer.js


⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/33e802c94dcde0eef896cc8b6d519baa8f4bc5db/libs/features/mas/web-components/test/hydrate.test.js


⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/33e802c94dcde0eef896cc8b6d519baa8f4bc5db/libs/features/mas/web-components/test/mas.js

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link

codecov bot commented Oct 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.38%. Comparing base (f379815) to head (70bdaf9).
Report is 1 commits behind head on stage.

Additional details and impacted files
@@            Coverage Diff             @@
##            stage    #3117      +/-   ##
==========================================
+ Coverage   96.36%   96.38%   +0.01%     
==========================================
  Files         245      245              
  Lines       56529    56651     +122     
==========================================
+ Hits        54476    54601     +125     
+ Misses       2053     2050       -3     

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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

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.

@yesil yesil removed the run-nala Run Nala Test Automation against PR label Oct 31, 2024
Copy link
Contributor

github-actions bot commented Nov 5, 2024

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

@afmicka afmicka added verified PR has been E2E tested by a reviewer Ready for Stage labels Nov 5, 2024
@afmicka
Copy link
Contributor

afmicka commented Nov 5, 2024

@yesil I have verified the PR with the Ready for stage label but the failing coverage check needs to be fixed in order for PR to really be merged. Will be skipped otherwise

@milo-pr-merge
Copy link
Contributor

milo-pr-merge bot commented Nov 6, 2024

Skipped merging 3117: MWPW-159374: Support MAS switch to Prosemirror RTE due to failing checks

@milo-pr-merge
Copy link
Contributor

milo-pr-merge bot commented Nov 6, 2024

Skipped 3117: "MWPW-159374: Support MAS switch to Prosemirror RTE" due to file "libs/deps/mas/mas.js" overlap. Merging will be attempted in the next batch

1 similar comment
@milo-pr-merge
Copy link
Contributor

milo-pr-merge bot commented Nov 7, 2024

Skipped 3117: "MWPW-159374: Support MAS switch to Prosemirror RTE" due to file "libs/deps/mas/mas.js" overlap. Merging will be attempted in the next batch

@overmyheadandbody overmyheadandbody merged commit df454db into stage Nov 8, 2024
14 checks passed
@overmyheadandbody overmyheadandbody deleted the MWPW-159374 branch November 8, 2024 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commerce 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