Feature specs for Vulnerability state transitions
Why are we doing this work?
After #394846 (closed) happened I think it would be a good idea to have a feature spec for changing the state. We have some tests but they are describe as Vulnerability management in a merge request – https://gitlab.com/gitlab-org/gitlab/blob/f0436d8a476455fcb658581b6ee0f9b47f4607b7/qa/qa/specs/features/ee/browser_ui/10_govern/vulnerability_management_spec.rb#L5
Implementation plan
-
Create qa/qa/specs/features/ee/browser_ui/10_govern/vulnerability_report_spec.rb-
Verify that all possible state transitions for a Vulnerability can happen -
Transitions from the same state to the same state do not add a new item to the history (unless modifying the dismissal_reason)
-
Edited by Gregory Havenga