diff --git a/utilities/acceptance-tests/suites/LinkedOpenData/AddTestRDF.html b/utilities/acceptance-tests/suites/LinkedOpenData/AddTestRDF.html new file mode 100644 index 00000000..8a9fe97d --- /dev/null +++ b/utilities/acceptance-tests/suites/LinkedOpenData/AddTestRDF.html @@ -0,0 +1,124 @@ + + + + + + +CreateTestFacultyMember + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CreateTestFacultyMember
deleteAllVisibleCookies
setTimeout100000000000
open/vivo/
assertTitleVIVO
clickAndWaitlink=Log in
assertTitleLog in to VIVO
typeid=loginNametestAdmin@cornell.edu
typeid=loginPasswordPassword
clickAndWaitname=loginForm
assertTitleVIVO
clickAndWaitlink=Site Admin
assertTitleVIVO Site Administration
clickAndWaitlink=Add/Remove RDF data
assertTitleIngest RDF Data
typename=rdfStreamC:\VIVO\vivo\utilities\acceptance-tests\suites\LinkedOpenData\TestLinkedOpenData.n3
selectname=languagelabel=N3
clickAndWaitid=submit
assertTitleIngest RDF Data
verifyTextPresentRDF upload successful.
open/vivo/
clickAndWaitlink=Log out
+ + diff --git a/utilities/acceptance-tests/suites/LinkedOpenData/CheckDataHiding.html b/utilities/acceptance-tests/suites/LinkedOpenData/CheckDataHiding.html index 02744c34..09a0a143 100644 --- a/utilities/acceptance-tests/suites/LinkedOpenData/CheckDataHiding.html +++ b/utilities/acceptance-tests/suites/LinkedOpenData/CheckDataHiding.html @@ -36,18 +36,29 @@ open - /vivo/individual/lodFacultyMember/lodFacultyMember.rdf + /testApp/TestLinkedOpenData.html + + + + click + id=N3_EXTENSION_button - pause - 10000 + 5000 + + + + verifyTextPresent + vivo:eRACommonsId + + + + verifyTextNotPresent + vivo:scopusId - - - @@ -94,18 +105,29 @@ open - /vivo/individual/lodFacultyMember/lodFacultyMember.rdf + /testApp/TestLinkedOpenData.html + + + + click + id=N3_EXTENSION_button - pause - 10000 + 5000 + + + + verifyTextPresent + vivo:eRACommonsId + + + + verifyTextPresent + vivo:scopusId - - - open diff --git a/utilities/acceptance-tests/suites/LinkedOpenData/RemoveTestRDF.html b/utilities/acceptance-tests/suites/LinkedOpenData/RemoveTestRDF.html new file mode 100644 index 00000000..546567d9 --- /dev/null +++ b/utilities/acceptance-tests/suites/LinkedOpenData/RemoveTestRDF.html @@ -0,0 +1,129 @@ + + + + + + +CreateTestFacultyMember + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CreateTestFacultyMember
deleteAllVisibleCookies
setTimeout100000000000
open/vivo/
assertTitleVIVO
clickAndWaitlink=Log in
assertTitleLog in to VIVO
typeid=loginNametestAdmin@cornell.edu
typeid=loginPasswordPassword
clickAndWaitname=loginForm
assertTitleVIVO
clickAndWaitlink=Site Admin
assertTitleVIVO Site Administration
clickAndWaitlink=Add/Remove RDF data
assertTitleIngest RDF Data
typename=rdfStreamC:\VIVO\vivo\utilities\acceptance-tests\suites\LinkedOpenData\TestLinkedOpenData.n3
clickxpath=(//input[@name='mode'])[3]
selectname=languagelabel=N3
clickAndWaitid=submit
assertTitleIngest RDF Data
verifyTextPresentRemoved RDF from file TestLinkedOpenData.n3. Removed 33 statements.
open/vivo/
clickAndWaitlink=Log out
+ + diff --git a/utilities/acceptance-tests/suites/LinkedOpenData/Suite.html b/utilities/acceptance-tests/suites/LinkedOpenData/Suite.html index 985a3c1d..3f910563 100644 --- a/utilities/acceptance-tests/suites/LinkedOpenData/Suite.html +++ b/utilities/acceptance-tests/suites/LinkedOpenData/Suite.html @@ -9,10 +9,11 @@ + - +
Test Suite
RebuildSearchIndex
AddTestRDF
TestUserCreated
TestVariousRequests
CheckDataHiding
TestRDFAccept
RemoveTestRDF
diff --git a/utilities/acceptance-tests/suites/LinkedOpenData/TestRDFAccept.html b/utilities/acceptance-tests/suites/LinkedOpenData/TestRDFAccept.html deleted file mode 100644 index 61c18360..00000000 --- a/utilities/acceptance-tests/suites/LinkedOpenData/TestRDFAccept.html +++ /dev/null @@ -1,723 +0,0 @@ - - - - - - -CreateTestFacultyMember - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CreateTestFacultyMember
deleteAllVisibleCookies
setTimeout100000000000
open/vivo/
assertTitleVIVO
clickAndWaitlink=Log in
assertTitleLog in to VIVO
typeid=loginNametestAdmin@cornell.edu
typeid=loginPasswordPassword
clickAndWaitname=loginForm
assertTitleVIVO
open/vivo/TestLinkedOpenData.html
verifyTextPresentTest the Linked Open Data requests
verifyTextPresentTry various accept headers
verifyElementPresentid=RDFXML_button
verifyElementPresentid=N3_button
verifyElementPresentid=TTL_button
verifyElementPresentid=JSONLD_button
verifyTextPresentTry non-existent URI with RDFXML accept header
verifyElementPresentid=BOGUS_URI_button
verifyElementPresentid=BOGUS_ACCEPT_button
verifyElementPresentid=BOGUS_FORMAT_button
verifyElementPresentid=BOGUS_EXTENSION_button
verifyTextPresentResponse data
verifyElementPresentid=CLEAR_button
verifyTextPresentResponse code is 000
verifyTextPresentMIME type is No type
verifyTextPresentText is:
verifyTextPresentNo text
clickid=RDFXML_button
pause5000
verifyTextPresentResponse code is 200
verifyTextPresentMIME type is application/rdf+xml
verifyTextPresentText is:
verifyTextNotPresentNo text
verifyTextPresent<rdf:RDF xmlns:vitro-public="http://vitro.mannlib.cornell.edu/ns/vitro/public#" xmlns:c4o="http://purl.org/spar/c4o/" xmlns:geo="http://aims.fao.org/aos/geopolitical.owl#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:obo="http://purl.obolibrary.org/obo/" xmlns:ocrer="http://purl.org/net/OCRe/research.owl#" xmlns:event="http://purl.org/NET/c4dm/event.owl#"
clickid=CLEAR_button
pause5000
verifyTextPresentResponse code is 000
verifyTextPresentMIME type is No type
verifyTextPresentText is:
verifyTextPresentNo text
clickid=N3_button
pause5000
verifyTextPresentResponse code is 200
verifyTextPresentMIME type is text/n3
verifyTextPresentText is:
verifyTextNotPresentNo text
verifyTextPresent@prefix ocresd: <http://purl.org/net/OCRe/study_design.owl#> . @prefix geo: <http://aims.fao.org/aos/geopolitical.owl#> . @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix scires: <http://vivoweb.org/ontology/scientific-research#> . @prefix cito: <http://purl.org/spar/cito/> . @prefix fabio: <http://purl.org/spar/fabio/> . @prefix vcard: <http://www.w3.org/2006/vcard/ns#> .
clickid=CLEAR_button
pause5000
verifyTextPresentResponse code is 000
verifyTextPresentMIME type is No type
verifyTextPresentText is:
verifyTextPresentNo text
clickid=TTL_button
pause5000
verifyTextPresentResponse code is 200
verifyTextPresentMIME type is text/turtle
verifyTextPresentText is:
verifyTextNotPresentNo text
verifyTextPresent@prefix ocresd: <http://purl.org/net/OCRe/study_design.owl#> . @prefix geo: <http://aims.fao.org/aos/geopolitical.owl#> . @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix scires: <http://vivoweb.org/ontology/scientific-research#> . @prefix cito: <http://purl.org/spar/cito/> . @prefix fabio: <http://purl.org/spar/fabio/> . @prefix vcard: <http://www.w3.org/2006/vcard/ns#> .
clickid=CLEAR_button
pause5000
verifyTextPresentResponse code is 000
verifyTextPresentMIME type is No type
verifyTextPresentText is:
verifyTextPresentNo text
clickid=JSONLD_button
pause5000
verifyTextPresentResponse code is 200
verifyTextPresentMIME type is application/json
verifyTextPresentText is:
verifyTextNotPresentNo text
clickid=CLEAR_button
pause5000
verifyTextPresentResponse code is 000
verifyTextPresentMIME type is No type
verifyTextPresentText is:
verifyTextPresentNo text
clickid=BOGUS_URI_button
pause5000
verifyTextPresentResponse code is 404
verifyTextPresentMIME type is text/html
verifyTextPresentText is:
verifyTextNotPresentNo text
verifyTextPresent<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <!-- Google Chrome Frame open source plug-in brings Google Chrome's open web technologies and speedy JavaScript engine to Internet Explorer--> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Individual Not Found</title> <!-- vitro base styles (application-wide) --> <link
clickid=CLEAR_button
pause5000
verifyTextPresentResponse code is 000
verifyTextPresentMIME type is No type
verifyTextPresentText is:
verifyTextPresentNo text
clickid=BOGUS_ACCEPT_button
pause5000
verifyTextPresentResponse code is 200
verifyTextPresentMIME type is text/html
verifyTextPresentText is:
verifyTextNotPresentNo text
verifyTextPresent<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <!-- Google Chrome Frame open source plug-in brings Google Chrome's open web technologies and speedy JavaScript engine to Internet Explorer--> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Example, Bad </title> <!-- vitro base styles (application-wide) --> <link
verifyTextPresentMr. Bad Example
clickid=CLEAR_button
pause5000
verifyTextPresentResponse code is 000
verifyTextPresentMIME type is No type
verifyTextPresentText is:
verifyTextPresentNo text
clickid=BOGUS_FORMAT_button
pause5000
verifyTextPresentResponse code is 200
verifyTextPresentMIME type is text/html
verifyTextPresentText is:
verifyTextNotPresentNo text
verifyTextPresent<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <!-- Google Chrome Frame open source plug-in brings Google Chrome's open web technologies and speedy JavaScript engine to Internet Explorer--> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Example, Bad </title> <!-- vitro base styles (application-wide) --> <link
verifyTextPresentMr. Bad Example
clickid=CLEAR_button
pause5000
verifyTextPresentResponse code is 000
verifyTextPresentMIME type is No type
verifyTextPresentText is:
verifyTextPresentNo text
clickid=BOGUS_EXTENSION_button
pause5000
verifyTextPresentResponse code is 404
verifyTextPresentMIME type is text/html
verifyTextPresentText is:
verifyTextNotPresentNo text
verifyTextPresent<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <!-- Google Chrome Frame open source plug-in brings Google Chrome's open web technologies and speedy JavaScript engine to Internet Explorer--> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Individual Not Found</title> <!-- vitro base styles (application-wide) --> <link
verifyTextNotPresentMr. Bad Example
verifyTextPresentIndividual not found
clickid=CLEAR_button
pause5000
verifyTextPresentResponse code is 000
verifyTextPresentMIME type is No type
verifyTextPresentText is:
verifyTextPresentNo text
open/vivo/
clickAndWaitlink=Log out
- - diff --git a/utilities/acceptance-tests/suites/LinkedOpenData/TestVariousRequests.html b/utilities/acceptance-tests/suites/LinkedOpenData/TestVariousRequests.html index 598ad1ae..be5e6692 100644 --- a/utilities/acceptance-tests/suites/LinkedOpenData/TestVariousRequests.html +++ b/utilities/acceptance-tests/suites/LinkedOpenData/TestVariousRequests.html @@ -62,10 +62,9 @@ VIVO - open - /vivo/TestLinkedOpenData.html + /testApp/TestLinkedOpenData.html @@ -75,15 +74,19 @@ - - clickAndWait + click id=N3_EXTENSION_button + + pause + 5000 + + verifyTextPresent - Request URL is individual/lodFacultyMember/lodFacultyMember.n3 + Request URL is /vivo/individual/lodFacultyMember/lodFacultyMember.n3 @@ -173,10 +176,9 @@ - open - /vivo/TestLinkedOpenData.html + /testApp/TestLinkedOpenData.html @@ -184,9 +186,14 @@ id=RDFXML_EXTENSION_button + + pause + 5000 + + verifyTextPresent - Request URL is individual/lodFacultyMember/lodFacultyMember.rdf + Request URL is /vivo/individual/lodFacultyMember/lodFacultyMember.rdf @@ -226,6 +233,11 @@ id=CLEAR_RESPONSE_button + + pause + 5000 + + verifyTextPresent Response code is 000 @@ -248,13 +260,18 @@ - clickAndWait + click id=N3_EXTENSION_button + + pause + 5000 + + verifyTextPresent - Request URL is individual/lodFacultyMember/lodFacultyMember.n3 + Request URL is /vivo/individual/lodFacultyMember/lodFacultyMember.n3 @@ -294,6 +311,11 @@ id=CLEAR_RESPONSE_button + + pause + 5000 + + verifyTextPresent Response code is 000 @@ -320,9 +342,14 @@ id=TTL_EXTENSION_button + + pause + 5000 + + verifyTextPresent - Request URL is individual/lodFacultyMember/lodFacultyMember.ttl + Request URL is /vivo/individual/lodFacultyMember/lodFacultyMember.ttl @@ -362,6 +389,11 @@ id=CLEAR_RESPONSE_button + + pause + 5000 + + verifyTextPresent Response code is 000 @@ -388,9 +420,14 @@ id=JSONLD_EXTENSION_button + + pause + 5000 + + verifyTextPresent - Request URL is individual/lodFacultyMember/lodFacultyMember.jsonld + Request URL is /vivo/individual/lodFacultyMember/lodFacultyMember.jsonld @@ -415,7 +452,7 @@ verifyTextPresent - [{"@id":"http://localhost:8080/vivo/individual/lodFacultyMember/lodFacultyMember.jsonld","http://purl.org/dc/elements/1.1/rights":[{"@id":"http://vivo.mydomain.edu/termsOfUse"}],"http://purl.org/dc/elements/1.1/date":[{"@value":"2014-03-14T16:54:12" + [{"@id":"http://localhost:8080/vivo/individual/lodFacultyMember/lodFacultyMember.jsonld" @@ -430,6 +467,11 @@ id=CLEAR_RESPONSE_button + + pause + 5000 + + verifyTextPresent Response code is 000 @@ -451,15 +493,97 @@ - - clickAndWait - id=N3_EXTENSION_button + click + id=RDFXML_FORMAT_button + + + + pause + 5000 verifyTextPresent - Request URL is individual/lodFacultyMember/lodFacultyMember.n3 + Request URL is /vivo/individual/lodFacultyMember?format=rdfxml + + + + verifyTextPresent + Accept header is No header + + + + verifyTextPresent + Response code is 200 + + + + verifyTextPresent + MIME type is application/rdf+xml + + + + verifyTextPresent + Text is: + + + + verifyTextPresent + <rdf:RDF + + + + + pause + 10000 + + + + + click + id=CLEAR_RESPONSE_button + + + + pause + 5000 + + + + verifyTextPresent + Response code is 000 + + + + verifyTextPresent + MIME type is No type + + + + verifyTextPresent + Text is: + + + + verifyTextPresent + No text + + + + + click + id=N3_FORMAT_button + + + + pause + 5000 + + + + verifyTextPresent + Request URL is /vivo/individual/lodFacultyMember @@ -499,6 +623,167 @@ id=CLEAR_RESPONSE_button + + pause + 5000 + + + + verifyTextPresent + Response code is 000 + + + + verifyTextPresent + MIME type is No type + + + + verifyTextPresent + Text is: + + + + verifyTextPresent + No text + + + + + click + id=TTL_FORMAT_button + + + + pause + 5000 + + + + verifyTextPresent + Request URL is /vivo/individual/lodFacultyMember + + + + verifyTextPresent + Accept header is No header + + + + verifyTextPresent + Response code is 200 + + + + verifyTextPresent + MIME type is text/turtle + + + + verifyTextPresent + Text is: + + + + verifyTextPresent + @prefix + + + + + pause + 10000 + + + + + click + id=CLEAR_RESPONSE_button + + + + pause + 5000 + + + + verifyTextPresent + Response code is 000 + + + + verifyTextPresent + MIME type is No type + + + + verifyTextPresent + Text is: + + + + verifyTextPresent + No text + + + + + click + id=JSONLD_FORMAT_button + + + + pause + 5000 + + + + verifyTextPresent + Request URL is /vivo/individual/lodFacultyMember + + + + verifyTextPresent + Accept header is No header + + + + verifyTextPresent + Response code is 200 + + + + verifyTextPresent + MIME type is application/json + + + + verifyTextPresent + Text is: + + + + verifyTextPresent + [{"@id":"http://localhost:8080/vivo/individual/lodFacultyMember" + + + + + pause + 10000 + + + + + click + id=CLEAR_RESPONSE_button + + + + pause + 5000 + + verifyTextPresent Response code is 000 @@ -520,20 +805,102 @@ + + click + id=RDFXML_HEADER_button + + + + pause + 5000 + + + + verifyTextPresent + Request URL is /vivo/individual/lodFacultyMember + + + + verifyTextPresent + Accept header is application/rdf+xml + + + + verifyTextPresent + Response code is 200 + + + + verifyTextPresent + MIME type is application/rdf+xml + + + + verifyTextPresent + Text is: + + + + verifyTextPresent + <rdf:RDF + + + + + pause + 10000 + + - clickAndWait - id=N3_EXTENSION_button + click + id=CLEAR_RESPONSE_button + + + + pause + 5000 verifyTextPresent - Request URL is individual/lodFacultyMember/lodFacultyMember.n3 + Response code is 000 verifyTextPresent - Accept header is No header + MIME type is No type + + + + verifyTextPresent + Text is: + + + + verifyTextPresent + No text + + + + + click + id=N3_HEADER_button + + + + pause + 5000 + + + + verifyTextPresent + Request URL is /vivo/individual/lodFacultyMember + + + + verifyTextPresent + Accept header is text/n3 @@ -568,6 +935,11 @@ id=CLEAR_RESPONSE_button + + pause + 5000 + + verifyTextPresent Response code is 000 @@ -583,8 +955,52 @@ Text is: - + + verifyTextPresent + No text + + + + click + id=TTL_HEADER_button + + + + pause + 5000 + + + + verifyTextPresent + Request URL is /vivo/individual/lodFacultyMember + + + + verifyTextPresent + Accept header is text/turtle + + + + verifyTextPresent + Response code is 200 + + + + verifyTextPresent + MIME type is text/turtle + + + + verifyTextPresent + Text is: + + + + verifyTextPresent + @prefix + + pause @@ -592,17 +1008,473 @@ - - clickAndWait - link=Log out + click + id=CLEAR_RESPONSE_button + + pause + 5000 + + + + verifyTextPresent + Response code is 000 + + + + verifyTextPresent + MIME type is No type + + + + verifyTextPresent + Text is: + + + + verifyTextPresent + No text + + + + + click + id=JSONLD_HEADER_button + + + + pause + 5000 + + + + verifyTextPresent + Request URL is /vivo/individual/lodFacultyMember + + + + verifyTextPresent + Accept header is application/json + + + + verifyTextPresent + Response code is 200 + + + + verifyTextPresent + MIME type is application/json + + + + verifyTextPresent + Text is: + + + + verifyTextPresent + [{"@id":"http://localhost:8080/vivo/individual/lodFacultyMember/lodFacultyMember.jsonld" + + + + + pause + 10000 + + + + + click + id=CLEAR_RESPONSE_button + + + + pause + 5000 + + + + verifyTextPresent + Response code is 000 + + + + verifyTextPresent + MIME type is No type + + + + verifyTextPresent + Text is: + + + + verifyTextPresent + No text + + + + + click + id=BOGUS_URI_button + + + + pause + 5000 + + + + verifyText + id=requestUrl + /vivo/individual/lodFacultyMemberXX + + + verifyText + id=acceptHeader + application/rdf+xml + + + verifyText + //div[3] + Response code is 404 + + + verifyText + //div[4] + MIME type is text/html + + + verifyText + //div[5] + Text is: + + + verifyTextPresent + <!DOCTYPE html> + + + + verifyTextPresent + Individual Not Found + + + + + click + id=CLEAR_RESPONSE_button + + + + pause + 5000 + + + + verifyText + id=requestUrl + /vivo/individual/lodFacultyMemberXX + + + verifyText + //div[2] + Accept header is application/rdf+xml + + + verifyText + //div[3] + Response code is 000 + + + verifyText + //div[4] + MIME type is No type + + + verifyText + //div[5] + Text is: + + + verifyText + id=responseText + No text + + + + click + id=BOGUS_ACCEPT_button + + + + pause + 5000 + + + + verifyText + css=div + Request URL is /vivo/individual/lodFacultyMember + + + verifyText + //div[2] + Accept header is image/png + + + verifyText + //div[3] + Response code is 200 + + + verifyText + //div[4] + MIME type is text/html + + + verifyText + //div[5] + Text is: + + + verifyTextPresent + <!DOCTYPE html> + + + + verifyTextPresent + Example, Bad + + + + + click + id=CLEAR_RESPONSE_button + + + + pause + 5000 + + + + verifyText + css=div + Request URL is /vivo/individual/lodFacultyMember + + + verifyText + //div[2] + Accept header is image/png + + + verifyText + //div[3] + Response code is 000 + + + verifyText + //div[4] + MIME type is No type + + + verifyText + //div[5] + Text is: + + + verifyText + id=responseText + No text + + + + click + id=BOGUS_FORMAT_button + + + + pause + 5000 + + + + verifyText + css=div + exact:Request URL is /vivo/individual/lodFacultyMember?format=bogus + + + verifyText + //div[2] + Accept header is No header + + + verifyText + //div[3] + Response code is 200 + + + verifyText + //div[4] + MIME type is text/html + + + verifyText + //div[5] + Text is: + + + verifyTextPresent + <!DOCTYPE html> + + + + verifyTextPresent + Example, Bad + + + + + click + id=CLEAR_RESPONSE_button + + + + pause + 5000 + + + + verifyText + id=requestUrl + exact:/vivo/individual/lodFacultyMember?format=bogus + + + verifyText + //div[2] + Accept header is No header + + + verifyText + //div[3] + Response code is 000 + + + verifyText + //div[4] + MIME type is No type + + + verifyText + //div[5] + Text is: + + + verifyText + id=responseText + No text + + + + click + id=BOGUS_EXTENSION_button + + + + pause + 5000 + + + + verifyText + id=requestUrl + /vivo/individual/lodFacultyMember/lodFacultyMember.bogus + + + verifyText + //div[2] + Accept header is No header + + + verifyText + //div[3] + Response code is 404 + + + verifyText + //div[4] + MIME type is text/html + + + verifyText + //div[5] + Text is: + + + verifyTextPresent + <!DOCTYPE html> + + + + verifyTextPresent + Individual Not Found + + + + + click + id=CLEAR_RESPONSE_button + + + + pause + 5000 + + + + verifyText + id=requestUrl + /vivo/individual/lodFacultyMember/lodFacultyMember.bogus + + + verifyText + //div[2] + Accept header is No header + + + verifyText + //div[3] + Response code is 000 + + + verifyText + //div[4] + MIME type is No type + + + verifyText + //div[5] + Text is: + + + verifyText + id=responseText + No text + + open /vivo/ + + clickAndWait + link=Log out + +