Add error handling to apollo call
What does this MR do and why?
Add error handling to apollo call.
Capture errors when requesting subscription permissions data Refactor tests and remove saas/sm ones as we show the button anyway for all cases
Related to #456937
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
How to set up and validate locally
- Purchase a subscription with Duo Pro.
- Create a new group (via gitlab.com) and link the subscription to it.
- Visit
http://localhost:3000/groups/<NEW_GROUP_NAME>/-/usage_quotas#code-suggestions-usage-tab
- Mock the API response to check error and empty state.
- In both cases you should still see the
Add seats
button
Edited by Diana Zubova