Create E2E test for Project-Level Alerts Dashboard
Problem to solve
We currently have no end-to-end tests in place to catch issues introduced in any Protect features. We also lack expertise creating and maintaining these tests. By building an initial test plan that exercises a feature's basic functionality (i.e. the "golden path") we lay a foundation for future tests, build some level of test coverage, and improve our understanding of E2E tests at GitLab.
Proposal
Focus this test plan on the functionality that will be released as part of the Initial Project Level Alert Dashboard.
Create a set of tests that can be run locally & within a downstream pipeline that exercises following:
-
the creation of a policy -
triggering of an alert -
retrieving that alert on the dashboard -
dismissing the alert from the dashboard
Further details
- Reading material for automated test suite (thanks to @vincywilson): gitlab-com/www-gitlab-com#10588 (comment 498989684)
Edited by Alexander Turinske