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 Log in to VIVO
comment Must login as site admin
type loginName testAdmin@cornell.edu
type loginPassword Password
clickAndWait loginForm
clickAndWait link=Site Admin
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#Kyrgyzstan>
verifyTextPresent label
verifyTextPresent "Kyrgyzstan"^^<http://www.w3.org/2001/XMLSchema#string>
goBackAndWait
assertTitle SPARQL Query
comment Log out
clickAndWait link=Log out
assertTitle VIVO