Snippet "Private" label typo resulting in E2E test failure
Summary
In a Private snippet, the snippet-box
component has label with text private
while our existing E2E test expecting Private
. Therefore this test is failing.
Steps to reproduce
Execute test create_snippet_spec.rb or review QA against Canary pipeline, qa-schedules-smoke
Example Project
What is the current bug behavior?
snippet-box
component label has text private
What is the expected correct behavior?
snippet-box
component label has text Private
Relevant logs and/or screenshots
Currently in production
What the test expecting
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:env:info
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)