Audit test coverage for Security Policy List
Security Policy List
Unit tests
Component | Tests | Missing test cases |
---|---|---|
|
|
Add more test cases for edge cases when id is not only string |
|
|
covered sufficiently |
|
|
missing test case for failed GraphQl query |
|
|
covered sufficiently |
|
|
covered sufficiently |
Integration tests
Location: spec/frontend_integration/security_orchestration/policy_editor/policy_list_spec.js
Test scenarios | Completed | Notes |
---|---|---|
Policy list is rendered | ||
List loading failed | ||
Selecting policy, details rendered in drawer | ||
Switching between tabs in a drawer | ||
Editing policy (button in a drawer) | ||
Sorting policy table | ||
Filtering policy table | ||
Switching between tabs of drawer
|
Integration tests
Location | Test scenarios | Notes |
---|---|---|
spec/frontend_integration/security_orchestration |
Selecting security project | Completed, see #2225 (comment 1689438650) |
Feature tests
None needed
E2E tests
None needed
Implementation Plan
- Identify scenarios for tests (update the list above)
- Identify which types of tests we want for each scenario (update the list above)
- Verify which of these cases are completely covered by existing tests (update the list above)
- Create the tests
Edited by Alexander Turinske