Test suite should cover the uploading process

There should be an automated test in debexpo that tests all the following:

  • Signing up for an account
  • Setting a GPG key in the web app
  • Signing a package with that key
  • Uploading it by submitting it to the right URL (without the help of dput)
  • Checking in the database that the package was accepted
  • Navigating to the home page, and seeing that the package is in the list of recent packages

This should be in the test suite.

It seems that most of the tests for now are unit tests, rather than integration tests. It seems that integration testing is what we're missing.

[ originally reported by @paulproteus at https://alioth.debian.org/tracker/index.php?func=detail&aid=313129&group_id=100127&atid=413115 ]

Edited by Baptiste Beauplat
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information