-
Notifications
You must be signed in to change notification settings - Fork 169
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-157506: Localized Placeholder Texts on English Pages #3177
base: stage
Are you sure you want to change the base?
Conversation
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## stage #3177 +/- ##
=======================================
Coverage 96.38% 96.38%
=======================================
Files 245 245
Lines 56651 56689 +38
=======================================
+ Hits 54601 54641 +40
+ Misses 2050 2048 -2 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This "after" page 404s for me: https://mwpw-157506--milo--adobecom.hlx.page/drafts/siva/157506/placeholder-example
CC before/after checks out:
axe unnecessary regex in test.
|
||
it('Replaces geo-specific placeholders when disable-geo-placeholders meta content is "off" or meta tag not defined', async () => { | ||
config.locale.contentRoot = '/test/features/placeholders/bg'; | ||
const regex = /{{(.*?)}}|%7B%7B(.*?)%7D%7D/g; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixme: regex like this in a test caught my eye luckily it's unnecessary because it's already default parameter in replaceText
(107)
disable-geo-placeholders
meta tag."off"
, the application receives geo-specific placeholders. If the tag is set to"on"
, it defaults to generic placeholders.Resolves: MWPW-157506
GH: https://github.com/orgs/adobecom/discussions/2791
Test URLs:
Milo
CC