open /sessions/logout
open /issues/search#resolved=true|statuses=OPEN
assertLocation */sessions/new*
assertElementPresent login_form
type id=login wrong login
type id=password wrong password
click commit
waitForText css=.alert *Authentication failed*
type id=login admin
type id=password admin
clickAndWait commit
assertLocation *#resolved=true|statuses=OPEN*