Fix E2E test service_ping_default_enabled_spec.rb
What does this MR do and why?
Fix E2E test service_ping_default_enabled_spec.rb
The enable-usage-data-checkbox can have four different states:
- checked and enabled
- checked and disabled
- unchecked and enabled
- unchecked and disabled
Apparently, previously the checkbox was checked but enabled. But
currently, for an unknown reason, the checkbox is checked but disabled.
We modify the test to check for this state.
This test is currently fast-quarantined: Quarantine 14_analytics/service_ping_default_en... (gitlab-org/quality/engineering-productivity/fast-quarantine!363 - merged)
References
Closes https://gitlab.com/gitlab-org/gitlab/-/issues/546552
Screenshots or screen recordings
How to set up and validate locally
- cd qa
- bundle install
- WEBDRIVER_HEADLESS=0 QA_LOG_LEVEL=DEBUG QA_GITLAB_URL=https://gdk.test:3443 bundle exec rspec qa/specs/features/browser_ui/14_analytics/service_ping_default_enabled_spec.rb
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Eduardo Sanz García
