| EditWikiFrontPageMinorChangeTest | ||
| open | /web/guest/home/ | |
| waitForElementPresent | link=Wiki Display Test Page | |
| clickAndWait | link=Wiki Display 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 | link=Edit | |
| type | //textarea | ==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('//span/input[2]')) | minorEditChecked |
| gotoIf | ${minorEditChecked} | MinorEditChecked |
| click | //span/input[2] | |
| label | MinorEditChecked | |
| clickAtAndWait | //input[@value='Publish'] | |
| 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 Display Test Page | |
| clickAndWait | link=Wiki Display Test Page | |
| clickAtAndWait | link=Details | |
| clickAtAndWait | link=History | |
| assertElementPresent | link=1.2 (Minor Edit) | |
| assertElementPresent | link=1.1 | |
| assertElementPresent | link=1.0 (Minor Edit) | |