Description
During https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikiLambda/+/1005142 we've replaced the fetching boolean state with the promises of pending requests.
However, the getter getFetchingTestResults is necessary for the components FunctionReport and FunctionReportItem.
We should restore this getter and replace its previous functionality (returning a boolean state flag) with a different logic that asserts the fetching state from the promises.
Devices and Design (URLs or screenshots, if applicable):
- Desktop: ...
- Small screens/mobile: ...
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Front-end_Task/Bug_Completion_Checklist