Skip to content

Commit

Permalink
add to unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
vgoodric committed Oct 17, 2024
1 parent a4b42ec commit cf40dbf
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
8 changes: 8 additions & 0 deletions test/features/personalization/actions.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,14 @@ describe('custom actions', async () => {
pageFilter: '',
selectorType: 'in-block:',
},
'https://main--federal--adobecom.hlx.page/federal/fragments/new-sub-menu': {
action: 'replace',
pageFilter: '',
content: 'https://main--federal--adobecom.hlx.page/federal/fragments/even-more-new-sub-menu',
selectorType: 'in-block:',
manifestId: false,
targetManifestId: false,
},
},
},
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"firefox": "",
"android": "",
"ios": ""
}, {
},
{
"action": "replace",
"selector": "in-block:my-block /fragments/new-sub-menu",
"page filter (optional)": "",
Expand All @@ -45,6 +46,17 @@
"firefox": "",
"android": "",
"ios": ""
},
{
"action": "replace",
"selector": "in-block:my-block /federal/fragments/new-sub-menu",
"page filter (optional)": "",
"param-newoffer=123": "",
"chrome": "/federal/fragments/even-more-new-sub-menu",
"target-var1": "/federal/fragments/even-more-new-sub-menu",
"firefox": "",
"android": "",
"ios": ""
}
],
":type": "sheet"
Expand Down

0 comments on commit cf40dbf

Please sign in to comment.