test_bibedit_basic_record_locking
open http://localhost
clickAndWait link=login
type p_un balthasar
type p_pw b123althasar
clickAndWait action
open http://localhost/record/edit/?ln=en
type txtSearchPattern 40
click btnSearch
waitForText cellStatus Record loaded
waitForText cellStatus Ready
verifyText content_001_0 40
clickAndWait link=logout
clickAndWait link=login
type p_un romeo
type p_pw r123omeo
clickAndWait action
open http://localhost/record/edit/?ln=en
type txtSearchPattern 40
click btnSearch
waitForText cellStatus Error: Record locked by user
verifyText bibEditMessage This record is currently being edited by another user. Please try again later.
clickAndWait link=logout
clickAndWait link=login
type p_un balthasar
type p_pw b123althasar
clickAndWait action
open http://localhost/record/edit/?ln=en
type txtSearchPattern 40
click btnSearch
waitForText cellStatus Record loaded
waitForText cellStatus Ready
verifyText content_001_0 40
click btnCancel
waitForText cellStatus Cancelled
waitForText cellStatus Ready
clickAndWait link=logout