...
note these are run manually, it might be possible to reconcile these test with this automated test suite : https://github.com/vivo-community/vivo-acceptance-tests
Linked Open Data
# From Site Admin: Create a new `Faculty Member` (Add individual)
** Record the new URI: http://localhost:8080/vivo/individual/n1323
# Verify `individual` endpoint:
Test | Platform | Tested by | Success? | Notes | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Smoke tests do not produce error (warning about email server is OK) | Mac Linux Windows | Linux Mint 19 Cinnamon | ||||||||||
2 | Home page displays correctly | Mac Linux Win/Lnx Windows | |||||||||||
3 | Log in as admin | Mac Linux Win/Lnx Windows | |||||||||||
4 | Site Admin page displays correctly | Mac Linux Win/Lnx | |||||||||||
5 | Each function on site admin display correctly | Mac Linux Win/Lnx Windows | All 24 links (including Data Input Pull down) display normally. Ontology list All looks good | ||||||||||
6 | Site Admin - Add Individual of this class: Faculty Member (People) Project (Activities) Course (Courses) Academic Article (Research) Presentation (Events) Academic Department (Organizations) Populated Place (Locations) | Mac Linux Win/Lnx Windows | Creation of a FacultyMember without a middle name results in extra whitespace attached to the end of rdfs:label value. The default list view for publications doesn't show the issue number for articles, which seems weird, but it appears to have been this way since at least 1.9 (as with the rds:label bug above). | ||||||||||
7 | Check required fields in creating classes | Mac Linux Win/Lnx Windows | |||||||||||
8 | Check menu entries (Home, People, Organizations, Events, Capability Map) | Mac Linux Win/Lnx Windows | |||||||||||
9 | Check Person display (logged out, logged in) | Mac Linux Windows | |||||||||||
10 | Add values to all Person attributes | Mac |
| All is a heavy lift. 64 attributes accessible from the person page, some of which lead to entities (publications, positions, etc)) each with their own attributes. Recommended: Add photo, overview, URL, research areas, position. Each exercises different functionality. | |||||||||
11 | Add research areas using vocabulary services | Mac | UMLS service requires registration key. See Release Notes. Unclear where this key would go. Other services respond as expected. BG: Created Jira issue for UMLS
| ||||||||||
12 | Check tabs on Person display (overview, publications, contact, etc.) | Mac Linux Win/Lnx | |||||||||||
13 | Add new publication to person (check required fields) | Mac Linux Win/Lnx | |||||||||||
14 | Check publication sparkline | Mac | |||||||||||
15 | Check manage publications (hide / show publications) | Mac Linux | |||||||||||
16 | Check Publication view | Mac Linux Win/Lnx | |||||||||||
17 | Check AltMetric badge (e.g. doi: 10.1038/nrmicro2331) | Mac Win/Lnx | Poor UI experience. I copied in the link, which copied in the HTML tagging, which led to showing the HTML tagging in the display. The edit form is open ended HTML, should be plain text. Should indicate what form of DOI is expected , or should accept with or without http:// without without "doi". | ||||||||||
18 | Add author(s) to publication | Mac Linux Win/Lnx | |||||||||||
19 | Check Person has co-author network | Mac Linux Win/Lnx | |||||||||||
20 | Check co-author network display | Mac Linux Win/Lnx | |||||||||||
21 | Add grants to Person | Mac Linux Win/Lnx | |||||||||||
22 | Add co-investigators to grants | Mac Linux Win/Lnx | |||||||||||
23 | Check Person has co-investigator network | Mac Linux Win/Lnx | |||||||||||
24 | Check co-investigator network display | Mac Linux Win/Lnx | |||||||||||
25 | Load Sample Data | Mac Linux | |||||||||||
26 | Check Capability Map | Mac Linux | Need more sample data with more concepts for more extensive tests. | ||||||||||
27 | Check Map of Science | Mac Win/Lnx | |||||||||||
28 | Check Temporal Graph | Mac Linux | |||||||||||
29 | Search for "Derrida" | Mac Linux | |||||||||||
30 | Check index page | Mac Linux Win/Lnx |
| ||||||||||
31 | Create self editor login associated with profile | Mac Linux | Updated documentation to describe how this is done. See Creating and Managing User Accounts#AssociatingUserAccountswithProfilePages | ||||||||||
32 | Log in as self editor. Verify can edit self, cannot edit others. | Mac Linux | |||||||||||
33 | Add and confirm an ORCiD | Mac Linux | ORCiD API configuration requires clientId and clientPassword and public VIVO. See Activating the ORCID integration | ||||||||||
34 | Create editor and assign proxy editing | Mac Windows | Created user account with editor role and assigned proxy editing. Also switched to self-editor role. | ||||||||||
35 | Log in as proxy editor. Verify can edit proxied profile, cannot edit others. | Mac Windows | When logged in as self-editor designated as a proxy editor, I can only edit the proxied profile and not a different profile. When logged in as editor (i.e. the editor role which is different from self-editor), I can edit the proxied profile but also other profiles. Works as it should. | ||||||||||
36 | Check TPF endpoint (enable if necessary) | Mac Linux Windows | Works as designed. 45,279 triples with VIVO data, sample data, and some manually entered test data. Design needs work. /tpf/core displayed triples and enabled triple pattern matching by subject,predicate, or object. (43,173 triples in total) | ||||||||||
37 | Run a SPARQL query | Mac Linux Windows |
API Tests (reference: VIVO APIs)
curl -i -d 'email=vivo_root@mydomain.edu' -d 'password=xxx' -d 'query=SELECT ?p ?o WHERE {<http://vivoweb.org/ontology/core#FacultyMember> ?p ?o} LIMIT 5' -H 'Accept: application/sparql-results+json' ' |
API Tests (reference: VIVO APIs)
Test | Platform | Tested by | Success? | Notes | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Linked Open Data | individual/n1323 -L -H "Accept: text/turtle"Linux | Ralph O'Flinn | curl # From Site Admin: Create a new `Faculty Member` (Add individual) individual/n1323
| 3 | Triple Pattern Fragments
http://localhost:8080/vivo/tpf curl http://localhost:8080/vivo/tpf/core
for windows using cURL for Windows 7.46 | |||||||||||
ListRDF | Linux | Ralph O'Flinn | curl http://localhost:8080/vivo/listrdf -d 'vclass=http://vivoweb.org/ontology/core#Continent' curl http://localhost:8080/vivo/listrdf -d vclass=http://vivoweb.org/ontology/core#Continent | ||||||||||||||
3 | Triple Pattern Fragments http://localhost:8080/vivo/tpf/core | Linux | # Verify browsing: Minor observation: When TPF is disabled, it's great that the exception thrown explains how to enable it, but returning a 500 code with a stacktrace doesn't necessarily seem like the most graceful way of handling the situation. I might expect a 404 (TPF server simply doesn't exist on the site) or maybe a 501? (Request is valid, but functionality is not implemented.) The 500/stacktrace suggests to me that something is wrong with my installation. # Verify direct access: | ||||||||||||||
4 | SPARQL Query API | Linux Windows | |||||||||||||||
5 | SPARQL Update API | Linux Windows | API works. In the course of loading approx. 90K triples via the API, this search index-related warning appeared in the log a handful of times: 2019-09-26 16:26:39,453 WARN [ConcurrentUpdateSolrClient] No more runners, but queue still has 1 adding more runners to process remaining requests on queue | ||||||||||||||
6 | Search Indexing API | Linux | This works in the UI, but unable to get "curl" to work. Using: curl -i -XPOST -d 'email=vivo_root@mydomain.edu' -d 'password=xxx' -d 'datafile=@uriList.txt' ' | Linux | # Verify browsing: # Verify direct access: | 4 | SPARQL Query API | Linux | 5 | SPARQL Update API | Linux | 6 | Search Indexing API | Linux | |||
7 | Data Distribution API | macOs Linux | Did not work following instructions for 1.10. Changing the DDAPI version from 1.1 to 1.1.1 DID work. Following instructions for building a snapshot version, which involved adding a repository tag, also worked. Huda KhanDo you have the ability to create instructions on cul-it.github.io for 1.11? . Pull request submitted to DDAPI repo to update documentation: https://github.com/vivo-community/vivo-data-distribution-api/pull/9 | ||||||||||||||
8 | Direct2Experts API | Linux Mac | |||||||||||||||
9 | Json-ld and rdf/xml individual pages |
Unload/Load Tests
Test | Platform | Tested by | Success? | Notes | |
---|---|---|---|---|---|
1 | Load data using the Harvester | Linux | |||
2 | Unload using jena2tools -e (using jena3tools -e Andrew Woods ) | Windows | Linux | |||
3 | Load using jena3tools -i | Windows | Linux | |||
4 | Load sample data to a named graph | Windows | Linux | Ralph O'Flinn | ||
5 | Remove sample data named graph | Windows | Linux | Ralph O'Flinn |
...