#{extends 'test/AbstractTest.html' /}
#{selenium}
open('/')
waitForCondition('var w = selenium.browserbot.getCurrentWindow(); w.jQuery && w.jQuery.active == 0', 2000)
click('css=input[value="Remove"]')
waitForCondition('var w = selenium.browserbot.getCurrentWindow(); w.jQuery && w.jQuery.active == 0', 2000)
assertTextNotPresent('note 3')
open('/Test/showServerNote?name=note 3')
assertTextPresent('archived=true')
#{/selenium}