No event fired at clicking "Close Issue" button in Issue page
Summary
E2E test for contribution_analytics_spec.rb is failing because it wasn't able to close the issue. Clicking the "Close Issue" button doesn't fire any event.
I was able to reproduce this in my local GDK, screenshot provided below
Steps to reproduce
(Steps from the above test)
- Login
- Visit an issue (in the issue list, click on the issue)
- On the issue page, click on "Close Issue" button (the one on top, the bottom one is working fine)
What is the current bug behavior?
No event is fired, issue is not closed.
What is the expected correct behavior?
Event is fired, issue is closed
Relevant logs and/or screenshots
Output of checks
This test is failing in Staging and master pipelines see #219175 (closed) for failure tracking records
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)
Workaround
Use the bottom Close Issue
button or use the /close
quick action.