Skip to content

Selenium tests to be run against the Harvard ASpace PUI with our aspace data subset

Notifications You must be signed in to change notification settings

harvard-lts/aspace_pui_tests

Repository files navigation

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:

  1. Clone repository
  2. Copy env.example to .env. Replace base URL with the base URL for the aspace pui
  3. 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

About

Selenium tests to be run against the Harvard ASpace PUI with our aspace data subset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published