Using latest manual_tests.md
This commit is contained in:
parent
b370e712cf
commit
3541dc6a6e
@ -4,32 +4,30 @@
|
||||
# Client & training
|
||||
- Go to Add New -> Client.
|
||||
- Check that billing address fields are not there but there is a button to add them.
|
||||
- *Click the button and billing fields should appear.* Do not fill in the billing fields at this stage however.
|
||||
- Click the button and billing fields should appear.* Do not fill in the billing fields at this stage however.
|
||||
- Upload a file to the Files field.
|
||||
- Fill in all required fields and save. You should arrive at the screen for the client you just created.
|
||||
- *Click the Edit tab. The billing fields should be gone and the button shoud be there*
|
||||
- *Add one or more billing fields, save and then click the edit tab again- all the billing fields should show, and not the button.*
|
||||
- Click the Edit tab. The billing fields should be gone and the button shoud be there
|
||||
- Add one or more billing fields, save and then click the edit tab again- all the billing fields should show, and not the button.
|
||||
- You should be able to download the file you uploaded.
|
||||
- On the client screen there is a button to add a training
|
||||
- Click this and and fill in the required fields
|
||||
- *Add 3 trainers:*
|
||||
- *one with no rate (rate input should disappear), then change it to Standard and the box should appear and be disabled and grey and say 115, then change to custom and the box shuould clear and become editable, then input 400*
|
||||
- *Add another trainer with "None" rate and one with Standard*
|
||||
- *Save it, the trainers and rates should show , then when you edit it again the input box should be gone for the none one and disabled for the standard*
|
||||
- Save. Click the link to return to client. The training immediately shows up in the training list for that client
|
||||
- It also appears in "All trainings"
|
||||
- Client shows up on "all clients" list
|
||||
- Searching for the client by name brings them up
|
||||
|
||||
|
||||
- Add 3 trainers:
|
||||
- one with no rate (rate input should disappear), then change it to Standard and the box should appear and be disabled and grey and say 115, then change to custom and the box shuould clear and become editable, then input 400*
|
||||
- Add another trainer with "None" rate and one with Standard
|
||||
- Save it, the trainers and rates should show , then when you edit it again the input box should be gone for the none one and disabled for the standard
|
||||
# Umbrella client
|
||||
- Choose menu item "Add new umbrella client" and add one
|
||||
- Client shows up on "all umbrella clients" list
|
||||
- There is a button on the umbrella client screen to add a client
|
||||
- Adding a client creates one attached to that umbrella client and it immediately shows up in the client list for that umbrella client and also in "All clients", at the top of each
|
||||
- After adding a client it shows up on the umbrella client's screen
|
||||
- You can add a project to the umbrella client and it appears at the top of the list on the umbrella client screen
|
||||
- You can add a training to the umbrella client and it appears at the top of the list on the umbrella client screen
|
||||
- Add a training to the client who is attached to the umbrella client. It should show up on the umbrella client screen in the "Trainings for clients within this umrella" list.
|
||||
---------------
|
||||
STUFF BELOW HERE MIGHT BE ABLE TO BE DONE IN PYTEST
|
||||
-----------------
|
||||
|
||||
|
||||
- Adding a client creates one attached to that umbrella client and it immediately shows up in the client list for that umbrella client and also in "All clients", at the top of each
|
||||
|
||||
# Equal opps
|
||||
- Should not be able to see the menu items for adding or listing EOs as GNO standard user
|
||||
@ -37,12 +35,6 @@
|
||||
- Create one
|
||||
- It should appear in the All Equal Opps list
|
||||
|
||||
# Emergency contact
|
||||
#
|
||||
|
||||
|
||||
# Adding new client using the GUI
|
||||
|
||||
## Tests for GUI settings
|
||||
* When adding a new client in the GUI, the status should default to Lead and the substatus to New Lead. (Setting: default values for those fields.)
|
||||
* Neither the status nor the substatus dropdown should not contain a placeholder option such as "None" or "Select". (Setting: Required field)
|
||||
@ -68,17 +60,6 @@
|
||||
* The subtypes dropdown should be populated according to the existing value of the types dropdown. E.g. save a client as "licensed premises" type and reopen; the subtypes should be a list including "Pub or Bar"
|
||||
* The status dropdown should be populated according to the existing value of the substatuses dropdown. E.g. save a client as substatus "One-off Training" and reopen; the status should be set to "Confirmed" and that should be the only option in the status dropdown.
|
||||
|
||||
# Trainings linked to projects or clients
|
||||
|
||||
* Add a training from a client screen
|
||||
* It should have the client filled in by default, and a box for the project
|
||||
* Fill in a project and save
|
||||
* On the training screen there should be a link to the project
|
||||
* Click it to open the project, then add another training
|
||||
* The project field should default to the project and there should be a box for the client
|
||||
* Add a client and save
|
||||
* There should be a link to the client on the project screen
|
||||
* Click it and the project should be listed there
|
||||
|
||||
# Email notification
|
||||
## Tests for mail hook and post-save hook in goodnightout_opencase.module
|
||||
@ -99,6 +80,7 @@
|
||||
|
||||
## Tests for cron hook in goodnightout_opencase.module
|
||||
|
||||
* Start with a client whose substatus is "Recently Accredited"
|
||||
* Change the accreditation date to one that's more than 3 months in the past
|
||||
* Run cron
|
||||
* The status should change to 3-month follow-up due and an email alert should be sen
|
||||
@ -125,13 +107,12 @@
|
||||
### As a GNO Standard User
|
||||
* There should be no delete tab on any entities (although you can delete links between clients)
|
||||
* All these entities should a checkbox for whether they are published:
|
||||
* Client / Umbrella Client
|
||||
* Client / Umbrella Client
|
||||
* Training / Project / Partner Organistion
|
||||
* Train the trainer event
|
||||
* Debrief / Evaluation
|
||||
* Trainer
|
||||
* Untick and save - you should be taken to the home page (client list) with a message saying the record has been Unpublished, and the entity should have disappeared from the "All" lists and also from the following contextual lists:
|
||||
* List of trainings on client & umbrella client screens
|
||||
* List of trainings on client & umbrella client screens
|
||||
* List of projects on client & umbrella client screens screen
|
||||
* List of clients on umbrella client screens
|
||||
* List of debriefs and evaluations on trainings screen
|
||||
@ -150,4 +131,4 @@
|
||||
# Accredited Clients Block
|
||||
* Block at the top of screen should show how many Clients of each type are Accredited - that is, with status Accredited or Reaccreditation Due
|
||||
* When you change a client's status to or from one of these or add or delete a client with one of these statuses
|
||||
* Unpublishing a client should remove them from the total and publishing them again should reinstate it.
|
||||
* Unpublishing a client should remove them from the total and publishing them again should reinstate it.
|
||||
|
Reference in New Issue
Block a user