This story will allow a Field Marketer to save personalized version of a Fragment for targeting different audiences with personalized content. As defined today a page fragment is a portion of a page composed by a given display/layout/styles.
Given the user is able to modify the inline text and map the fields to an exiting content.
When users press save for the given fragment (section/table rows) and a popup windows proposes to save the fragment (check box - as in the mock up)
- a popup windows should also have the option to save the mapped content (as shown in the mockups)
- the new fragment is saved in the selected fragment collection including the mapped content configuration
- a full copy of the text should be stored as default (in case the text mapped has been deleted or the reference is invalid)
When the user maps the content of a fragment and the mapped content is missing
Then the default text value should be shown to the user (without warning)
|Test Scenarios||Test Strategy||Kind of test||Is it covered by FrontEnd ? (JS-Unit)||Is it covered by BackEnd ? (unit or integration)|
|The mapped text should also be saved with composition when check Save Mapping Configuration||Smoke||Manual||No||Yes, AddFragmentCompositionMVCActionCommandTest.testDoTransactionalCommand|
|The value of editable field should be reset in saved composition when uncheck Save Mapping Configuration||Sanity||Manual||No||No|
|The mapped image should also be saved when save a composition of fragments containing mapped image||Sanity||Manual||No||No|
|The value of editable field should be reset when the mapped content is missing||Regression||Manual||No||No|