| open |
/portal/public/intranet/ |
|
| windowMaximize |
|
|
| echo |
-- Edit Space Navigation |
|
| click |
//b[contains(text(),'Sign in')] |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
id=UIPortalLoginFormAction |
|
| waitForElementPresent |
link=My Spaces |
|
| clickAndWait |
link=My Spaces |
|
| echo |
-- Add a new Space |
|
| waitForElementPresent |
link=Add New Space |
|
| click |
link=Add New Space |
|
| waitForElementPresent |
displayName |
|
| type |
displayName |
Space13 |
| type |
description |
This is description for Space_13 |
| waitForElementPresent |
link=Create |
|
| click |
link=Create |
|
| pause |
30000 |
|
| echo |
-- Access the new Space |
|
| waitForElementPresent |
link=Space13 |
|
| clickAndWait |
link=Space13 |
|
| echo |
-- Access Space setting--- |
|
| waitForElementPresent |
//a[contains(@href,'spaces:space13') and @title='Settings'] |
|
| clickAndWait |
//a[contains(@href,'spaces:space13') and @title='Settings'] |
|
| echo |
-- select Edit navigation tab |
|
| waitForElementPresent |
//div[text()='Space Navigation'] |
|
| click |
//div[text()='Space Navigation'] |
|
| echo |
--Edit nav: add node, actions ... |
|
| echo |
* SOC-1300 Resovel |
|
| waitForElementPresent |
link=Add Node |
|
| click |
link=Add Node |
|
| pause |
1000 |
|
| waitForElementPresent |
//div[1]/div/table/tbody/tr[2]/td[2]/input |
|
| type |
//div[1]/div/table/tbody/tr[2]/td[2]/input |
AddNode |
| waitForElementPresent |
//tr[3]/td[2]/input |
|
| type |
//tr[3]/td[2]/input |
AddNode |
| echo |
--Select Page |
|
| waitForElementPresent |
//div[text()='Page Selector'] |
|
| click |
//div[text()='Page Selector'] |
|
| waitForElementPresent |
link=Search and Select Page |
|
| click |
link=Search and Select Page |
|
| echo |
--Select "Welcome to eXo Platform" Page |
|
| waitForElementPresent |
//td/div[@title='Welcome to eXo Platform 3.5']/following::td//img[@title='Select Page'] |
|
| click |
//td/div[@title='Welcome to eXo Platform 3.5']/following::td//img[@title='Select Page'] |
|
| pause |
1000 |
|
| echo |
--Save |
|
| waitForElementPresent |
css=div.HorizontalLayout > div.UIAction > a.ActionButton.LightBlueStyle |
|
| click |
css=div.HorizontalLayout > div.UIAction > a.ActionButton.LightBlueStyle |
|
| pause |
10000 |
|
| echo |
--Verify new node created |
|
| waitForElementPresent |
link=AddNode |
|
| verifyElementPresent |
link=AddNode |
|
| waitForElementPresent |
css=a.ApplicationAdd |
|
| clickAndWait |
css=a.ApplicationAdd |
|
| waitForTextPresent |
What Can You Do with eXo Platform 3.5 |
|
| verifyTextPresent |
What Can You Do with eXo Platform 3.5 |
|
| waitForElementPresent |
link=Space13 |
|
| clickAndWait |
link=Space13 |
|
| waitForElementPresent |
css=a.SpaceSettingIcon |
|
| clickAndWait |
css=a.SpaceSettingIcon |
|
| waitForElementPresent |
//div[text()='Space Navigation'] |
|
| click |
//div[text()='Space Navigation'] |
|
| mouseOver |
css=div.LastNode.Node > div.NullItemIcon > a.NodeIcon.DefaultPageIcon |
|
| mouseDownRight |
css=div.LastNode.Node > div.NullItemIcon > a.NodeIcon.DefaultPageIcon |
|
| waitForElementPresent |
link=Delete Node |
|
| click |
link=Delete Node |
|
| verifyConfirmation |
Are you sure to delete this node? |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| echo |
--Verify Deletion |
|
| waitForTextPresent |
Update info of space successful. |
|
| verifyTextPresent |
Update info of space successful. |
|
| waitForElementPresent |
link=OK |
|
| click |
link=OK |
|
| waitForElementNotPresent |
link=AddNode |
|
| verifyElementNotPresent |
link=AddNode |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|