-
Type:
Technical Testing
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Pages > Page Editor
-
Labels:None
Create the test scenarios to validate the parent story, according to the Acceptance Criteria.
Those test scenarios will be writing in the parent story.
Test Cases
Case 1
When add a link to fragment, the self target is defined by default.
- Add a new site
- Add a display page template with Web Content Article and Basic Web Content
- Add a Display Page Content to display page template
- Add a web content article and select the display page template
- Add a page based on Blank
- Add a Container element to page
- Add a Card fragment into the Container
- Click the body of Container
- Link tab
- Select From Content Field in Link field
- Select the web content article
- Select Display Page URL in Field field
- Publish the page
- Navigate to page in view mode
- Click the Container
- Assert the page redirects to the display page template where the content is shown
Case 2
When add a link to fragment, the blank target is set up after checking Open in a new tab.
- Add a new site
- Add a page based on Blank
- Add a Banner Center fragment to page
- Click the Go Somewhere editable field
- Link tab
- Select Manual in Link field
- Type https://liferay.com in URL field
- Check the Open in a new tab
- Publish the page
- Navigate to page in view mode
- Click the Go Somewhere
- Assert https://www.liferay.com opened in a new tab