Running assertJavaScriptErrors with parametershttp://localhost:8080/web/guest/home
Running assertLiferayErrors
Running waitForElementNotPresent with parameters//html[contains(@class,'lfr-spa-loading')]
Running isElementPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]
Running waitForElementNotPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]
Running assertJavaScriptErrors with parametershttp://localhost:8080/web/guest/home
Running assertLiferayErrors
Running IsElementNotPresent with locator1//span[contains(@class,'sign-in')]/a/span
Running waitForElementNotPresent with parameters//html[contains(@class,'lfr-spa-loading')]
Running isElementPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]
Running waitForElementNotPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]
Running assertJavaScriptErrors with parameters//span[contains(@class,'sign-in')]/a/span
Running assertLiferayErrors
Running isElementPresent with parameters//span[contains(@class,'sign-in')]/a/span
Running isNotVisible with parameters//span[contains(@class,'sign-in')]/a/span
Running post with parametersArg: ${curl}Return: {"agreedToTermsOfUse":true,"comments":"","companyId":"20099","contactId":"20129","createDate":1632893336418,"ctCollectionId":"0","defaultUser":false,"emailAddress":"test@liferay.com","emailAddressVerified":true,"externalReferenceCode":"","facebookId":"0","failedLoginAttempts":0,"firstName":"Test","googleUserId":"","graceLoginCount":0,"greeting":"Welcome Test Test!","jobTitle":"","languageId":"en_US","lastFailedLoginDate":1632894123381,"lastLoginDate":1632893629304,"lastLoginIP":"127.0.0.1","lastName":"Test","ldapServerId":"-1","lockout":false,"lockoutDate":null,"loginDate":1632894124958,"loginIP":"127.0.0.1","middleName":"","modifiedDate":1632895188215,"mvccVersion":"8","openId":"","portraitId":"0","reminderQueryAnswer":"test","reminderQueryQuestion":"what-is-your-father's-middle-name","screenName":"test","status":0,"timeZoneId":"UTC","userId":"20127","uuid":"42ee24e8-b788-1fc8-9619-c775a70ed248"}Finished executing commands.
Running post with parametersArg: ${curl}Return: {"agreedToTermsOfUse":true,"comments":"","companyId":"20099","contactId":"20129","createDate":1632893336418,"ctCollectionId":"0","defaultUser":false,"emailAddress":"test@liferay.com","emailAddressVerified":true,"externalReferenceCode":"","facebookId":"0","failedLoginAttempts":0,"firstName":"Test","googleUserId":"","graceLoginCount":0,"greeting":"Welcome Test Test!","jobTitle":"","languageId":"en_US","lastFailedLoginDate":1632894123381,"lastLoginDate":1632893629304,"lastLoginIP":"127.0.0.1","lastName":"Test","ldapServerId":"-1","lockout":false,"lockoutDate":null,"loginDate":1632894124958,"loginIP":"127.0.0.1","middleName":"","modifiedDate":1632895188675,"mvccVersion":"9","openId":"","portraitId":"0","reminderQueryAnswer":"test","reminderQueryQuestion":"what-is-your-father's-middle-name","screenName":"test","status":0,"timeZoneId":"UTC","userId":"20127","uuid":"42ee24e8-b788-1fc8-9619-c775a70ed248"}Finished executing commands.
Running Open with locator1http://localhost:8080/web/guest?SM_USER=test@liferay.com
Running waitForElementNotPresent with parameters//html[contains(@class,'lfr-spa-loading')]
Running isElementPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]
Running waitForElementNotPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]
Running assertJavaScriptErrors with parametershttp://localhost:8080/web/guest?SM_USER=test@liferay.com
Running assertLiferayErrors
Running selectWindow with parameters
Running selectFrame with parametersrelative=top
Running open with parametershttp://localhost:8080/web/guest?SM_USER=test@liferay.com
Running post with parametersArg: ${curl}Return: {"active":true,"classNameId":"20003","classPK":"42679","companyId":"20099","creatorUserId":"20127","ctCollectionId":"0","description":"","descriptionCurrentValue":"","descriptiveName":"Test Site Name","friendlyURL":"\/test-site-name","groupId":"42679","groupKey":"Test Site Name","inheritContent":false,"liveGroupId":"0","manualMembership":true,"membershipRestriction":0,"mvccVersion":"0","name":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Name language-id=\"en_US\">Test Site Name<\/Name><\/root>","nameCurrentValue":"Test Site Name","parentGroupId":"0","remoteStagingGroupCount":0,"site":true,"treePath":"\/42679\/","type":1,"uuid":"3726ce27-f1a3-5449-1d76-64d8a1290cd9"}Finished executing commands.
## * GroupId: 42679
## * GroupId: 42679
LocalFile.Redirect#CanViewExpiredAndActiveEntries
This ensures that an expired temporary redirect can be reactivated.
## * GroupId: 42679
## Adding a 'Redirection' with the following info using JSONWS:
Running assertJavaScriptErrors with parametershttp://localhost:8080/web/test-site-name/test-source-page
Running assertLiferayErrors
Running waitForElementNotPresent with parameters//html[contains(@class,'lfr-spa-loading')]
Running isElementPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]
Running waitForElementNotPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]
Running assertJavaScriptErrors with parametershttp://localhost:8080/web/test-site-name/test-source-page
Running assertLiferayErrors
Running IsElementPresent with locator1//h1[contains(.,'Your connection is not private')]
Running waitForElementNotPresent with parameters//html[contains(@class,'lfr-spa-loading')]
Running isElementPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]
Running waitForElementNotPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]
Running assertJavaScriptErrors with parameters//h1[contains(.,'Your connection is not private')]
Running assertLiferayErrors
Running isElementPresent with parameters//h1[contains(.,'Your connection is not private')]
Running SelectWindow with locator1title=Test Source Page - Test Site Name - Liferay DXP
Running waitForElementNotPresent with parameters//html[contains(@class,'lfr-spa-loading')]
Running isElementPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]
Running waitForElementNotPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]
Running assertJavaScriptErrors with parameterstitle=Test Source Page - Test Site Name - Liferay DXP
Running assertLiferayErrors
Running pause with parameters5000
Running selectWindow with parameterstitle=Test Source Page - Test Site Name - Liferay DXP
Running assertJavaScriptErrors with parameterstitle=Test Source Page - Test Site Name - Liferay DXP
Running assertLiferayErrors
Running AssertLocation with value1http://localhost:8080/web/test-site-name/test-source-page
Running waitForElementNotPresent with parameters//html[contains(@class,'lfr-spa-loading')]http://localhost:8080/web/test-site-name/test-source-page
Running isElementPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]
Running waitForElementNotPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]http://localhost:8080/web/test-site-name/test-source-page
Running assertJavaScriptErrors with parameters
Running assertLiferayErrors
Running assertLocation with parametershttp://localhost:8080/web/test-site-name/test-source-page
Running assertJavaScriptErrors with parameters
Running assertLiferayErrors
## * GroupId: 42679
Running post with parametersArg: ${curl}Return: {"companyId":"20099","createDate":1632895202771,"destinationURL":"http:\/\/localhost:8080\/web\/test-site-name\/test-destination-page","expirationDate":1735603200000,"groupId":"42679","lastOccurrenceDate":null,"modifiedDate":1632895212272,"mvccVersion":"1","permanent":false,"redirectEntryId":"42690","sourceURL":"test-source-page","userId":"20127","userName":"","uuid":"5c70ac0c-c690-1c8e-88f3-c6ccaa268fab"}Finished executing commands.
Running Open with locator1http://localhost:8080/web/test-site-name/test-source-page
Running waitForElementNotPresent with parameters//html[contains(@class,'lfr-spa-loading')]
Running isElementPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]
Running waitForElementNotPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]
Running assertJavaScriptErrors with parametershttp://localhost:8080/web/test-site-name/test-source-page
Running assertLiferayErrors
Running selectWindow with parameters
Running selectFrame with parametersrelative=top
Running open with parametershttp://localhost:8080/web/test-site-name/test-source-page
Running assertJavaScriptErrors with parametershttp://localhost:8080/web/test-site-name/test-source-page
Running assertLiferayErrors
Running waitForElementNotPresent with parameters//html[contains(@class,'lfr-spa-loading')]
Running isElementPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]
Running waitForElementNotPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]
Running assertJavaScriptErrors with parametershttp://localhost:8080/web/test-site-name/test-source-page
Running assertLiferayErrors
Running IsElementPresent with locator1//h1[contains(.,'Your connection is not private')]
Running waitForElementNotPresent with parameters//html[contains(@class,'lfr-spa-loading')]
Running isElementPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]
Running waitForElementNotPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]
Running assertJavaScriptErrors with parameters//h1[contains(.,'Your connection is not private')]
Running assertLiferayErrors
Running isElementPresent with parameters//h1[contains(.,'Your connection is not private')]
Running SelectWindow with locator1title=Test Destination Page - Test Site Name - Liferay DXP
Running waitForElementNotPresent with parameters//html[contains(@class,'lfr-spa-loading')]
Running isElementPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]
Running waitForElementNotPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]
Running assertJavaScriptErrors with parameterstitle=Test Destination Page - Test Site Name - Liferay DXP
Running assertLiferayErrors
Running pause with parameters5000
Running selectWindow with parameterstitle=Test Destination Page - Test Site Name - Liferay DXP
Running assertJavaScriptErrors with parameterstitle=Test Destination Page - Test Site Name - Liferay DXP
Running assertLiferayErrors
Running AssertLocation with value1http://localhost:8080/web/test-site-name/test-destination-page
Running waitForElementNotPresent with parameters//html[contains(@class,'lfr-spa-loading')]http://localhost:8080/web/test-site-name/test-destination-page
Running isElementPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]
Running waitForElementNotPresent with parameters//div[contains(@class,'lfr-notification-wrapper') and contains(@style,'height: 82px;')]http://localhost:8080/web/test-site-name/test-destination-page
Running assertJavaScriptErrors with parameters
Running assertLiferayErrors
Running assertLocation with parametershttp://localhost:8080/web/test-site-name/test-destination-page
Running assertJavaScriptErrors with parameters
Running assertLiferayErrors
LocalFile.Redirect#CanViewExpiredAndActiveEntries
8
setUp {
9
TestCase.setUpPortalInstance();
77
var testNameSkipPortalInstance = PropsUtil.get("test.name.skip.portal.instance");
78
var testPortalInstance = PropsUtil.get("test.portal.instance");
80
if (!(IsTestName(locator1 = "", value1 = "${testNameSkipPortalInstance}"))) {