|
|
When executing this regression test script paste this list into the relevant issue and check off the tests as you go.
|
|
|
When executing this regression test script the tester should paste this list into the relevant issue and check off the tests as they go.
|
|
|
|
|
|
- [ ] Navigate to the home page and check details for "More info" and "Choose"
|
|
|
- [ ] Check that all links are working and look sensible.
|
... | ... | @@ -8,27 +8,35 @@ When executing this regression test script paste this list into the relevant iss |
|
|
- [ ] Check you get a warning popup if the size you request is too large
|
|
|
(you can get the max quantity from `/admin/storage/storage/`)
|
|
|
- [ ] Add a note to the quote and save.
|
|
|
- [ ] Email the quote to yourself and check that you receive it and that it makes sense.
|
|
|
(see notes)
|
|
|
- [ ] Email the quote to yourself and
|
|
|
check that you receive it and the details are correct (see note 2).
|
|
|
- [ ] Check that the quote can be accessed in the "My account" page
|
|
|
- [ ] Check that the api returns the quote from the
|
|
|
- [ ] Check the quote via the API using the
|
|
|
`/api/storage/quote/` and `/api/storage/quote/{quote_id}` endpoints
|
|
|
(see notes).
|
|
|
(see note 3).
|
|
|
- [ ] Now "Pay for the storage" using a fake purchase order (any PDF), a random PO number,
|
|
|
and ticking "Purchase order not raised using CUFS"
|
|
|
- [ ] Check that you have received an order confirmation email (see note 2).
|
|
|
and that the details are correct.
|
|
|
- [ ] Check for a new account and license via the API using the
|
|
|
`/api/storage/account/`, `/api/storage/account/{account_id}`,
|
|
|
`/api/storage/license/`, and `/api/storage/license/{license_id}` endpoints
|
|
|
(see note 3).
|
|
|
- [ ] That the PDF can be downloaded from `/admin/payment/popayment/`
|
|
|
|
|
|
Notes:
|
|
|
- The tester will need SSGW admin rights when performing the above tests.
|
|
|
- All emails can be checked in https://mailhog.devops.uis.cam.ac.uk/
|
|
|
- API requests can be executed using `curl`. For instance,
|
|
|
querying all quotes for research storage can be executed using
|
|
|
`curl -H "Authorization: Bearer $HPC_API_TOKEN" $SSGW_HOST/api/storage/quote/`.
|
|
|
$HPC_API_TOKEN can be retrieved from the SSGW application scrects in 1Password.
|
|
|
If you wish to query IFS storage use the $IFS_API_TOKEN.
|
|
|
- This test script mainly covers the "happy path". Further work is required to cover
|
|
|
additional edge cases.
|
|
|
|
|
|
**tests below here are still being written**
|
|
|
|
|
|
- [ ] purchase storage using a fake PO
|
|
|
- [ ] check email
|
|
|
- [ ] check api for new account and license
|
|
|
- [ ] check AWS storage
|
|
|
- [ ] configure with "Data Owner"
|
|
|
- [ ] check api owner in license
|
|
|
- [ ] check "Data Owner" email
|
... | ... | |