#{extends 'test/AbstractTest.html' /} #{set dataFile: 'moreNotes.yml'/} #{selenium} open('/') waitForCondition('var w = selenium.browserbot.getCurrentWindow(); w.jQuery && w.jQuery.active == 0', 2000) assertTextPresent('12 notes sync\'ed') verifyXpathCount('//tbody/tr', 10) assertAttribute('previousPage@style', 'display: none;*') assertAttribute('nextPage@style', 'display: inline;*') click('nextPage') verifyXpathCount('//tbody/tr', 2) assertAttribute('previousPage@style', 'display: inline;*') assertAttribute('nextPage@style', 'display: none;*') click('previousPage') assertTextPresent('note 1') assertTextPresent('note 10') #{/selenium}