Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 4.6.0 - Alpha 1 - Wazuh UI regression testing #5862

Closed
8 tasks done
Tracked by #5863
AlexRuiz7 opened this issue Sep 7, 2023 · 3 comments
Closed
8 tasks done
Tracked by #5863

Release 4.6.0 - Alpha 1 - Wazuh UI regression testing #5862

AlexRuiz7 opened this issue Sep 7, 2023 · 3 comments
Assignees
Labels
level/task Task issue type/test Test issue

Comments

@AlexRuiz7
Copy link
Member

AlexRuiz7 commented Sep 7, 2023

The following issue aims to run manual tests for the current release candidate, report the results, and open new issues for any encountered errors.

Wazuh UI tests information

Main release candidate issue wazuh/wazuh#18858
Version 4.6.0
Release candidate # Alpha 1
Tag v4.6.0-alpha1
Previous UI regression tests issue -

Test report procedure

TL;DR

  1. The specified tests will be executed in every platform and version mentioned in this issue.
  2. Include evidence of each test performed.
  3. Report any problem or bug. Open a new issue for each of them and link them here.
  4. Justify skipped tests.

All test results must have one of the following statuses:

The test hasn't started yet.
🟢 All checks passed.
🔴 There is at least one failed check.
🟡 There is at least one expected fail or skipped test and no failures.

Any failing test must be properly addressed with a new issue, detailing the error and the possible cause.
It must be included in the Problems section of the current release candidate issue.

Any expected fail or skipped test must be justified with a reason.
All auditors must validate the justification for an expected fail or skipped test.

An extended report of the test results must be attached as a zip, txt or images.
This report can be used by the auditors to dig deeper into any possible failures and details.

Test template

Test Chrome Firefox Safari
-

Test plan

  1. Verify the app package installs and operates as expected.
  2. New search bar component #4312
  3. Redesign of add agent page #4205
  4. Review the analysis of Wazuh API usage #5233
  5. Cleanup embedded components #5040
  6. Improve error management #4145
  7. Move settings checks to alerts index check on health check page #5310
  8. Add ignore and restrict options to localfile configuration #4628
  9. Fix the GitHub and Office 365 module visibility configuration were not kept when changing the plugin #5376
  10. Cannot read properties of null error in the Settings section #4772
  11. Fix the request body suggestions are not working in API console #5520

Conclusions

Status Platform
🔴 Wazuh dashboards v4.6.0-alpha1

Failed checks

Auditors validation

The definition of done for this one is the validation of the conclusions and the test results from all auditors.

All checks from below must be accepted in order to close this issue.

@AlexRuiz7 AlexRuiz7 added type/test Test issue level/task Task issue labels Sep 7, 2023
@AlexRuiz7 AlexRuiz7 self-assigned this Sep 7, 2023
@wazuhci wazuhci moved this to In progress in Release 4.6.0 Sep 7, 2023
@AlexRuiz7
Copy link
Member Author

AlexRuiz7 commented Sep 8, 2023

Test results

Legend:
⚫: none
🟢: pass
🟡: warning
🔴: fail
⚪: not applicable

UI

Test Chrome Firefox Safari
New search bar component 🔴 🔴 🔴
Add agent wizard redesign 🔴 🔴 🔴
Wazuh API usage
Cleanup embedded components 🟢 🟢
Improve error management 🟢 🟢
Re-organize alerts index checks 🟢 🟢
Add ignore and restrict options to localfile configuration 🟢 🟢
Fix GitHub and Office365 modules visibility 🟢 🟢
Fix error in the Settings section 🟢 🟢
Fix suggestions for the request's body in the API console 🟡 🟡

Details

New search bar component

🔴 New search bar component: general use

image

Testing of the new search bar has been successful, however, small improvements may be done:

  • The documentation link for WQL is not working.
  • Use greater than and lower than symbols instead of bigger and smaller as description of > and < operators.

Add agent wizard redesign

🔴 Add agent wizard redesign: general use

An agent has been installed and enrolled successfully using the wizard.

image

Although the agent deployment wizard works properly, there are several issues we need to amend for the next release stage:

  • The ServerAdress documentation link points to an incorrect section
  • Screenshots of the wizard in the documentation are outdated
🟢 Add agent wizard redesign: enrollment password

If password authentication for agent enrollment is enabled, the UI shows the password in the command, and its visibility can be toggled properly.

image

🟢 Add agent wizard redesign: all supported systems are listed

image

🟢 Add agent wizard redesign: all created groups are listed

Existing groups are listed in the dropdown. Selecting a group modifies the enrollment command accordingly.

image

🟢 Add agent wizard redesign: UDP connection

If the protocol is UDP, an additional variable shows in the command.

image

Wazuh API usage

🟢 Wazuh API usage: general use

Cleanup embedded components

🟢 Cleanup embedded components: general use

No errors found related to the removal of the embedded jQuery library. The app works as expected.

Improve error management

🟢 Improve error management: general use

Navigating through the app, no errors were found. The app works as expected.

Re-organize alerts index checks

🟢 Re-organize alerts index checks

The timeFilter, metaFields, maxBuckets checks are now inside the alerts index check category of the Healthcheck.

image

Add ignore and restrict options to localfile configuration

🟢 Add ignore and restrict options to localfile configuration

If these settings are present in the ossec.conf, the UI shows them accordingly.

image

Fix GitHub and Office365 modules visibility

🟢 Fix GitHub and Office365 modules visibility

The visibility of these modules are now present in the wazuh.yml configuration file. Moreover, they have been added to the https://documentation-dev.wazuh.com/v4.6.0-alpha1/user-manual/wazuh-dashboard/config-file.html#extensions.

[root@rhel7 config]# cat wazuh.yml | grep extensions.github
# extensions.github: false
[root@rhel7 config]# cat wazuh.yml | grep extensions.office
# extensions.office: false

Fix error in the Settings section

🟢 Fix error in the Settings section

The bug has been fixed. I could not reproduce the error anymore.

Fix suggestions for the request's body in the API console

🟡 Fix suggestions for the request's body in the API console

The suggestions do work but an error message shows in the console. I think this "error" is
expected as it reports an unterminated JSON string, which actually is as the user is still typing.
However, this message should not be shown to the user.

image

@wazuhci wazuhci moved this from In progress to Pending review in Release 4.6.0 Sep 11, 2023
@Desvelao
Copy link
Member

LGTM!

@wazuhci wazuhci moved this from Pending review to Pending final review in Release 4.6.0 Sep 12, 2023
@davidjiglesias
Copy link
Member

LGTM!

@wazuhci wazuhci moved this from Pending final review to Done in Release 4.6.0 Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue type/test Test issue
Projects
No open projects
Status: Done
Development

No branches or pull requests

3 participants