| EditFrontPageMinorChangeTest | ||
| open | /web/guest/home/ | |
| waitForElementPresent | link=Wiki Test Page | |
| clickAtAndWait | link=Wiki Test Page | |
| assertText | //div[@class='wiki-body']/h2 | Test Wiki Article |
| assertText | //i | this is italics |
| assertText | //b | bold |
| assertElementPresent | link=Link to website | |
| assertText | //div[@class='wiki-body']/ul/li | this is a list item this is a sub list item |
| clickAtAndWait | //img[@alt='Edit'] | |
| type | _36_content | ==Test Wiki Article== //this is italics// **bold** [[http://www.liferay.com|Link to website]] *this is a list item **this is a sub list item Minor Edit. |
| store | eval(selenium.isChecked('_36_minorEditCheckbox')) | minorEditChecked |
| gotoIf | ${minorEditChecked} | MinorEditChecked |
| clickAt | _36_minorEditCheckbox | |
| label | MinorEditChecked | |
| clickAtAndWait | //input[@value='Save'] | |
| assertText | //div[@class='wiki-body']/h2 | Test Wiki Article |
| assertText | //i | this is italics |
| assertText | //b | bold |
| assertElementPresent | link=Link to website | |
| assertText | //div[@class='wiki-body']/ul/li | this is a list item this is a sub list item |
| assertText | //div[@class='wiki-body']/p[4] | Minor Edit. |
| open | /web/guest/home/ | |
| waitForElementPresent | link=Wiki Test Page | |
| clickAtAndWait | link=Wiki Test Page | |
| clickAtAndWait | link=FrontPage | |
| clickAtAndWait | //img[@alt='Properties'] | |
| clickAtAndWait | link=History | |
| assertElementPresent | link=1.2 | |
| assertText | //tr[@class='portlet-section-body results-row']/td[6] | Minor Changes |
| assertElementPresent | link=1.1 | |
| assertElementPresent | link=1.0 | |