Update 'manual_tests.md'
This commit is contained in:
parent
c588bb13a0
commit
ed4ad819dc
@ -16,3 +16,15 @@
|
|||||||
## Tests for JS code in js/edit_client.js
|
## Tests for JS code in js/edit_client.js
|
||||||
* 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 it should not be possible to change it.
|
* 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 it should not be possible to change it.
|
||||||
|
|
||||||
|
# Automatic client status
|
||||||
|
## Tests for presave hook in goodnightout_opencase.module
|
||||||
|
|
||||||
|
* Setup a client with status "Lead" and give it multiple trainings
|
||||||
|
* Set some but not all of the trainings to status "post training materials sent"
|
||||||
|
* The status of the client should not change
|
||||||
|
* 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"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user