diff --git a/docs/manual_tests.md b/docs/manual_tests.md index c642b19..691f1fc 100644 --- a/docs/manual_tests.md +++ b/docs/manual_tests.md @@ -2,19 +2,24 @@ - Log in as a user with the role "GNO Standard User". # Client & training - - Billing fields are not there at first but there is a button to add them and when you click it is adds them. - - Save the client without filling in any billing fields, then edit it - the fields should be gone and the button shoud be there - - Add one or more billing fields, save and edit - all the billing fields should show, and not the button. - - You can upload files, and when you save it you can view or download them. + - 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. + - 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.* + - 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 - - On the client screen there is a button to add a training - - Add training with 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 - - The training immediately shows up in the training list for that client - - It also appears in "All trainings" # Umbrella client