CompareVersionsTest
waitForElementPresent link=Wiki Test Page
clickAndWait link=Wiki Test Page
clickAndWait link=Second Edited Wiki Test
clickAndWait link=Details
clickAndWait link=History
waitForElementPresent _36_rowIds
click _36_rowIds
assertChecked _36_rowIds
waitForElementPresent //input[@name='_36_rowIds' and @value='1.0']
click //input[@name='_36_rowIds' and @value='1.0']
assertChecked //input[@name='_36_rowIds' and @value='1.0']
clickAndWait //input[@value='Compare Versions']
assertText //div[2]/div/div/table/tbody/tr[1]/td[2] FrontPage 1.3
assertText //div[2]/div/div/table/tbody/tr[1]/td[1] FrontPage 1.0
assertTextPresent I love Liferay! This Wiki has been EDITED!
assertTextPresent Oh NOES! I've made a minor change. Please revert this!
clickAndWait link=Return to Full Page