Update free_namespace_storage_spec.rb to reflect feature changes
What does this MR do and why?
Blocked by: https://gitlab.com/gitlab-org/gitlab/-/issues/388426
Related to FE change: !107014 (merged)
Update the namespace storage test due to free and paid user view unification for Usage Quotas
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Can be run only against Staging env due to configuration for namespaces
1 focus the test by adding f in front of context 'in usage quotas storage tab for free plan with a project' do like fcontext
2 add break point before the "aggregate_failures do"
3 when in the page, replace data-testid="namespace-usage-card" to data-qa-selector="namespace_usage_total" in the dom as test can run on staging only
4 continue the test
GITLAB_ADMIN_USERNAME=gitlab-qa-bot GITLAB_ADMIN_PASSWORD= GITLAB_QA_ADMIN_ACCESS_TOKEN= QA_GITLAB_URL=https://staging.gitlab.com WEBDRIVER_HEADLESS=false bundle exec bin/qa Test::Instance::All
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 Edgars Bralitis