- 01-end-to-end.sh
- 02-static-config.sh
- 10-migration-backend-tests.sh
- 11-file-deletion-tests.sh
- 12-media-tests.sh
- 13-migration-entity-resolution.sh
- 20-export-tests.sh
- 21-large-file-derivatives-nightly.sh
- 21-role-permission-tests.sh
This script ==can== be ran by itself to test the end-to-end workflow. It runs the following steps:
- Admin tests (end-to-end/tests/tests/admin/**/*.spec.js)
- Add UI test data (end-to-end//tests/tests/ui/data-migrations.js)
- UI tests (end-to-end//tests/tests/ui/*.spec.js)
- end-to-end/tests/admin/add_collection.spec.js
- Adds a collection object from https://islandora-idc.traefik.me/node/add/collection_object
- end-to-end/tests/admin/s3.spec.js
- It uses this URL saml login to check the SAML API integration via the test URL.
- end-to-end/tests/admin/saml_login.spec.js
- end-to-end/tests/ui/data-migrations.js
- Adds test data to the UI.
- Test several different scenarios (viewing pages, collection, media types, metadata exports, etc.)
Verifies that bad configuration in config/sync will cause a startup failure for Docker
This script ==can== be ran by itself to test the end-to-end workflow. It runs the following steps:
"This script is the "controller" of the tests. It is responsible for executing the various test frameworks and controls the shell exit code. Each test framework executes in a Docker container, so there are no dependencies or configuration required to perform the tests, except for a working Docker." - tests/10-migration-backend-tests/README.md
make test test=11-file-deletion-tests.sh
This script migrates the media files and verifies that derivatives are created and file naming conventions are correct.
Some checks are at http://migration-assets/assets/image/formats/tiff.tif
- Applies a path to codebase/config/sync/migrate_plus.migration.idc_ingest_new_items.yml
WARNING: This could become problematic if the fields change.
There are a few fields that might include more data in the quad when exported than was there during import. Export needs to be specific with a few fields, so the bundle data might be there, whereas it wasn't there on ingest. - tests/20-export-tests/README.md
- Migrates in test data to trigger derivative creation
- Verifies that derivatives are created
- Additional test to make sure the JWT expiry is equal to or greater than 14400