generated from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MWPW-158652 [MEP] Only output non fatal errors to internal users and …
…skip rows missing an action value (#2941) * Add previewLog * Add another log * Add warn * Remove unecessary log * Update tests * Update warn log * Add code coverage for empty action * Remove commented code
- Loading branch information
Showing
4 changed files
with
61 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
const mepSettings = { | ||
mepParam: false, | ||
mepHighlight: false, | ||
mepButton: 'on', | ||
pzn: '/path/to/manifest.json', | ||
promo: false, | ||
target: false, | ||
}; | ||
|
||
export default mepSettings; |
19 changes: 19 additions & 0 deletions
19
test/features/personalization/mocks/manifestEmptyAction.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"total": 5, | ||
"offset": 0, | ||
"limit": 5, | ||
"data": [ | ||
{ | ||
"action": "", | ||
"selector": "", | ||
"page filter (optional)": "", | ||
"param-newoffer=123": "", | ||
"chrome": "/test/features/personalization/mocks/myblock", | ||
"target-var1": "/test/features/personalization/mocks/myblock", | ||
"firefox": "", | ||
"android": "", | ||
"ios": "" | ||
} | ||
], | ||
":type": "sheet" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters