wazuh-dashboard-plugins
wazuh-dashboard-plugins copied to clipboard
Add index not found message to each tab of the fim module
Description
In the FIM module, when an index is not found, the dashboard loads but without data, the same happens in the inventory and events tab of the same module.
What we want: We want that if the index is not found the dashboard does not load and displays an index not found message, the same behaviour we want to happen in the inventory and events tab of the same module.
Issues Resolved
#6325
Evidence
Test
Go to the FIM module and check that each tab looks like the images attached in this PR.
Check List
- [x] All tests pass
- [x]
yarn test:jest
- [x]
- [x] New functionality includes testing.
- [x] New functionality has been documented.
- [x] Update CHANGELOG.md
- [x] Commits are signed per the DCO using --signoff
CR 🟡
Test 🟢
Wazuh Core plugin code coverage (Jest) test | % | values |
---|---|---|
Statements | 21.38% | ( 176 / 823 ) |
Branches | 19.45% | ( 79 / 406 ) |
Functions | 14.17% | ( 36 / 254 ) |
Lines | 21.57% | ( 173 / 802 ) |
Wazuh Check Updates plugin code coverage (Jest) test | % | values |
---|---|---|
Statements | 76.44% | ( 172 / 225 ) |
Branches | 58.65% | ( 61 / 104 ) |
Functions | 61.7% | ( 29 / 47 ) |
Lines | 76.44% | ( 172 / 225 ) |
Main plugin code coverage (Jest) test | % | values |
---|---|---|
Statements | 11.61% | ( 4009 / 34514 ) |
Branches | 7.69% | ( 1753 / 22791 ) |
Functions | 11.19% | ( 925 / 8261 ) |
Lines | 11.79% | ( 3897 / 33053 ) |
This change is postponed.