| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Wiki Test Page |
|
| clickAtAndWait |
link=Wiki Test Page |
|
| clickAtAndWait |
link=Details |
|
| clickAtAndWait |
link=History |
|
| assertElementPresent |
link=1.2 |
|
| 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'] |
|
| assertTextPresent |
Comparing Versions 1.1 and 1.2 (Last Version) |
|
| assertTextPresent |
This is a wiki edited frontpage test. |
|
| 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[2]/table/tbody/tr/td |
This is a wiki edited frontpage test. |