-
Type:
Testing
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Product Menu
-
Labels:None
-
Epic Link:
-
QA Test Score:5
Create test automation to validate the critical test scenarios/cases of the related story.
The focus of this task is to implement the CRITICAL, HIGH and MID tests of the related story, but if you believe that can and have time to implement the LOW and TRIVIAL test cases, please, create one more subtask to it, and go ahead!
Test Scenarios
Test Scenarios | Test Strategy | Kind of test | Is it covered by FrontEnd ? (JS-Unit) | Is it covered by BackEnd ? (unit or integration) |
---|---|---|---|---|
When type ${ in HTML section, the IntelliSense containing available variables popups and Auto-Complete works | Smoke | Manual | No | No |
When type [@ in HTML section, the IntelliSense containing available taglibs popups and Auto-Complete works | Smoke | Manual | No | No |
When type [resources: in HTML section of fragment, the IntelliSense containing available resources only from current collection popups and Auto-Complete works | Smoke | Manual | No | No |
If current collection doesn't has resources, when type [resources: in HTML section of fragment, the IntelliSense won't popup | Sanity | Manual | No | No |
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
- is related to
-
LPS-108566 As a fragment developer, I would like to have autocomplete in the Fragment editor for the variables and taglibs available
-
- Closed
-
- Testing discovered
-
LPS-119261 The IntelliSense doesn't popup when type [resources: in fragment editor
- Closed