I created this issue to track the effort to automate this test case:
Scneario: Validate confirmation when closing modal without saving - Management - edit rules****
Preconditions
The user has assigned rol to edit rules
A test rule should be created to be modifided
Given the user is in Wazuh Kibana App
When the user naivagates to rules page (Managment/rules)
And the user select a rule to edit
And the user modify the selected rule
And the user try to exit create rules page without saving data
Then a informative modal is displayed
I created this issue to track the effort to automate this test case: Scneario: Validate confirmation when closing modal without saving - Management - edit rules**** Preconditions