Details
-
Technical Testing
-
Status: Closed
-
Minor
-
Resolution: Completed
-
None
-
None
-
None
Description
Test Cases
Requirement to build Liferay Online:
- Create a DXP bundle
- Configure to use the MySQL database
- Add the Liferay Online property
https://liferay.atlassian.net/wiki/spaces/ENGDXPONLINE/pages/1888452877/Run+DXP+with+Liferay+Online+configurations+locally
Case 1: Priority Low
AC ID: 1
The System Admin can select the initializer when will create a Virtual Instance
- Go to Control Panel > System > Virtual Instances
- Click on Add
- Create one virtual instance using "Test" on the Web ID and the "raylife" on the "virtual host" field
- Assert that is possible to select "Raylife" on Virtual Instance Initializer
Case 2: Priority Critical
AC ID: 2
The System Admin can create a New Virtual Instance with the initializer
- Go to Control Panel > System > Virtual Instances
- Click on Add
- Create one virtual instance using "testRaylife" on the Web ID and the "raylife" on the "virtual host" field
- Select "Raylife" on Virtual Instance Initializer
- Press Save
- Go to URL: http://raylife:8080/
- Assert the raylife content will be present
Case 3: Priority High
AC ID: 3
The System Admin can create a Virtual Instance with Default Initializer
- Go to Control Panel > System > Virtual Instances
- Click on Add
- Create one virtual instance using "Test Virtual Instance" on the Web ID and the "defaultInitializer" on the "virtual host" field
- Select the Default (blank) Initializer
- Press Save
- Go to URL: http://defaultInitializer:8080/
- Assert the Liferay Online (default) "classic one" content will be present
Case 4: Priority High
AC ID: 3
Raylife initializer is not deployed and is not shown on initializer list
- Close the Liferay Online portal
- Open the Terminal and go to /projects/bundles/osgi/modules
- Remove the 'com.liferay.site.initializer.raylife.jar' module
- Run the Liferay Online portal
- Go to Control Panel > System > Virtual Instances
- Click on Add
- Create one virtual instance using "testRaylife" on the Web ID and the "raylife" on the "virtual host" field
- Assert "raylife" initializer is not present