| AddLinksTest | ||
| waitForElementPresent | link=Wiki Test Page | |
| clickAndWait | link=Wiki Test Page | |
| clickAndWait | link=Second Edited Wiki Test | |
| clickAndWait | //img[@alt='Edit'] | |
| waitForElementPresent | _36_content | |
| type | _36_content | < == This is a second 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 | _36_content | |
| type | _36_content | 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. | |
| assertElementPresent | //p[2]/a | |
| clickAndWait | link=Link Me 2 | |
| clickAndWait | //img[@alt='Edit'] | |
| waitForElementPresent | _36_content | |
| type | _36_content | 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. | |