E2E - automatically create incident for alert
What does this MR do and why?
Describe in detail what your merge request does and why.
New E2E test - with create incident setting enabled, a new alert will automatically create a new incident.
- Login to gitlab
- Create new project
- Navigate to Settings -> Monitor -> Alerts
- Open Alert settings tab
- Enable
Create an incident
setting (select checkbox) - Save settings
- Setup new integration (HTTP endpoint)
- Send a test alert from this integration
- Navigate to Monitor -> Incidents
- Verify there is an incident in the project's incident list.
- There are also some refactoring to fit in the new flow for this test.
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 Tiffany Rea