Comment 3 for bug 1804907

Revision history for this message
Steven (stevens-q) wrote : Re: Mahara webservice testclient needs to indicate what are the requied fields

Preconditions:
----------------------------------
1. Site admin user exists
2. Web services is configured
3. Enable protocols supported is configured
4. Network service group is configured
5. Access tokens and allocated users to service groups have been set up
6. Service group has been created and set up

Test Steps:
----------------------------------
1. Site admin log in
2. Browse to Admin menu > Web Services > Test client
3. Set the following fields to
 a. Protocol = Rest
 b. Authentication type = Token
 c. Service = "Some service group"
 d. Functions = "mahara_group_get_groups_by_id"
4. Click the next button
5. Verify that the following fields are displayed
 a. id
 b. shortname
 c. Institution
 d. wstoken
6. Do not fill anything in the fields mentioned in the previous step and click Execute button
7. Verify 'required' fields in webservice testclient Indicated ✔
8. Highlights those fields that are required including those that one or more are required ✘

BUGS

1. Error messsage should only display after the "Execute" button has been clicked
2. Error messages are located at the top of the page - but this is scrolled out of the visible screen (messages need to be visible on reload of page)
3. The color of the error message "Fields marked by '#' require one of them to be filled in." needs to meet Accessibility AA standard
--- a. current values BG = #FFFFFF | FG = #eea135 (2.15:1 - this needs to be 1.5:1 to meet AA standard)
5. Fields where at least one needs to be filled in need to be highlighted as errors if they are not filled in

Recommendations : Display help text near the fields where at least one is required - (required fields are fin when indicated with an asterix *)

Catalyst QA Failed Testing ✘