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

WZD - Feature - Enable rules are displayed after filter condition #4613

Closed
Tracked by #4578
mauceballos opened this issue Sep 28, 2022 · 1 comment · Fixed by #4635
Closed
Tracked by #4578

WZD - Feature - Enable rules are displayed after filter condition #4613

mauceballos opened this issue Sep 28, 2022 · 1 comment · Fixed by #4635
Assignees
Labels
automation automation type/test Test issue

Comments

@mauceballos
Copy link
Contributor

Wazuh Elastic Rev Security
4.3.8 7.17.4 4308 WZD
Browser
Chrome

Description:

The feature increases the coverage of the Rules Module, and Validate refresh option of the rule page continues to work correctly.

Feature

Given the wazuh admin user is logged
When the user navigates to management rules
And the user clicks on the search bar
And the user search a rule by any condition (Example: status:enable)
Then the filter label is displayed on the filter bar (this label must be the same condition as the user wrote on the search bar)
And there are only enabled rules displayed (No se como probar este paso, no hay un campo que indique si las rules estan encencidas o no)
@mauceballos
Copy link
Contributor Author

Feature implemented

Scenario Outline: Filter Rule By Level
        Given The wazuh admin user is logged
        When The user navigates to rules
        And The user search a rule by Level <condition>
        Then The filter label is displayed on the filter bar with the correct <condition>
        And The user can see the rules that match with the <condition>
        Examples:
        | condition |
        |    2      |

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation automation type/test Test issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant