| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Wiki Test Page |
|
| clickAtAndWait |
link=Wiki Test Page |
|
| clickAtAndWait |
link=Details |
|
| clickAtAndWait |
link=History |
|
| assertElementPresent |
link=1.2 (Minor Edit) |
|
| assertElementPresent |
link=1.1 |
|
| assertElementPresent |
link=1.0 (Minor Edit) |
|
| check |
//input[@name='_36_rowIds' and @value='1.2'] |
|
| check |
//input[@name='_36_rowIds' and @value='1.1'] |
|
| uncheck |
//input[@name='_36_rowIds' and @value='1.0'] |
|
| clickAtAndWait |
//input[@value='Compare Versions'] |
|
| assertText |
//div[@class='taglib-diff-html']/h2 |
Test Wiki Article |
| assertText |
//i |
this is italics |
| assertText |
//b |
bold |
| assertElementPresent |
link=Link to website |
|
| assertText |
//div[@class='taglib-diff-html']/ul/li |
this is a list item this is a sub list item |
| assertText |
//span[@id='added-diff-0'] |
Minor Edit. |
| waitForElementPresent |
link=Text Mode |
|
| clickAtAndWait |
link=Text Mode |
|
| assertText |
//table[@id='taglib-diff-results']/tbody/tr[1]/td[1] |
FrontPage 1.1 |
| assertText |
//table[@id='taglib-diff-results']/tbody/tr[1]/td[2] |
FrontPage 1.2 |
| assertText |
//table[@id='taglib-diff-results']/tbody/tr[3]/td[1]/table/tbody/tr[4]/td |
|
| assertText |
//table[@id='taglib-diff-results']/tbody/tr[3]/td[2]/table/tbody/tr[4]/td/ins |
Minor Edit. |