| AddLinksTest | ||
| waitForElementPresent | link=Wiki Display Test Page | |
| clickAndWait | link=Wiki Display Test Page | |
| clickAndWait | //img[@alt='Edit'] | |
| waitForElementPresent | //textarea | |
| type | //textarea | < == WD Setup Edited Wiki Test Article == ====Yes this is a second test article ==== I love Liferay! This Wiki has been EDITED! [[Link Me 1]] [[Link Me 2]] |
| clickAndWait | //input[@value='Save'] | |
| assertTextPresent | Your request processed successfully. | |
| clickAndWait | link=Link Me 1 | |
| clickAndWait | //img[@alt='Edit'] | |
| waitForElementPresent | //textarea | |
| type | //textarea | Hi Administrator! Hope you are well! Please link me to another page! -testing [[FrontPage]] [[Link Me 2]] |
| clickAndWait | //input[@value='Save'] | |
| assertTextPresent | Your request processed successfully. | |
| clickAndWait | link=Link Me 2 | |
| clickAndWait | //img[@alt='Edit'] | |
| waitForElementPresent | //textarea | |
| type | //textarea | Hi Administrator! I made another mistake! Oh me. Please link this article to another! -rj [[FrontPage]] [[Link Me 1]] |
| clickAndWait | //input[@value='Save'] | |
| assertTextPresent | Your request processed successfully. | |