...
- Prepare installation, see above
Empty MySQL database
Code Block language bash mysql -u root -p mysql> drop database vitrodb mysql> CREATE DATABASE vitrodb CHARACTER SET utf8; mysql> GRANT ALL ON vitrodb.* TO 'vitrodbUsername'@'localhost' IDENTIFIED BY 'vitrodbPassword';
Remove application data
Code Block language bash rm -rf ${VIVO_HOME}/tdbModels/* rm -rf ${VIVO_HOME}/solr/data/*
Start Tomcat
Code Block language bash sudo service tomcat8 restart
UI Tests
Test | Platform | Tested by | Success? | Notes | |
---|---|---|---|---|---|
1 | Smoke tests do not produce error (warning about email server is OK) | Mac Linux Windows Win/Lnx | |||
2 | Home page displays correctly | Mac Linux Win/Lnx |
| Wait for indexing, refresh. | |
3 | Log in as admin | Mac Linux Win/Lnx |
| ||
4 | Site Admin page displays correctly | Mac Linux Win/Lnx |
| Shows startup status warning re email | |
5 | Each function on site admin display correctly | Mac Win/Lnx |
| 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 |
Works as designed | |||||
7 | Check required fields in creating classes | Mac |
| Not sure what this test is? VIVO only requires labels as individuals are created. | |
8 | Check menu entries (Home, People, Organizations, Events, Capability Map) | Mac Linux Win/Lnx | Works as designed. | ||
9 | Check Person display (logged out, logged in) | Mac Linux Win/Lnx |
Works as designed. | |||||
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 | Unable to complete | UMLS service requires registration key. See Release Notes. Unclear where this key would go. Other services respond as expected. |
Check tabs on Person display
(overview, publications, contact, etc.)
Mac
Linux
BG: Created Jira issue for UMLS
| ||||||||
12 | Check tabs on Person display (overview, publications, contact, etc.) | Mac Linux Win/Lnx | Works as designed. | |||||
13 | Add new publication to person (check required fields) | Mac Linux Win/Lnx | Works as designed. | |||||
14 | Check publication sparkline | Mac |
The Information icon
Works as designed.
Was I going crazy? It works. | |||||
15 | Check manage publications (hide / show publications) | Mac Linux | Works as designed. (I don't think I'd ever tried this. Works well.) | ||
16 | Check Publication view | Mac Linux Win/Lnx | Works as designed. | ||
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 |
| Works as designed. | |
19 | Check Person has co-author network | Mac Linux |
Win/Lnx | Works as designed. | ||||
20 | Check co-author network display | Mac Linux Win/Lnx | Works as designed | ||
21 | Add grants to Person | Mac Linux Win/Lnx |
Works as designed | ||||
22 | Add co-investigators to grants | Mac Linux Win/Lnx |
Works as designed | ||
23 | Check Person has co-investigator network | Mac |
Linux Win/Lnx |
Works as designed | ||||
24 | Check co-investigator network display | Mac Linux Win/Lnx |
Works as designed | |||||
25 | Load Sample Data | Mac Linux | | sample-data.n3 loaded from https://github.com/vivo-project/sample-data/blob/master/sample-data.n3 | |
26 | Check Capability Map | Mac Linux | | Works as designed. Need more sample data with more concepts for more extensive tests. | |
27 | Check Map of Science | Mac Win/Lnx | Unable to complete ⚠️ | Testing requires google maps key configured in runtime.properties. Works. Info popups work but top two are buggy, want to disappear quickly and link in popup is impossible to click. Also seeing different numbers in CSV export for Disciplines vs what is shown in table on page. Subdiscipline csv export numbers look okay. | |
28 | Check Temporal Graph | Mac Linux | | Works as designed | |
29 | Search for "Derrida" | Mac Linux |
Works as designed | |||||
30 | Check index page | Mac Linux Win/Lnx |
| Works as designed | |
31 | Create self editor login associated with profile | Mac |
Works as designed. 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 |
| Works as designed. | |
33 | Add and confirm an ORCiD | Mac | Unable to complete | ORCiD API configuration requires clientId and clientPassword and public VIVO. See Activating the ORCID integration | |
34 | Create editor and assign proxy editing | Mac Windows | Works as designed. 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 |
| works as designed. 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 | Mac 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 Windows |
| Chrome: Screen appeared to be showing all prefixes, then flashed and was replaced by screen showing just five prefixes. Query ran fine, but prefixes should appear in the default SPARQL query window. See SPARQL Prefixes missing 2018-06-03 14.50.25.png May be user error – perhaps caching this screen? I removed all cache and retried, but behavior remained. Note from Benjamin Gross: Re: Above... I'm not sure what the mechanism for caching is, but I think that's what is happening. I got all the normal prefixes the first time as expected. Safari: works as designed On Windows, tested in Firefox with same query as in screenshot above: "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?s ?o WHERE {?s rdfs:subClassOf ?o .}" and items were returned. In Chrome, ran default query that shows up when you first to the Sparql query page (if you haven't been there in that browser) and that also ran successfully. |
API Tests (reference: VIVO APIs)
Test | Platform | Tested by | Success? | Notes | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Linked Open Data | Linux | # From Site Admin: Create a new `Faculty Member` (Add individual)
for windows using cURL for Windows 7.46 | ||||||||||
ListRDF | Linux | curl http://localhost:8080/vivo/listrdf -d 'vclass=http://vivoweb.org/ontology/core#Continent' for windows using cURL for Windows 7.46 (doesn't want the single quote) curl http://localhost:8080/vivo/listrdf -d vclass=http://vivoweb.org/ontology/core#Continent | |||||||||||
33 | Triple Pattern Fragments http://localhost:8080/vivo/tpf/core | Linux | # Verify browsing: # Verify direct access: | ||||||||||
4 | SPARQL Query API | 5 | SPARQL Update API | 6 | Search Indexing API | ||||||||
7 | Data Distribution API | Linux |
Followed directions here: https://cul-it.github.io/vivo-data-distribution-api/install_vivo_1_10.html | 8 | Direct2Experts API |
Unload/Load Tests
Linux | Enabled service Executed several queries (both root and site-admin):
| ||||||||||||
5 | SPARQL Update API | Linux | Success with examples on: SPARQL Update API | ||||||||||
6 | Search Indexing API | Linux | Service returns success status, with "Received 1 URIs." | ||||||||||
7 | Data Distribution API | Linux |
Followed directions here: https://cul-it.github.io/vivo-data-distribution-api/install_vivo_1_10.html | ||||||||||
8 | Direct2Experts API | Linux Mac |
Done writing. Review here: |
Unload/Load Tests
Test | Platform | Tested by | Success? | Notes | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Load data using the Harvester | Linux |
| Builds failed
| ||||||||||
2 | Unload using jena2tools -e (using jena3tools -e Andrew Woods ) | Test | Platform | Tested by | Success? | Notes | 1 | Load data using the Harvester | 2 | Unload using jena2tools -e | 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 |
...
- Install previous release
- Prepare installation per instructions above for previous release
- Start Tomcat - check that smoke test passes
- Stop Tomcat
Export data with jena2tools
Code Block language bash java -jar jena2tools.jar -e -d /usr/local/vivo/home
Empty MySQL
Code Block language bash mysql -u root -p mysql> drop database vitrodb; mysql> CREATE DATABASE vitrodb CHARACTER SET utf8; mysql> GRANT ALL ON vitrodb.* TO 'vitrodbUsername'@'localhost' IDENTIFIED BY 'vitrodbPassword';
Remove application data
Code Block language bash rm -rf ${VIVO_DIR}/tdbModels/* rm -rf ${VIVO_DIR}/solr/data/*
Import data with jena3tools
Code Block language bash java -jar jena3tools.jar -i -d /usr/local/vivo/home
- Start Tomcat
Verify application per `UI Tests` above
Test Platform Tested by Success? Notes All UI Tests Windows | Linux Ralph O'Flinn In Progress All API Tests Windows | Linux Ralph O'Flinn In Progress All Unload/Load tests Windows | Linux Ralph O'Flinn (except Harvester) All performance tests
Vagrant Tests
...