You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/var/www/securedrop/qa_loader.py is used during testing to create large amounts of random test data. If there are pre-existing journalists and sources in the database it may create random replies and submissions for them, confusing testing.
Steps to Reproduce
Install 0.8.0
Create admin account via CLI on app server
As source, submit message and record source codephrase
As admin, reply to message
Log in to app server and run
sudo su
cd /var/www/securedrop
./qa_loader.py --multiplier=1
Upgrade to 0.9.0~rc1
As previous source, check for replies
Expected Behavior
Source sees original reply from journalist
Actual Behavior
Source sees reply from journalist preceded by blank replies
Comments
Screenshot attached. This is probably a low-priority bug, but it would make testing easier if it were fixed.
The text was updated successfully, but these errors were encountered:
I can fix this. We just need to keep track of the sources/docs/etc that we create in lists and then use those in the following steps.
Also, it hasn't happened yet, but there's another bug where if you create a source then delete one the loader will crap out because it uses ranges to iterate over ids.
Description
/var/www/securedrop/qa_loader.py
is used during testing to create large amounts of random test data. If there are pre-existing journalists and sources in the database it may create random replies and submissions for them, confusing testing.Steps to Reproduce
Expected Behavior
Source sees original reply from journalist
Actual Behavior
Source sees reply from journalist preceded by blank replies
Comments
Screenshot attached. This is probably a low-priority bug, but it would make testing easier if it were fixed.
The text was updated successfully, but these errors were encountered: