Add view tests to pipeline subscriptions view
What does this MR do and why?
Describe in detail what your merge request does and why.
To improve the quality and robustness of the pipeline subscriptions view, this MR adds some new view tests to ensure that key components of the view are displayed properly.
Tests for:
- Presence of the help button next to the "Project path" title.
- Presence of the "delete" button for items in the "Subscriptions" table.
- Lack of the "delete" button for items in the "Subscribed to this project" table.
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
bin/rspec spec/views/projects/settings/subscriptions/_index.html.haml_spec.rb
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 Rémy Coutable