Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Prepare installation, see above
  2. Empty MySQL database

    Code Block
    languagebash
    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';


  3. Remove application data

    Code Block
    languagebash
    rm -rf ${VIVO_HOME}/tdbModels/*
    rm -rf ${VIVO_HOME}/solr/data/*


  4. Start Tomcat

    Code Block
    languagebash
    sudo service tomcat8 restart


UI Tests


TestPlatformTested bySuccess?Notes
1

Smoke tests do not produce error

(warning about email server is OK)

Mac

Linux

Windows

(tick)

(tick)

(tick)


2

Home page displays correctly

Mac

Linux

(tick) 

(tick)

Wait for indexing, refresh.
3Log in as admin

Mac

Linux

(tick) 

(tick)


4Site Admin page displays correctly

Mac

Linux

(tick) 

(tick)

Shows startup status warning re email
5Each function on site admin display correctlyMac

(tick) 

(tick)

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

(tick)

 
Works as designed
7Check required fields in creating classesMac(tick)

 

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

(tick)

 

Works as designed.
9

Check Person display

(logged out, logged in)

Mac(tick)

 

Works as designed.
10Add values to all Person attributesMac(tick)

 

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.

11Add research areas using vocabulary servicesMacUnable to completeUMLS service requires registration key. See Release Notes. Unclear where this key would go. Other services respond as expected.
12

Check tabs on Person display

(overview, publications, contact, etc.)

Mac(tick)

 

Works as designed.
13

Add new publication to person

(check required fields)

Mac(tick)

 

Works as designed.
14Check publication sparklineMac

(error) Test failed

(error)

The Information icon (info) below the sparkline can not be clicked.


^^^ confirmed. This may have been broken for awhile. The link doesn't work on Scholars@Duke either.

15

Check manage publications

(hide / show publications)

Mac(tick)

 

Works as designed. (I don't think I'd ever tried this. Works well.)
16

Check Publication view

Mac(tick)

 

Works as designed.
17

Check AltMetric badge

(e.g. doi: 10.1038/nrmicro2331)

Mac(tick)

 

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".
18Add author(s) to publicationMac(tick)

 

Works as designed.
19Check Person has co-author networkMac(tick)

 

Works as designed.
20Check co-author network displayMac(tick)

 

Works as designed
21Add grants to PersonMac(tick)

 

Works as designed
22Add co-investigators to grantsMac(tick)

 

Works as designed
23Check Person has co-investigator networkMac(tick)

 

Works as designed
24Check co-investigator network displayMac(tick)

 

Works as designed
25Load Sample DataMac(tick)

 

sample-data.n3 loaded from https://github.com/vivo-project/sample-data/blob/master/sample-data.n3
26Check Capability MapMac(tick)

 

Works as designed. Need more sample data with more concepts for more extensive tests.
27Check Map of ScienceMacUnable to completeTesting requires google maps key configured in runtime.properties.
28Check Temporal GraphMac(tick)

 

Works as designed
29Search for "Derrida"Mac(tick)

 

Works as designed
30Check index pageMac(tick)

 

Works as designed
31Create self editor login associated with profile

Mac


(tick)

 

Works as designed. Updated documentation to describe how this is done. See Creating and Managing User Accounts#AssociatingUserAccountswithProfilePages
32Log in as self editor. Verify can edit self, cannot edit others.Mac(tick)

 

Works as designed.
33Add and confirm an ORCiDMacUnable to completeORCiD API configuration requires clientId and clientPassword and public VIVO. See Activating the ORCID integration
34Create editor and assign proxy editing

Mac

Windows

(tick)
(tick)

 

(tick)

Works as designed.

Created user account with editor role and assigned proxy editing.  Also switched to self-editor role.

35Log in as proxy editor. Verify can edit proxied profile, cannot edit others.

Mac


Windows

(tick)


(tick) (question)

 

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. (Hence the question mark - I'm unsure whether this is desired behavior or not)

36Check TPF endpoint

Mac

Windows

(tick)

(tick)

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)

37Run a SPARQL query

Mac



Windows

(error) Test failed



(tick)


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.

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)

...