Test_01_status_detail_level
clickAndWait link=log in
type login_email admin@ica-atom.org
type login_password admin
clickAndWait //input[@name='commit' and @value='log in']
clickAndWait link=add/edit
clickAndWait link=add new
click link=identity area
type title Test for terms
select level_of_description_id label=Fonds
click link=context area
select repository_id label=City of Vancouver Archives
click link=add new
select newActorEvent_actorId label=City of Vancouver. Office of the City Clerk
click //span[@id='yui-gen3']/span/button
type newActorEvent_year 1999
clickAndWait //input[@name='commit' and @value='create']
clickAndWait //div[@id='header-bottom']/div[2]/ul/li[1]/ul/li[4]/a
click link=Description Detail Levels
clickAndWait link=add new Description Detail Levels
type name Bare bones
type new_scope_note Virtually nothing there!
clickAndWait //input[@name='commit' and @value='create']
clickAndWait link=list all taxonomies
click link=Description Statuses
clickAndWait link=add new Description Statuses
type name First attempt
type new_scope_note First stab at it.
clickAndWait //input[@name='commit' and @value='create']
verifyElementPresent link=First attempt
verifyTextPresent First stab at it.
clickAndWait link=list all taxonomies
click link=Description Detail Levels
verifyElementPresent link=Bare bones
verifyTextPresent Virtually nothing there!
click link=Levels of description
clickAndWait link=add new Levels of description
type name Folio
type new_scope_note A very small thing
clickAndWait //input[@name='commit' and @value='create']
verifyElementPresent link=Folio
verifyTextPresent A very small thing
clickAndWait //div[@id='header-bottom']/div[2]/ul/li[1]/ul/li[1]/a
clickAndWait link=Test for terms
clickAndWait link=edit archival description
click link=identity area
select level_of_description_id label=Folio
clickAndWait //input[@name='commit' and @value='save']
verifyElementPresent link=Folio - Test for terms
click link=control area
select description_status_id label=First attempt
select description_detail_id label=Bare bones
clickAndWait //input[@name='commit' and @value='save']
clickAndWait link=Folio - Test for terms
verifyTextPresent status
verifyTextPresent First attempt
verifyTextPresent detail
verifyTextPresent Bare bones
clickAndWait //div[@id='header-bottom']/div[2]/ul/li[1]/ul/li[4]/a
click link=Description Detail Levels
clickAndWait link=Bare bones
clickAndWait link=delete
assertConfirmation This term is linked to 1 other objects, are you sure you want to remove this term from *all* of these objects?
clickAndWait link=list all taxonomies
click link=Description Statuses
clickAndWait link=First attempt
click link=delete
assertConfirmation This term is linked to 1 other objects, are you sure you want to remove this term from *all* of these objects?
clickAndWait link=list all taxonomies
click link=Levels of description
clickAndWait link=Folio
type name Foolioo
clickAndWait //input[@name='commit' and @value='save']
clickAndWait //div[@id='header-bottom']/div[2]/ul/li[1]/ul/li[1]/a
clickAndWait link=Test for terms
verifyElementPresent link=Foolioo - Test for terms
clickAndWait //div[@id='header-bottom']/div[2]/ul/li[1]/ul/li[4]/a
click link=Levels of description
clickAndWait link=Foolioo
click link=delete
assertConfirmation This term is linked to 1 other objects, are you sure you want to remove this term from *all* of these objects?
clickAndWait //div[@id='header-bottom']/div[2]/ul/li[1]/ul/li[1]/a
clickAndWait link=Test for terms
verifyElementPresent link=Test for terms