This test covers LPS-154463. It ensures that an image in the Blogs content field can be published and rendered correctly after an upgrade from 7.1.10.5.
Running Open with locator1http://localhost:8080/web/site-name
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/site-name
Running assertLiferayErrors
Running selectWindow with parameters
Running selectFrame with parametersrelative=top
Running open with parametershttp://localhost:8080/web/site-name
Running assertJavaScriptErrors with parametershttp://localhost:8080/web/site-name
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/site-name
Running assertLiferayErrors
Running IsElementNotPresent with locator1//div[contains(@id,'navbar')]/ul//*[contains(@class,'active')][.//*[normalize-space(text())='Staging Test 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 parameters//div[contains(@id,'navbar')]/ul//*[contains(@class,'active')][.//*[normalize-space(text())='Staging Test Page']]
Running assertLiferayErrors
Running isElementPresent with parameters//div[contains(@id,'navbar')]/ul//*[contains(@class,'active')][.//*[normalize-space(text())='Staging Test Page']]
Running isNotVisible with parameters//div[contains(@id,'navbar')]/ul//*[contains(@class,'active')][.//*[normalize-space(text())='Staging Test Page']]
Running AssertVisible with locator1//div[contains(@id,'navbar')]/ul//*[contains(@class,'active')][.//*[normalize-space(text())='Staging Test 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 parameters//div[contains(@id,'navbar')]/ul//*[contains(@class,'active')][.//*[normalize-space(text())='Staging Test Page']]
Running assertLiferayErrors
Running waitForVisible with parameters//div[contains(@id,'navbar')]/ul//*[contains(@class,'active')][.//*[normalize-space(text())='Staging Test Page']]
Running assertVisible with parameters//div[contains(@id,'navbar')]/ul//*[contains(@class,'active')][.//*[normalize-space(text())='Staging Test Page']]
Running assertJavaScriptErrors with parameters//div[contains(@id,'navbar')]/ul//*[contains(@class,'active')][.//*[normalize-space(text())='Staging Test Page']]
Running assertLiferayErrors
Running IsElementNotPresent with locator1//button[contains(.,'Publish to Live')]
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//button[contains(.,'Publish to Live')]
Running assertLiferayErrors
Running isElementPresent with parameters//button[contains(.,'Publish to Live')]
Running isNotVisible with parameters//button[contains(.,'Publish to Live')]
Running IsElementPresent with locator1//span[@class='toggle-switch-handle' and @data-label-on='Ready for Publish Process']
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[@class='toggle-switch-handle' and @data-label-on='Ready for Publish Process']
Running assertLiferayErrors
Running isElementPresent with parameters//span[@class='toggle-switch-handle' and @data-label-on='Ready for Publish Process']
Running Click with locator1//button[contains(.,'Publish to Live')]
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//button[contains(.,'Publish to Live')]
Running assertLiferayErrors
Running waitForVisible with parameters//button[contains(.,'Publish to Live')]
Running mouseOver with parameters//button[contains(.,'Publish to Live')]
Running click with parameters//button[contains(.,'Publish to Live')]
Running assertJavaScriptErrors with parameters//button[contains(.,'Publish to Live')]
Running assertLiferayErrors
Running SelectFrame with locator1//div[contains(@class,'modal-body')]//iframe
Running waitForJavaScriptNoError with parameters
try {
var eventValue = LFR_JS_EVENTS_LOG.getLastEvent("modalIframeLoaded").src;
return eventValue.includes("dialog-iframe-popup");
}
catch(err) {
return false;
}
Event "modalIframeLoaded" with attribute "src" and value "dialog-iframe-popup" not fired.
Running verifyJavaScript with parameters
try {
var eventValue = LFR_JS_EVENTS_LOG.getLastEvent("modalIframeLoaded").src;
return eventValue.includes("dialog-iframe-popup");
}
catch(err) {
return false;
}
Event "modalIframeLoaded" with attribute "src" and value "dialog-iframe-popup" not fired.
Running waitForVisible with parameters//div[contains(@class,'modal-body')]//iframe
Running mouseOver with parameters//div[contains(@class,'modal-body')]//iframe
Running selectFrame with parameters//div[contains(@class,'modal-body')]//iframe
Running assertJavaScriptErrors with parameters//div[contains(@class,'modal-body')]//iframe
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 parameters//div[contains(@class,'modal-body')]//iframe
Running assertLiferayErrors
Running ClickNoError with locator1//button[contains(.,'Publish to Remote Live')]
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//button[contains(.,'Publish to Remote Live')]
Running assertLiferayErrors
Running waitForVisible with parameters//button[contains(.,'Publish to Remote Live')]
Running mouseOver with parameters//button[contains(.,'Publish to Remote Live')]
Running click with parameters//button[contains(.,'Publish to Remote Live')]
Running IsElementNotPresent with locator1//*[@data-qa-id='processResult'] | //h6[contains(@class,'background-task-status-row')]
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//*[@data-qa-id='processResult'] | //h6[contains(@class,'background-task-status-row')]
Running assertLiferayErrors
Running isElementPresent with parameters//*[@data-qa-id='processResult'] | //h6[contains(@class,'background-task-status-row')]
Running isNotVisible with parameters//*[@data-qa-id='processResult'] | //h6[contains(@class,'background-task-status-row')]
Running WaitForElementNotPresent with locator1//*[@data-qa-id='processResult'][contains(.,'In Progress')]
Running waitForElementNotPresent with parameters//*[@data-qa-id='processResult'][contains(.,'In Progress')]
Running IsElementPresent with locator1//*[@data-qa-id='headerTitle']
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//*[@data-qa-id='headerTitle']
Running assertLiferayErrors
Running isElementPresent with parameters//*[@data-qa-id='headerTitle']
Running AssertTextEquals with locator1//*[@data-qa-id='processResult'] | //h6[contains(@class,'background-task-status-row')] with value1Successful
Running waitForElementNotPresent with parameters//html[contains(@class,'lfr-spa-loading')]Successful
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;')]Successful
Running assertJavaScriptErrors with parameters//*[@data-qa-id='processResult'] | //h6[contains(@class,'background-task-status-row')]
Running assertLiferayErrors
Running waitForElementNotPresent with parameters//html[contains(@class,'lfr-spa-loading')]Successful
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;')]Successful
Running assertJavaScriptErrors with parameters//*[@data-qa-id='processResult'] | //h6[contains(@class,'background-task-status-row')]
Running assertLiferayErrors
Running waitForVisible with parameters//*[@data-qa-id='processResult'] | //h6[contains(@class,'background-task-status-row')]Successful
Running waitForTextCaseInsensitive with parameters//*[@data-qa-id='processResult'] | //h6[contains(@class,'background-task-status-row')]Successful
Running assertTextCaseInsensitive with parameters//*[@data-qa-id='processResult'] | //h6[contains(@class,'background-task-status-row')]Successful
Running assertJavaScriptErrors with parameters//*[@data-qa-id='processResult'] | //h6[contains(@class,'background-task-status-row')]
Running assertLiferayErrors
Running SelectFrameTop
Running selectFrame with parametersrelative=top
Running assertJavaScriptErrors with parameters
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 parameters
Running assertLiferayErrors
Running IsElementPresent with locator1//div[contains(@class,'modal-body')]//iframe
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//div[contains(@class,'modal-body')]//iframe
Running assertLiferayErrors
Running isElementPresent with parameters//div[contains(@class,'modal-body')]//iframe
Running SelectFrame with value1relative=top
Running selectFrame with parametersrelative=top
Running assertJavaScriptErrors with parameters
Running assertLiferayErrors
Running waitForElementNotPresent with parameters//html[contains(@class,'lfr-spa-loading')]relative=top
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;')]relative=top
Running assertJavaScriptErrors with parameters
Running assertLiferayErrors
Running waitForElementNotPresent with parameters//html[contains(@class,'lfr-spa-loading')]relative=top
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;')]relative=top
Running assertJavaScriptErrors with parameters
Running assertLiferayErrors
Running Click#mouseDownMouseUp with locator1//div[contains(@class,'modal-header')]//button[contains(@class,'close')]
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//div[contains(@class,'modal-header')]//button[contains(@class,'close')]
Running assertLiferayErrors
Running waitForElementPresent with parameters//div[contains(@class,'modal-header')]//button[contains(@class,'close')]
Running waitForVisible with parameters//div[contains(@class,'modal-header')]//button[contains(@class,'close')]
Running mouseDown with parameters//div[contains(@class,'modal-header')]//button[contains(@class,'close')]
Running mouseUp with parameters//div[contains(@class,'modal-header')]//button[contains(@class,'close')]
Running assertJavaScriptErrors with parameters//div[contains(@class,'modal-header')]//button[contains(@class,'close')]
Running assertJavaScriptErrors with parametershttp://localhost:8080/web/remote-site/Staging Test Page/-/blogs/Blogs Entry Title With Video
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/remote-site/Staging Test Page/-/blogs/Blogs Entry Title With Video
Running assertLiferayErrors
Running AssertElementPresent with locator1//div[contains(@class,'autofit-row')]//h3[contains(.,'Blogs Entry Title With Video')] | //div[contains(@class,'entry-title')]//*[contains(.,'Blogs Entry Title With Video')]
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//div[contains(@class,'autofit-row')]//h3[contains(.,'Blogs Entry Title With Video')] | //div[contains(@class,'entry-title')]//*[contains(.,'Blogs Entry Title With Video')]
Running assertLiferayErrors
Running waitForElementPresent with parameters//div[contains(@class,'autofit-row')]//h3[contains(.,'Blogs Entry Title With Video')] | //div[contains(@class,'entry-title')]//*[contains(.,'Blogs Entry Title With Video')]
Running assertElementPresent with parameters//div[contains(@class,'autofit-row')]//h3[contains(.,'Blogs Entry Title With Video')] | //div[contains(@class,'entry-title')]//*[contains(.,'Blogs Entry Title With Video')]
Running assertJavaScriptErrors with parameters//div[contains(@class,'autofit-row')]//h3[contains(.,'Blogs Entry Title With Video')] | //div[contains(@class,'entry-title')]//*[contains(.,'Blogs Entry Title With Video')]
Running assertLiferayErrors
Running AssertTextEquals with locator1//div[contains(@class,'autofit-row')]//h3[contains(.,'Blogs Entry Title With Video')] | //div[contains(@class,'entry-title')]//*[contains(.,'Blogs Entry Title With Video')] with value1Blogs Entry Title With Video
Running waitForElementNotPresent with parameters//html[contains(@class,'lfr-spa-loading')]Blogs Entry Title With Video
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;')]Blogs Entry Title With Video
Running assertJavaScriptErrors with parameters//div[contains(@class,'autofit-row')]//h3[contains(.,'Blogs Entry Title With Video')] | //div[contains(@class,'entry-title')]//*[contains(.,'Blogs Entry Title With Video')]
Running assertLiferayErrors
Running waitForElementNotPresent with parameters//html[contains(@class,'lfr-spa-loading')]Blogs Entry Title With Video
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;')]Blogs Entry Title With Video
Running assertJavaScriptErrors with parameters//div[contains(@class,'autofit-row')]//h3[contains(.,'Blogs Entry Title With Video')] | //div[contains(@class,'entry-title')]//*[contains(.,'Blogs Entry Title With Video')]
Running assertLiferayErrors
Running waitForVisible with parameters//div[contains(@class,'autofit-row')]//h3[contains(.,'Blogs Entry Title With Video')] | //div[contains(@class,'entry-title')]//*[contains(.,'Blogs Entry Title With Video')]Blogs Entry Title With Video
Running waitForTextCaseInsensitive with parameters//div[contains(@class,'autofit-row')]//h3[contains(.,'Blogs Entry Title With Video')] | //div[contains(@class,'entry-title')]//*[contains(.,'Blogs Entry Title With Video')]Blogs Entry Title With Video
Running assertTextCaseInsensitive with parameters//div[contains(@class,'autofit-row')]//h3[contains(.,'Blogs Entry Title With Video')] | //div[contains(@class,'entry-title')]//*[contains(.,'Blogs Entry Title With Video')]Blogs Entry Title With Video
Running assertJavaScriptErrors with parameters//div[contains(@class,'autofit-row')]//h3[contains(.,'Blogs Entry Title With Video')] | //div[contains(@class,'entry-title')]//*[contains(.,'Blogs Entry Title With Video')]
Running assertLiferayErrors
Running AssertElementPresent with locator1//div[contains(@class,'embed')]//iframe[contains(@src,'youtube')]
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//div[contains(@class,'embed')]//iframe[contains(@src,'youtube')]
Running assertLiferayErrors
Running waitForElementPresent with parameters//div[contains(@class,'embed')]//iframe[contains(@src,'youtube')]
Running assertElementPresent with parameters//div[contains(@class,'embed')]//iframe[contains(@src,'youtube')]
Running assertJavaScriptErrors with parameters//div[contains(@class,'embed')]//iframe[contains(@src,'youtube')]
Running assertLiferayErrors
Running AssertTextEquals with locator1//div[contains(@class,'content')]//p[contains(normalize-space(),'video')] with value1video
Running waitForElementNotPresent with parameters//html[contains(@class,'lfr-spa-loading')]video
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;')]video
Running assertJavaScriptErrors with parameters//div[contains(@class,'content')]//p[contains(normalize-space(),'video')]
Running assertLiferayErrors
Running waitForElementNotPresent with parameters//html[contains(@class,'lfr-spa-loading')]video
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;')]video
Running assertJavaScriptErrors with parameters//div[contains(@class,'content')]//p[contains(normalize-space(),'video')]
Running assertLiferayErrors
Running waitForVisible with parameters//div[contains(@class,'content')]//p[contains(normalize-space(),'video')]video
Running waitForTextCaseInsensitive with parameters//div[contains(@class,'content')]//p[contains(normalize-space(),'video')]video
Running assertTextCaseInsensitive with parameters//div[contains(@class,'content')]//p[contains(normalize-space(),'video')]video
Running assertJavaScriptErrors with parameters//div[contains(@class,'content')]//p[contains(normalize-space(),'video')]
Running assertLiferayErrors
Running Open with locator1http://localhost:8080/web/remote-site/Staging Test Page/-/blogs/Blogs Entry Title With Inline Image
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/remote-site/Staging Test Page/-/blogs/Blogs Entry Title With Inline Image
Running assertLiferayErrors
Running selectWindow with parameters
Running selectFrame with parametersrelative=top
Running open with parametershttp://localhost:8080/web/remote-site/Staging Test Page/-/blogs/Blogs Entry Title With Inline Image
test CanPublishImageFromContentFieldAfterUpgradeFrom71105Archive {
21
@description = "This test covers LPS-154463. It ensures that an image in the Blogs content field can be published and rendered correctly after an upgrade from 7.1.10.5."
28
Navigator.gotoSitePage(
pageName = "Staging Test Page",
siteName = "Site Name");