Update 'manual_tests.md'
This commit is contained in:
parent
33f1dddce2
commit
82695c63fa
@ -8,3 +8,11 @@
|
||||
## Tests for JS code in js/edit_client.js
|
||||
* If you change the substatus, the status should automatically change accordingly (e.g. "One-off Training" -> "Confirmed", or "3-month follow-up due" -> "Accredited").
|
||||
* You should not be able to change the status except by changing the substatus.
|
||||
* Initially the client type should be "-None-" and the only thing in the subtypes dropdown should be "-None-" also.
|
||||
* If you change the client type, the options in the subtype dropdown should populate accordingly (e.g. "Licensed Premises" -> a list including "Pub or Bar", or "Nightlife Organisation" -> a list including "Festival" and "Student Union")
|
||||
* The "-None-" option should always remain present in the subtypes dropdown.
|
||||
|
||||
# Editing a client using the GUI
|
||||
## 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 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.
|
||||
|
Reference in New Issue
Block a user