← Back to team overview

mahara-contributors team mailing list archive

[Bug 1804907] 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 ✘

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1804907

Title:
  Mahara webservice testclient needs to indicate what are the requied
  fields

Status in Mahara:
  In Progress

Bug description:
  Some of the fields are required when calling Mahara webservice
  functions but it is not obvious when using the test client which ones
  they are

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1804907/+subscriptions


References