| open |
/portal/public/intranet/ |
|
| windowMaximize |
|
|
| echo |
-- Check displaying on Public space list |
|
| 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 |
Space16 |
| type |
description |
This is description for Space_16 |
| click |
link=Create |
|
| pause |
30000 |
|
| echo |
-- Verify space created |
|
| waitForElementPresent |
link=Space16 |
|
| click |
link=Space16 |
|
| waitForTextPresent |
Space16 was created |
|
| verifyTextPresent |
Space16 was created |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|
| echo |
-- - Verify space is displayed in Space Public List of ther user |
|
| click |
//b[contains(text(),'Sign in')] |
|
| waitForElementPresent |
username |
|
| type |
username |
mary |
| type |
password |
gtn |
| clickAndWait |
id=UIPortalLoginFormAction |
|
| waitForElementPresent |
link=My Spaces |
|
| clickAndWait |
link=My Spaces |
|
| waitForElementPresent |
link=All Spaces |
|
| clickAndWait |
link=All Spaces |
|
| waitForTextPresent |
This is description for Space_16 |
|
| verifyTextPresent |
This is description for Space_16 |
|
| echo |
-- Logout |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|