Skip to content

Add feature specs for free user cap

Nicolas Dular requested to merge nd/free-user-cap-feature-tests into master

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:

user-toggle

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)
  1. 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.

Edited by Nicolas Dular

Merge request reports