| open |
http://localhost:8080/web/guest/home |
|
| waitForElementPresent |
_58_login |
|
| type |
_58_login |
test@liferay.com |
| type |
_58_password |
test |
| clickAndWait |
//input[@value='Sign In'] |
|
| waitForElementPresent |
link=Joe Bloggs |
|
| clickAndWait |
//div[@id='banner']/div/div/ul/li[8]/ul/li[6]/ul/li[1]/a[1] |
|
| waitForElementPresent |
link=View Staged Page |
|
| clickAndWait |
link=View Staged Page |
|
| waitForElementPresent |
link=Manage Pages |
|
| clickAndWait |
link=Manage Pages |
|
| click |
//input[@value='Publish to Remote'] |
|
| waitForTextPresent |
The staging environment is activated. Publish to Remote publishes from the live environment. |
|
| waitForElementPresent |
link=Options |
|
| click |
link=Options |
|
| waitForElementPresent |
_88_PORTLET_DATA_33 |
|
| click |
_88_PORTLET_DATA_33 |
|
| click |
_88_PORTLET_DATA_8 |
|
| waitForElementPresent |
link=Remote Options |
|
| click |
link=Remote Options |
|
| waitForElementPresent |
_88_remoteAddress |
|
| type |
_88_remoteAddress |
5.227.126.113 |
| waitForElementPresent |
_88_remoteGroupId |
|
| type |
_88_remoteGroupId |
${GroupID} |
| click |
//div[starts-with(@id, 'publish-to-remote')]/form[1]/ul[1]/li[1]/a |
|
| waitForElementPresent |
publishBtn |
|
| clickAndWait |
publishBtn |
|
| assertConfirmation |
Are you sure you want to publish these pages? |
|
| waitForTextPresent |
Your request processed successfully. |
|