Update 'docs/manual_tests.md'
This commit is contained in:
parent
05bc0b7fc6
commit
3af2561c3e
@ -63,14 +63,14 @@
|
|||||||
* 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 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.
|
* 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.
|
||||||
|
|
||||||
# Automatic client status
|
# Automatic client status & accreditation date
|
||||||
## Tests for presave hook in goodnightout_opencase.module
|
## Tests for presave hook in goodnightout_opencase.module
|
||||||
|
|
||||||
* Setup a client with status "Lead" and give it multiple trainings - leave the training status as N/A.
|
* Setup a client with status "Lead" and give it multiple trainings - leave the training status as N/A.
|
||||||
* Set some but not all of the trainings to status "post training materials sent"
|
* Set some but not all of the trainings to status "post training materials sent"
|
||||||
* The status of the client should not change
|
* The status of the client should not change
|
||||||
* Set all the remaining trainings to status "post training materials sent"
|
* Set all the remaining trainings to status "post training materials sent"
|
||||||
* This should automatically set the client status to "Accredited" and their substatus to "Recently Accredited"
|
* This should automatically set the client status to "Accredited", their substatus to "Recently Accredited", and their Accreditation Date to today.
|
||||||
|
|
||||||
# Trainings linked to projects or clients
|
# Trainings linked to projects or clients
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user