ASpace PUI tests, currently designed to be run against a running instance of ASpace using our data subset developed by Alex Duryee as part of the aspace ugprade to 3.0.2.
To Run Tests:
- Clone repository
- Copy
env.example
to.env
. Replace base URL with the base URL for the aspace pui - Run
docker-compose -f docker-compose.yml up --build
Automated tests based on Julie Wetherill's aspace PUI testing spreadsheet here: https://docs.google.com/spreadsheets/d/19m0FpJyDCU-YRZwuvspJrOjMPFVNF49_U4vX6P_OtfA/edit#gid=0
To-Dos:
- test_download_pdf: Add a package for reading pdfs in order to test download contents (currently only check successful download)
Tests from spreadsheet that were unable to be added:
- All instances of comparing record counts against prod record counts are not relevant due to the intentionally much-smaller size of the data subset.
- Request list: Any functionality that interacts with Harvard Key
-
- Aeon HarvardKey login
-
- Checking that items made it all the way to your Aeon Account
-
- Checking that you go directly to Aeon after already sending one item and logging in
-
- Aeon account logout
-
- Aeon account creation