Merge branch 'master' of ssh://git.autonomic.zone:2222/autonomic-cooperative/goodnightout_composer

This commit is contained in:
naomi 2021-11-15 18:10:55 +00:00
commit 30ec6263af

View File

@ -24,22 +24,6 @@
- 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 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 - 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. - 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
- Log in as the special user
- Create one
- It should appear in the All Equal Opps list
## 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)
## Tests for JS code in js/edit_client.js ## Tests for JS code in js/edit_client.js
@ -62,6 +46,15 @@ STUFF BELOW HERE MIGHT BE ABLE TO BE DONE IN PYTEST
* 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.
---------------
STUFF BELOW HERE MIGHT BE ABLE TO BE DONE IN PYTEST
----------------
# Equal opps
- Should not be able to see the menu items for adding or listing EOs as GNO standard user
- Log in as the special user
- Create one
- It should appear in the All Equal Opps list
# Email notification # Email notification
## Tests for mail hook and post-save hook in goodnightout_opencase.module ## Tests for mail hook and post-save hook in goodnightout_opencase.module