| open |
/portal/public/intranet |
|
| windowMaximize |
|
|
| waitForElementPresent |
//div[@id='UIPresentationContainer']//div[contains(text(),'Sign in')] |
|
| click |
//div[@id='UIPresentationContainer']//div[contains(text(),'Sign in')] |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| waitForElementPresent |
password |
|
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| clickAndWait |
//a[contains(@href,'portal/private/intranet/calendar')] |
|
| echo |
-Manage calendar group- |
|
| echo |
- Add Calendar group |
|
| waitForElementPresent |
//div[@title='Calendar actions'] |
|
| click |
//div[@title='Calendar actions'] |
|
| waitForElementPresent |
//div[@id='tmpMenuElement']//a[contains(@href,'AddCalendarCategory')] |
|
| click |
//div[@id='tmpMenuElement']//a[contains(@href,'AddCalendarCategory')] |
|
| waitForElementPresent |
categoryName |
|
| type |
categoryName |
Test_01_group |
| type |
//div[@class='UIForm UICalendarCategoryForm']//textarea[@id='description'] |
Test_01_group_description |
| click |
link=Save |
|
| waitForTextPresent |
Test_01_group |
|
| verifyTextPresent |
Test_01_group |
|
| echo |
-- Edit Group |
|
| click |
//img[contains(@onclick,'Test_01_group')] |
|
| waitForElementPresent |
categoryName |
|
| verifyValue |
categoryName |
Test_01_group |
| verifyValue |
categoryName |
Test_01_group |
| verifyValue |
//div[@class='UIForm UICalendarCategoryForm']//textarea[@id='description'] |
Test_01_group_description |
| type |
categoryName |
Test_01_group_update |
| type |
//div[@class='UIForm UICalendarCategoryForm']//textarea[@id='description'] |
Test_01_group_update_description |
| click |
link=Save |
|
| waitForTextPresent |
Test_01_group_update |
|
| verifyTextPresent |
Test_01_group_update |
|
| waitForElementPresent |
//tr[2]/td[2]/div/img[2] |
|
| click |
//tr[2]/td[2]/div/img[2] |
|
| assertConfirmation |
The category will be deleted. Do you confirm ? |
|
| clickAndWait |
link=Logout |
|
| close |
|
|
| click |
//div[@onclick="javascript:ajaxGet('/portal/private/intranet/calendar?portal:componentId=4a502dc7-6d26-440f-abd8-3b6dc01d55aa&portal:type=action&uicomponent=UICalendarPopupWindow&op=ClosePopup&ajaxRequest=true')"] |
|
| click |
//div[@onclick='eXo.calendar.UICalendarPortlet.showMainMenu(this, event);'] |
|