Details
-
Technical Testing
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Context
We have identified cases where in modal selector you have no elements to be added and need to leave the flow to create the element first. We should provide a better experience for these cases. FR linked.
Requirements
No Page template Sets Created:
- After trying to create a page template from the page editor, a moda appears: "Add page template set".
- After saving, a success alert appear with a message: "Success: The page template was created successfully. You can find it here." This last link, redirect to the page template administrator.
- The name of the new page template will be predefined as: "[Page to convert name]-template", "[Page to convert name]-template 2", etc.
Page template Sets Created:
- After trying to create a page template from the page editor, a moda appears: "Select page template set". This modal allows the user to save the template in an existing set or save it in a new one.
- Select existing set: Use the selector, select an existing set and save.
- After saving, a success alert appear with a message: "Success: The page template was created successfully. You can find it here." This last link, redirect to the page template administrator.
- The name of the new page template sill be predefined as: "[Page to convert name]-Page template", "[Page to convert name]-Page template 2", etc.
- Save template in a new set: Click button "Save in new set". then a modal appears : "Add page template set"-Save.
- After saving, a success alert appear with a message: "Success: The page template was created successfully. You can find it here." This last link, redirect to the page template administrator.
- The name of the new page template sill be predefined as: "[Page to convert name]-template", "[Page to convert name]-template 2", etc.
Design
Test Cases
Case 1:
The site designer could add a page template set during convert to page template when the site doesn't have a page template set
Test Strategy: CRITICAL
Can be covered by POSHI?: Yes
- Add the feature.flag.
LPS-166201=true into portal-ext.properties - Add a new site
- Add a content page
- Add a Heading fragment
- Open the dropdown menu of ellipsis button on control menu
- Convert To Page Template
- View the Add Page Template Set modal shown
- View the placeholder Untitled Set shown in Name field
- Save
- View the following success message
- The page template was created successfully. You can view it here: See in Page Templates.
- Click the link of See in Page Templates
- View redirect to the Page Templates admin
- View the draft page template named ${Page_Name} - Page Template showed under Untitled Set page template set
Case 2:
The site designer could save in a new set during convert to page template when the site has page template sets
Test Strategy: CRITICAL
Can be covered by POSHI?: Yes
- Add the feature.flag.
LPS-166201=true into portal-ext.properties - Add a new site
- Add a page template set
- Add a content page
- Add a Heading fragment
- Open the dropdown menu of the ellipsis button on the control menu
- Convert To Page Template
- View the Select Page Template Set modal shown
- Click the Save in New Set button
- View the Add Page Template Set modal shown
- View the placeholder Untitled Set shown in the Name field
- Save
- View the following success message
- The page template was created successfully. You can view it here: See in Page Templates.
- Click the link of See in Page Templates
- View redirect to the Page Templates admin
- View the draft page template named ${Page_Name} - Page Template showed under Untitled Set page template set
Case 3:
The site designer could convert to a page template to the existing page template set
Test Strategy: MEDIUM
Can be covered by POSHI?: Yes
- Add the feature.flag.
LPS-166201=true into portal-ext.properties - Add a new site
- Add a page template set
- Add a content page
- Add a Heading fragment
- Open the dropdown menu of the ellipsis button on the control menu
- Convert To Page Template
- View the Select Page Template Set modal shown
- Select the existing page template set in the Page Template Set field
- Save
- View the following success message
- The page template was created successfully. You can view it here: See in Page Templates.
- Click the link of See in Page Templates
- View redirect to the Page Templates admin
- View the draft page template named ${Page_Name} - Page Template showed under the existing page template set
Attachments
Issue Links
- fixes
-
LPS-145811 Be able to create new element without going out the flow
-
- Reviewed
-