Skip to content

Move Usage Quotas test fixtures to CE

What does this MR do and why?

This is the fifth of a series of MRs that aim to migrate Namespace Storage Vue App to CE so that this view is available for all GitLab Editions and Distributions. Related to: Move storage app to CE (#371824 - closed)

Here we are:

  • Moving test fixtures related to Usage Quotas to CE
    • While here, let's practice some "Leave it better than you found it" mindset and fix rubocop violations
    • Some tests moved in previous MRs had hardcoded data, it's now using the fixtures 🎉
  • Created the CE GraphQL queries, to be used in later MRs

MR Cadence

Description MR
Introduce NamespaceStorageApp in core !138689 (merged)
Create StorageUsageStatistics in CE !139111 (merged)
Move DependencyProxyUsage to CE !139248 (merged)
Move ContainerRegistryUsage to CE !139252 (merged)
Move Usage Quotas test fixtures to CE 👈 you're here
Move SearchAndSortBar to CE !139434 (merged)
Move ProjectList to CE !139449 (merged)
Finish moving NamespaceStorageApp to CE !139568 (merged)
Replace placeholder with NamespaceStorageApp !140209 (closed)

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

N/A

How to set up and validate locally

Here we're just moving fixtures around, and the new GraphQL queries aren't being used yet, so there's no local testing. We can assert this change is sound by running the tests and checking that the stories in storybook are rendered fine.

Edited by Sheldon Led

Merge request reports