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":"20100","contactId":"20131","createDate":1626075657933,"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":1626076107675,"lastLoginDate":1626080578137,"lastLoginIP":"127.0.0.1","lastName":"Test","ldapServerId":"-1","lockout":false,"lockoutDate":null,"loginDate":1626080738993,"loginIP":"127.0.0.1","middleName":"","modifiedDate":1626081664179,"mvccVersion":"18","openId":"","portraitId":"0","reminderQueryAnswer":"test","reminderQueryQuestion":"what-is-your-father's-middle-name","screenName":"test","status":0,"timeZoneId":"America\/Los_Angeles","userId":"20129","uuid":"72efa7a0-85fa-83d0-556b-531a70608e92"}Finished executing commands.
Running post with parametersArg: ${curl}Return: {"agreedToTermsOfUse":true,"comments":"","companyId":"20100","contactId":"20131","createDate":1626075657933,"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":1626076107675,"lastLoginDate":1626080578137,"lastLoginIP":"127.0.0.1","lastName":"Test","ldapServerId":"-1","lockout":false,"lockoutDate":null,"loginDate":1626080738993,"loginIP":"127.0.0.1","middleName":"","modifiedDate":1626081664599,"mvccVersion":"19","openId":"","portraitId":"0","reminderQueryAnswer":"test","reminderQueryQuestion":"what-is-your-father's-middle-name","screenName":"test","status":0,"timeZoneId":"America\/Los_Angeles","userId":"20129","uuid":"72efa7a0-85fa-83d0-556b-531a70608e92"}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 assertJavaScriptErrors with parametershttp://localhost:8080/web/guest/blogs-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/guest/blogs-page
Running assertLiferayErrors
Running AssertAccessible
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
Running assertLiferayErrors
Running assertAccessible
Cause:
Found 1 accessibility violations:
1) Elements must have sufficient color contrast: https://dequeuniversity.com/rules/axe/1.1/color-contrast
a) ["#portlet_com_liferay_microblogs_web_portlet_MicroblogsStatusUpdatePortlet_INSTANCE_bfeVxgDyIkuY > .portlet-topper > .portlet-title-default > .portlet-name-text"]
Fix any of the following:
Element has insufficient color contrast of 1.00 (foreground color: #ffffff, background color: #ffffff, font size: 10.5pt, font weight: bold)
b) ["#portlet_com_liferay_blogs_recent_bloggers_web_portlet_RecentBloggersPortlet_INSTANCE_VXVWU0wsGZrG > .portlet-topper > .portlet-title-default > .portlet-name-text"]
Fix any of the following:
Element has insufficient color contrast of 1.00 (foreground color: #ffffff, background color: #ffffff, font size: 10.5pt, font weight: bold)
Steps:
TestCase#setUpPortalInstance --> PASSED
Log into Liferay using URL navigation --> PASSED
Add a public site page or public child site page to an existing site or child site via groupName --> PASSED
Add a widget to a public layout via widgetName --> PASSED
Navigate to the page named 'Blogs Page' --> PASSED
Add a widget to a public layout via widgetName --> PASSED
Add a widget to a public layout via widgetName --> PASSED
Add a widget to a public layout via widgetName --> PASSED
Add a widget to a public layout via widgetName --> PASSED
Navigator#openSitePage --> PASSED
AssertAccessible#assertAccessible --> FAILED
Before
After
LocalFile.BlogsUsecase#WidgetsCanBeAccessible
10
setUp {
11
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}"))) {