forked from Islandora-Devops/isle-dc
-
Notifications
You must be signed in to change notification settings - Fork 6
How to Run Test migrations locally
Don Richards edited this page Jun 17, 2022
·
1 revision
Starting from within idc-isle-dc
git lfs install
cd ..
git clone https://github.com/jhu-idc/migration-file-server
cd migration-file-server
make
cd ../idc-isle-dc
# Run all of the tests (this takes a long time)
make test
# Or to run just one test script
make test test=20-export-tests.sh
# Grab a screenshot and upload it /tests/TEST_NAME/testcafe/screenshots/screenshots.png
# This will overwrite it self every time it fires.
t.takeScreenshot({ "path": "./screenshots", "fullPage": true });
# To stop the test at a specific line in the test
# This will keep drupal exactly as it is including the migrated data.
# This is good for using your local browser to troubleshoot.
t.debug();