| ConfigurePortletDocumentsPerPage1Test | ||
| open | /web/guest/home/ | |
| waitForElementPresent | link=Document Library Test Page | |
| clickAtAndWait | link=Document Library Test Page | |
| clickAt | //strong/a | |
| waitForVisible | //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a | Configuration |
| click | //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a | Configuration |
| waitForVisible | _86_fileEntriesPerPage | |
| type | _86_fileEntriesPerPage | 1 |
| clickAtAndWait | //input[@value='Save'] | |
| assertText | //div[@id='p_p_id_86_']/div/div | You have successfully updated the setup. |
| open | /web/guest/home/ | |
| waitForElementPresent | link=Document Library Test Page | |
| clickAtAndWait | link=Document Library Test Page | |
| clickAtAndWait | //a/strong | |
| assertTextPresent | Test1 Document1 This is test1 document1. |
|
| assertTextNotPresent | Test2 Document2 This is test2 document2. |
|
| assertTextNotPresent | Test3 Document3 This is test3 document3. |
|
| clickAtAndWait | link=Next | |
| assertTextNotPresent | Test1 Document1 This is test1 document1. |
|
| assertTextPresent | Test2 Document2 This is test2 document2. |
|
| assertTextNotPresent | Test3 Document3 This is test3 document3. |
|
| clickAtAndWait | link=Next | |
| assertTextNotPresent | Test1 Document1 This is test1 document1. |
|
| assertTextNotPresent | Test2 Document2 This is test2 document2. |
|
| assertTextPresent | Test3 Document3 This is test3 document3. |
|