-
Type:
Technical Testing
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Fragment Administration
-
Labels:None
- PASS
- To Do
- FAIL
- Impeditive:
Ticket Title QA Status ? ?
- Not impeditive:
Ticket Title QA Status ? ? LPS-109686IntelliSense doesn't popup when append [@ to </div> Verified
Test Cases
Case 1:
When type ${ in HTML section, the IntelliSense containing available variables popups and Auto-Complete works
- Site Builder > Page Fragments
- Add a new collection
- Add a new fragment
- Type ${ in HTML section
- Assert the IntelliSense containing available variables popups
- Click portalUtil
- Assert ${portalUtil is shown in section
Case 2:
When type [@ in HTML section, the IntelliSense containing available taglibs popups and Auto-Complete works
- Site Builder > Page Fragments
- Add a new collection
- Add a new fragment
- Type [@ in HTML section
- Assert the IntelliSense containing available taglibs popups
- Click liferay_editor
- Assert [@liferay_editor is shown in section
Case 3:
When type [resources: in HTML section of fragment, the IntelliSense containing available resources only from current collection popups and Auto-Complete works
- Site Builder > Page Fragments
- Add the first collection
- Resources tab
- Upload Document_1.jpg as resource
- Add the second collection
- Resources tab
- Upload Document_2.jpg as resource
- Fragment tab
- Add a new fragment in the second collection
- Type [resources: in HTML section
- Assert the IntelliSense containing only Document_2.jpg popups
- Click Document_2.jpg
- Assert [resources:Document_2.jpg] is shown in section
Case 4:
If current collection doesn't has resources, when type [resources: in HTML section of fragment, the IntelliSense won't popup
- Site Builder > Page Fragments
- Add a new collection
- Add a new fragment
- Type [resources: in HTML section
- Assert the IntelliSense doesn't popup
Case 5:
When type ${, @[ and [resources: in CSS, JavaScript and JSON sections, the IntelliSense won't popup
- Site Builder > Page Fragments
- Add a new collection
- Resources tab
- Upload Document_1.jpg as resource
- Fragment tab
- Add a new fragment
- Respectively type ${, @[ and [resources: in CSS, JavaScript and JOSN sections
- Assert the IntelliSense won't popup
Case 6:
When type <lfr in HTML section, the IntelliSense containing available <lfr> tags popups and Auto-Complete works
- Site Builder > Page Fragments
- Add a new collection
- Add a new fragment
- Type <lfr in HTML section
- Assert the IntelliSense containing available <lfr> tags popups
- Click lfr-editable:image
- Assert <lfr-editable id="" type="image"></lfr-editable> is shown in section