Skip to content

Tests - Update groups fabrication via UI

Ievgen Chernikov requested to merge tests-update-group-creation-via-ui into master

What does this MR do and why?

Search field was removed for dashboard/groups page in case there are no groups, aka 'empty state' - !162034 (merged).

This MR is to update the tests to handle empty state for dashboard/groups properly. Essentially return false for has_group? method when a user has no groups.

This should fix the following tests that we see failing on Staging:

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

Tests that were failing before are passing locally when run against Staging:

Screenshot 2024-08-15 at 14.22.02.png

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Run the tests agains Staging, e.g. (Make sure to set GITLAB_QA_USER_AGENT, GITLAB_ADMIN_USERNAME, GITLAB_ADMIN_PASSWORD, GITLAB_QA_ADMIN_ACCESS_TOKEN env variables):

QA_GITLAB_URL=https://staging.gitlab.com bundle exec rspec qa/specs/features/ee/browser_ui/11_fulfillment/saas_user_limit_experience_spec.rb

Merge request reports