Test_03_subjects_places
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=access points
click //span[@id='addSubjectAccessPointLink']/a
type addSubjectTermName Glossaries
type addSubjectTermScope Here is a scope note for Glossaries
click //button[@type='button']
click //span[@id='addPlaceAccessPointLink']/a
type addSubjectTermName New Westminster
type addSubjectTermScope Town near Vancouver
click //button[@type='button']
select subject_id label=Hotels
click //select[@id='subject_id1']/option[5]
clickAndWait //input[@name='commit' and @value='save']
clickAndWait link=Test for terms
verifyElementPresent link=Glossaries
verifyElementPresent link=Hotels
verifyElementPresent link=New Westminster
clickAndWait link=Hotels
verifyTextPresent Browse for 'Hotels' in 'Subjects' returned 2 results
clickAndWait link=Test for terms
clickAndWait link=Glossaries
verifyTextPresent Browse for 'Glossaries' in 'Subjects' returned 1 results
clickAndWait link=Test for terms
clickAndWait link=New Westminster
verifyTextPresent Browse for 'New Westminster' in 'Places' returned 1 results
clickAndWait link=Test for terms
clickAndWait //div[@id='header-bottom']/div[2]/ul/li[1]/ul/li[4]/a
click link=Subjects
verifyElementPresent link=Glossaries
verifyTextPresent Here is a scope note for Glossaries
click link=Places
verifyElementPresent link=New Westminster
verifyTextPresent Town near Vancouver
clickAndWait link=Glossaries
type name Taxonomies
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=Taxonomies
clickAndWait link=Taxonomies
verifyTextPresent Browse for 'Taxonomies' in 'Subjects' returned 1 results
select browseList label=subject
clickAndWait //input[@name='commit' and @value='browse']
verifyElementPresent link=Taxonomies
select browseList label=place
clickAndWait //input[@name='commit' and @value='browse']
verifyElementPresent link=New Westminster
clickAndWait //div[@id='header-bottom']/div[2]/ul/li[1]/ul/li[4]/a
click link=Subjects
clickAndWait link=Taxonomies
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=Places
clickAndWait link=New Westminster
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?