thiemowmde created this task.
thiemowmde added subscribers: thiemowmde, aude, Lydia_Pintscher, WMDE-Fisch, 
adrianheine.
thiemowmde added projects: MediaWiki-extensions-WikibaseRepository, Wikidata, 
Browser-Tests, Wikibase-JavaScript-Api.
Herald added a subscriber: Aklapper.

TASK DESCRIPTION
  What happens if an API request takes to long, e.g. while typing in a property 
suggester? We actually had this as an issue (see T98471). If the user hit enter 
faster than the last API request was resolved, the result of the //previous// 
API request was stored instead. The same issue can occur in several places in 
our UI. It would be great if we could test this behavior. To do this it must be 
possible to make API requests fail.
  
  Discussed with @WMDE-Fisch and came up with the idea of having a switch in 
the #Wikibase-JavaScript-API component. When the switch is flipped, the API 
request does never resolve (I'm thinking about a promise that never resolves).
  
  This means having a tiny bit of "test only" code in production code.

TASK DETAIL
  https://phabricator.wikimedia.org/T103086

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: thiemowmde
Cc: adrianheine, WMDE-Fisch, Lydia_Pintscher, aude, thiemowmde, Aklapper, 
Wikidata-bugs, Malyacko, P.Copp



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to