The following is a suggested checklist for testing by humans.
Ingest
Test for each action
Create
TMAN/Activity Stream
Update access level
TMAN/Activity Stream
NetX UI
Update metadata
TMAN/Activity Stream
NetX UI
Delete
TMAN/Activity Stream
Manifests
Pick an object that you know has been ingested via the metadata activity stream, and retrieve the manifest its unit code and CMS ID:
e.g.
https://manifests-dev.collections.yale.edu/ycba/obj/38803 (V3)
https://manifests-dev.collections.yale.edu/v2/ycba/obj/38803 (V2)
Does it conform to the IIIF presentation API version 3?
Does it contain the correct list of canvases and images according to the access level (cds_acces_master, cds_access_tiff, cds_access_jpeg)?
Do the canvas and image items have correct width and height values that conforms to the size limits (cds_maxsize_tiff and cds_maxsize_jpeg)?
Does it contain the correct metadata?
Does it contain links to stock TIFFs and/or master media files when applicable?
IIIF images
From a manifest, pick an image, construct a URL(s), and retrieve the image.
e.g. https://images-dev.collections.yale.edu/iiif/2/ycba:c5bad9c0-24f7-482c-9852-f6a554a4314a.tif/full/full/0/default.jpg (full size)
https://images-dev.collections.yale.edu/iiif/2/ycba:c5bad9c0-24f7-482c-9852-f6a554a4314a.tif/full/250,/0/default.jpg (width = 250px)
Check the image for its quality.
Is the full-size image conform to the size limit set by cds_maxsize_jpeg?
Non-IIIF contents
e.g.
https://media-dev.collections.yale.edu/print/ycba/c5bad9c0-24f7-482c-9852-f6a554a4314a.tif
Is the full-size image conform to the size limit set by cds_maxsize_tiff?
Check-in viewers
Pass the manifest to a test viewer and test.
e.g.
http://spinup-000bcd.spinup.yale.edu/mirador3?manifest=https://manifests-dev.collections.yale.edu/ycba/obj/38803 (Mirador 3, manifest V3)
http://spinup-000bcd.spinup.yale.edu/mirador3?manifest=https://manifests-dev.collections.yale.edu/v2/ycba/obj/38803 (Mirador 3, manifest V2)
⚠ Mirador2 does not support V3 manifests.
http://spinup-000bcd.spinup.yale.edu/mirador?manifest=https://manifests-dev.collections.yale.edu/v2/ycba/obj/38803 (Mirador 2, manifest V2)
http://spinup-000bcd.spinup.yale.edu/uv3?manifest=https://manifests-dev.collections.yale.edu/ycba/obj/38803 (Universal Viewer 3, manifest V3)
http://spinup-000bcd.spinup.yale.edu/uv3?manifest=https://manifests-dev.collections.yale.edu/v2/ycba/obj/38803 (Universal Viewer 3, manifest V2)
It is recommended that the units also test using additional viewers.
Metadata activity stream
Currently, no units implement the activity stream strictly according to the spec. Therefore instead of testing individual activities, we probably have to consider it a one-time bulk upload and only check for the consistency of CDS2 API with the source data.
Hints for locating elements in a manifest
V3
Canvas: items[n]
URL of image service (location of info.json): items[[n].items[0].items[0].body.service[“@id”]
URL of full size image: items[n].items[0].items[0].body.id
URL of stock PDF or master media file: items[n].rendering[0].id
V2
Canvas: sequences[0].canvases[n]
URL of image service (location of info.json): sequences[0].canvases[n].images[0].resource[‘@id’]
URL of full size image: sequences[0].canvases[n].images[0].resource[‘@id’]
Displaying thumbnails
Units to test displaying hundreds of thumbnails
confirm that the display is performant
Add Comment