Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test submissions for test teams / forms #172

Open
dave-mills opened this issue Feb 12, 2025 · 1 comment
Open

Add test submissions for test teams / forms #172

dave-mills opened this issue Feb 12, 2025 · 1 comment
Assignees

Comments

@dave-mills
Copy link
Member

dave-mills commented Feb 12, 2025

Setup Local Env to connect to the existing Test Teams on ODK Central.

For now, check out the real-form-seeders branch to run this process. (Or merge that branch into your local branch). I'll merge it into dev later:

We have 3 test teams on ODK Central that are 'shared' for local testing / development:

To set up your local platform to connect to these projects, run the seeders, then run 2 custom commands to finish setting up the environment:

php artisan migrate:fresh --seed
php artisan db:seed TestOdkStuffSeeder

# run custom script to copy the media file assets into the storage/app folder
php artisan app:copy-media-test

# run custom command to update your xlsform_versions table, 
# just in case the versions on ODK Central have been changed since the seeder was created.
php artisan app:update-xlsform-versions-from-odk-central

Generate submissions

We need a set of submissions for testing purposes. For now, @ciara-mc - can you pick one of the projects and then generate 100 submissions for each of the existing forms? Depending on how you're getting the xlsform file at the moment, you can either:

@dave-mills
Copy link
Member Author

@ciara-mc FYI I've just merged in the branch to dev, so the above should work on the dev branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants