TestDefaultQuery
comment Run SPARQL query that is the default upon installation
deleteAllVisibleCookies
open /vivo/
assertTitle VIVO
comment Must not be logged in already
clickAndWait link=Log in
assertTitle VIVO Site Administration
comment Must login as site admin
type username testAdmin@cornell.edu
type password Password
clickAndWait loginSubmitMode
assertTitle VIVO Site Administration
comment Navigate to SPARQL query option on the Site Administration page
clickAndWait link=SPARQL query
assertTitle SPARQL Query
clickAndWait //input[@value='Run Query']
comment Run query as is
assertTitle
comment Verify query output
verifyTextPresent geoLocation
verifyTextPresent <http://aims.fao.org/aos/geopolitical.owl#Antarctica>
verifyTextPresent label
verifyTextPresent "western Asia"^^<http://www.w3.org/2001/XMLSchema#string>
goBackAndWait
assertTitle SPARQL Query
comment Log out
clickAndWait link=Log out
assertTitle VIVO