Add feature specs for free user cap
What does this MR do and why?
Adds more feature tests for the usage quota page in the context of the free_user_cap project. We want to make sure that free/paid/trial groups see the right screen and are able to set members to awaiting.
Screenshots or screen recordings
To get an idea what the feature looks like in action for a free plan with free_user_cap
enabled:
How to set up and validate locally
If you want to look at the usage quota page:
export GITLAB_SIMULATE_SAAS=1
gdk start
bin/rails c
ApplicationSetting.first.update(check_namespace_plan: true)
Feature.enable(:free_user_cap)
- Check the page with either a free/paid/trial group (Group > Settings > Usage Quota)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Nicolas Dular