-
Notifications
You must be signed in to change notification settings - Fork 187
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
Fix errors on closing flyouts in Firefox #5046
Fix errors on closing flyouts in Firefox #5046
Conversation
Removed the logic using the undefined `event.path` in Firefox. Removed EuiOutsideClickDetector component wrapping to EuiFlyout. Now it uses the outSideClickCloses property of EuiFlyout. This solution must work in all the browsers.
Wazuh dashboardLegend:
Details ⚫ Click inside of flyout of Integrity monitoring module should not display any errors in the browser consoleChrome - ⚫ Firefox - ⚫ Safari - ⚫ ⚫ Click outside of flyout of Integrity monitoring module should display any errors in the browser consoleChrome - ⚫ Firefox - ⚫ Safari - ⚫ 🟢 Click inside of flyout of PCI DSS/Controls should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of PCI DSS/Controls should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of GDPR/Controls should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of GDPR/Controls should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of HIPAA/Controls should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of HIPAA/Controls should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of NIST 800-53/Controls should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of NIST 800-53/Controls should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of TSC/Controls should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of TSC/Controls should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ ⚫ Click inside of flyout of MITRE ATT&CK/Framework should not display errors in the browser consoleChrome - ⚫ Firefox - ⚫ Safari - ⚫ ⚫ Click outside of flyout of MITRE ATT&CK/Framework should not display errors in the browser consoleChrome - ⚫ Firefox - ⚫ Safari - ⚫ 🟢 Click inside of flyout of Security/Users/Create user should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Users/Create user should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Users/Create user should when there are no saved content should display the confirmation prompt. Cancel confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Users/Create user should when there are no saved content should display the confirmation prompt. Accept confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of Security/Users/Edit user should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Users/Edit user should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Users/Edit user should when there are no saved content should display the confirmation prompt. Cancel confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Users/Edit user should when there are no saved content should display the confirmation prompt. Accept confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of Security/Policies/Create policy should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Policies/Create policy should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Policies/Create policy should when there are no saved content should display the confirmation prompt. Cancel confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Policies/Create policy should when there are no saved content should display the confirmation prompt. Accept confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of Security/Policies/Edit policy should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Policies/Edit policy should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Policies/Edit policy should when there are no saved content should display the confirmation prompt. Cancel confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Policies/Edit policy should when there are no saved content should display the confirmation prompt. Accept confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of Security/Roles/Create role should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Roles/Create role should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Roles/Create role should when there are no saved content should display the confirmation prompt. Cancel confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Roles/Create role should when there are no saved content should display the confirmation prompt. Accept confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of Security/Roles/Edit role should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Roles/Edit role should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Roles/Edit role should when there are no saved content should display the confirmation prompt. Cancel confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Roles/Edit role should when there are no saved content should display the confirmation prompt. Accept confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of Security/Role mapping/Create role mapping should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Role mapping/Create role mapping should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Role mapping/Create role mapping should when there are no saved content should display the confirmation prompt. Cancel confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Role mapping/Create role mapping should when there are no saved content should display the confirmation prompt. Accept confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of Security/Role mapping/Edit role mapping should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Role mapping/Edit role mapping should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 **Scenario**: Click outside of flyout of Security/Role mapping/Edit role mapping should when there are no saved content should display the confirmation prompt. Cancel confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Role mapping/Edit role mapping should when there are no saved content should display the confirmation prompt. Accept confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of rule details in Management/Rules should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of rule details in Management/Rules should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of decoder details in Management/Decoders should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of decoder details in Management/Decoders should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of Ruleset Test when creating a new rule file in Manament/Rules should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Ruleset Test when creating a new rule file in Manament/Rules should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of Ruleset Test when creating a new decoder file in Manament/Decoders should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Wazuh dashboardLegend:
Details ⚫ Click inside of flyout of Integrity monitoring module should not display any errors in the browser consoleChrome - ⚫ Firefox - ⚫ Safari - ⚫ ⚫ Click outside of flyout of Integrity monitoring module should display any errors in the browser consoleChrome - ⚫ Firefox - ⚫ Safari - ⚫ 🟢 Click inside of flyout of PCI DSS/Controls should not display errors in the browser consoleChrome - 🟢 Safari - ⚫ 🟢 Click outside of flyout of PCI DSS/Controls should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of GDPR/Controls should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of GDPR/Controls should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of HIPAA/Controls should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of HIPAA/Controls should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of NIST 800-53/Controls should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of NIST 800-53/Controls should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of TSC/Controls should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of TSC/Controls should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ ⚫ Click inside of flyout of MITRE ATT&CK/Framework should not display errors in the browser consoleChrome - ⚫ Firefox - ⚫ Safari - ⚫ ⚫ Click outside of flyout of MITRE ATT&CK/Framework should not display errors in the browser consoleChrome - ⚫ Firefox - ⚫ Safari - ⚫ 🟢 Click inside of flyout of Security/Users/Create user should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Users/Create user should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Users/Create user should when there are no saved content should display the confirmation prompt. Cancel confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Users/Create user should when there are no saved content should display the confirmation prompt. Accept confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of Security/Users/Edit user should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Users/Edit user should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Users/Edit user should when there are no saved content should display the confirmation prompt. Cancel confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Users/Edit user should when there are no saved content should display the confirmation prompt. Accept confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of Security/Policies/Create policy should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Policies/Create policy should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Policies/Create policy should when there are no saved content should display the confirmation prompt. Cancel confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Policies/Create policy should when there are no saved content should display the confirmation prompt. Accept confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of Security/Policies/Edit policy should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Policies/Edit policy should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Policies/Edit policy should when there are no saved content should display the confirmation prompt. Cancel confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Policies/Edit policy should when there are no saved content should display the confirmation prompt. Accept confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of Security/Roles/Create role should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Roles/Create role should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Roles/Create role should when there are no saved content should display the confirmation prompt. Cancel confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Roles/Create role should when there are no saved content should display the confirmation prompt. Accept confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of Security/Roles/Edit role should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Roles/Edit role should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ ⚫ Click outside of flyout of Security/Roles/Edit role should when there are no saved content should display the confirmation prompt. Cancel confirmationChrome - ⚫ Firefox - ⚫ Safari - ⚫ ⚫ Click outside of flyout of Security/Roles/Edit role should when there are no saved content should display the confirmation prompt. Accept confirmationChrome - ⚫ Firefox - ⚫ Safari - ⚫ 🟢 Click inside of flyout of Security/Role mapping/Create role mapping should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Role mapping/Create role mapping should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Role mapping/Create role mapping should when there are no saved content should display the confirmation prompt. Cancel confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Role mapping/Create role mapping should when there are no saved content should display the confirmation prompt. Accept confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of Security/Role mapping/Edit role mapping should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Role mapping/Edit role mapping should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Role mapping/Edit role mapping should when there are no saved content should display the confirmation prompt. Cancel confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Security/Role mapping/Edit role mapping should when there are no saved content should display the confirmation prompt. Accept confirmationChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of rule details in Management/Rules should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of rule details in Management/Rules should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of decoder details in Management/Decoders should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click outside of flyout of decoder details in Management/Decoders should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of Ruleset Test when creating a new rule file in Management/Rules should not display errors in the browser consoleChrome - 🟢 Safari - ⚫ 🟢 Click outside of flyout of Ruleset Test when creating a new rule file in Manament/Rules should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ 🟢 Click inside of flyout of Ruleset Test when creating a new decoder file in Manament/Decoders should not display errors in the browser consoleChrome - 🟢 Firefox - 🟢 Safari - ⚫ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CR: ✅
Test: ✅
LGTM
Description
This pull request fixes a problem when closing the flyouts using the Firefox browser.
Previously, we checked if the elements of the
event.path
contains the HTML classes related to the flyouts. Theevent.path
is undefined for recent versions of Firefox browser, while others browsers could be defined and work the logic to close the flyout.The solution removes the EuiOutsideClickDetector component wrapping to EuiFlyout. Now it uses the outsideClickCloses property of EuiFlyout.
The solution must work in all the browsers.
Issues Resolved
Closes #5043
Evidence
[Provide screenshots or videos to prove this PR solves the issues]
Test
For each browser (Google Chrome, Firefox, Safari)
Tests result template: pr_5046_template_result_tests.md
Scenario: Click inside of flyout of Integrity monitoring module should not display any errors in the browser console
When The user opens the flyout of the integrity monitoring module
And The user clicks inside the flyout
Then The browser console should not display any related errors
Scenario: Click outside of flyout of Integrity monitoring module should display any errors in the browser console
When The user opens the flyout of the integrity monitoring module
And The user clicks outside the flyout
Then the flyout should be closed without related errors
Scenario: Click inside of flyout of PCI DSS/Controls should not display errors in the browser console
When The user opens the flyout of the requirement in PCI DSS/Controls module
And The user clicks inside the flyout
Then The browser console should not display any related errors
Scenario: Click outside of flyout of PCI DSS/Controls should not display errors in the browser console
When The user opens the flyout of the requirement in PCI DSS/Controls module
And The user clicks outside the flyout
Then the flyout should be closed without related errors
Scenario: Click inside of flyout of GDPR/Controls should not display errors in the browser console
When The user opens the flyout of the requirement in GDPR/Controls module
And The user clicks inside the flyout
Then The browser console should not display any related errors
Scenario: Click outside of flyout of GDPR/Controls should not display errors in the browser console
When The user opens the flyout of the requirement in GDPR/Controls module
And The user clicks outside the flyout
Then the flyout should be closed without related errors
Scenario: Click inside of flyout of HIPAA/Controls should not display errors in the browser console
When The user opens the flyout of the requirement in HIPAA/Controls module
And The user clicks inside the flyout
Then The browser console should not display related errors
Scenario: Click outside of flyout of HIPAA/Controls should not display errors in the browser console
When The user opens the flyout of the requirement in HIPAA/Controls module
And The user clicks outside the flyout
Then the flyout should be closed without related errors
Scenario: Click inside of flyout of NIST 800-53/Controls should not display errors in the browser console
When The user opens the flyout of the requirement in NIST 800-53/Controls module
And The user clicks inside the flyout
Then The browser console should not display any related errors
Scenario: Click outside of flyout of NIST 800-53/Controls should not display errors in the browser console
When The user opens the flyout of the requirement in NIST 800-53/Controls module
And The user clicks outside the flyout
Then the flyout should be closed without related errors
Scenario: Click inside of flyout of TSC/Controls should not display errors in the browser console
When The user opens the flyout of the requirement in TSC/Controls module
And The user clicks inside the flyout
Then The browser console should not display any related errors
Scenario: Click outside of flyout of TSC/Controls should not display errors in the browser console
When The user opens the flyout of the requirement in TSC/Controls module
And The user clicks outside the flyout
Then the flyout should be closed without related errors
Scenario: Click inside of flyout of MITRE ATT&CK/Framework should not display errors in the browser console
When The user opens the flyout of the requirement in MITRE ATT&CK/Framework module
And The user clicks inside the flyout
Then The browser console should not display any related errors
Scenario: Click outside of flyout of MITRE ATT&CK/Framework should not display errors in the browser console
When The user opens the flyout of the requirement in MITRE ATT&CK/Framework module
And The user clicks outside the flyout
Then the flyout should be closed without related errors
Scenario: Click inside of flyout of Security/Users/Create user should not display errors in the browser console
When The user opens the flyout of the Security/Users/Create user
And The user clicks inside the flyout
Then The browser console should not display any related errors
Scenario: Click outside of flyout of Security/Users/Create user should not display errors in the browser console
When The user opens the flyout of the Security/Users/Create user
And The user clicks outside the flyout
Then the flyout should be closed without related errors
Scenario: Click outside of flyout of Security/Users/Create user should when there are no saved content should display the confirmation prompt. Cancel confirmation
When The user opens the flyout of the Security/Users/Create user
And The user clicks outside the flyout
Then A confirmation prompt should appear
And no related errors are displayed in the browser console
And The user clicks on the
Cancel
buttonAnd no related errors are displayed in the browser console
Scenario: Click outside of flyout of Security/Users/Create user should when there are no saved content should display the confirmation prompt. Accept confirmation
When The user opens the flyout of the Security/Users/Create user
And The user clicks outside the flyout
Then A confirmation prompt should appear
And no related errors are displayed in the browser console
And The user clicks on the
Aceept
buttonAnd no related errors are displayed in the browser console
Scenario: Click inside of flyout of Security/Users/Edit user should not display errors in the browser console
When The user opens the flyout of the Security/Users/Edit user
And The user clicks inside the flyout
Then The browser console should not display any related errors
Scenario: Click outside of flyout of Security/Users/Edit user should not display errors in the browser console
When The user opens the flyout of the Security/Users/Edit user
And The user clicks outside the flyout
Then the flyout should be closed without related errors
Scenario: Click outside of flyout of Security/Users/Edit user should when there are no saved content should display the confirmation prompt. Cancel confirmation
When The user opens the flyout of the Security/Users/Edit user
And The user clicks outside the flyout
Then A confirmation prompt should appear
And no related errors are displayed in the browser console
And The user clicks on the
Cancel
buttonAnd no related errors are displayed in the browser console
Scenario: Click outside of flyout of Security/Users/Edit user should when there are no saved content should display the confirmation prompt. Accept confirmation
When The user opens the flyout of the Security/Users/Edit user
And The user clicks outside the flyout
Then A confirmation prompt should appear
And no related errors are displayed in the browser console
And The user clicks on the
Cancel
buttonAnd no related errors are displayed in the browser console
Scenario: Click inside of flyout of Security/Policies/Create policy should not display errors in the browser console
When The user opens the flyout of the Security/Policies/Create policy
And The user clicks inside the flyout
Then The browser console should not display any related errors
Scenario: Click outside of flyout of Security/Policies/Create policy should not display errors in the browser console
When The user opens the flyout of the Security/Policies/Create policy
And The user clicks outside the flyout
Then the flyout should be closed without related errors
Scenario: Click outside of flyout of Security/Policies/Create policy should when there are no saved content should display the confirmation prompt. Cancel confirmation
When The user opens the flyout of the Security/Policies/Create policy
And The user clicks outside the flyout
Then A confirmation prompt should appear
And no related errors are displayed in the browser console
And The user clicks on the
Cancel
buttonAnd no related errors are displayed in the browser console
Scenario: Click outside of flyout of Security/Policies/Create policy should when there are no saved content should display the confirmation prompt. Accept confirmation
When The user opens the flyout of the Security/Policies/Create policy
And The user clicks outside the flyout
Then A confirmation prompt should appear
And no related errors are displayed in the browser console
And The user clicks on the
Accept
buttonAnd no related errors are displayed in the browser console
Scenario: Click inside of flyout of Security/Policies/Edit policy should not display errors in the browser console
When The user opens the flyout of the Security/Policies/Edit policy
And The user clicks inside the flyout
Then The browser console should not display any related errors
Scenario: Click outside of flyout of Security/Policies/Edit policy should not display errors in the browser console
When The user opens the flyout of the Security/Policies/Edit policy
And The user clicks outside the flyout
Then the flyout should be closed without related errors
Scenario: Click outside of flyout of Security/Policies/Edit policy should when there are no saved content should display the confirmation prompt. Cancel confirmation
When The user opens the flyout of the Security/Policies/Edit policy
And The user clicks outside the flyout
Then A confirmation prompt should appear
And no related errors are displayed in the browser console
And The user clicks on the
Cancel
buttonAnd no related errors are displayed in the browser console
Scenario: Click outside of flyout of Security/Policies/Edit policy should when there are no saved content should display the confirmation prompt. Accept confirmation
When The user opens the flyout of the Security/Policies/Edit policy
And The user clicks outside the flyout
Then A confirmation prompt should appear
And no related errors are displayed in the browser console
And The user clicks on the
Accept
buttonAnd no related errors are displayed in the browser console
Scenario: Click inside of flyout of Security/Roles/Create role should not display errors in the browser console
When The user opens the flyout of the Security/Roles/Create role
And The user clicks inside the flyout
Then The browser console should not display any related errors
Scenario: Click outside of flyout of Security/Roles/Create role should not display errors in the browser console
When The user opens the flyout of the Security/Roles/Create role
And The user clicks outside the flyout
Then the flyout should be closed without related errors
Scenario: Click outside of flyout of Security/Roles/Create role should when there are no saved content should display the confirmation prompt. Cancel confirmation
When The user opens the flyout of the Security/Roles/Create role
And The user clicks outside the flyout
Then A confirmation prompt should appear
And no related errors are displayed in the browser console
And The user clicks on the
Cancel
buttonAnd no related errors are displayed in the browser console
Scenario: Click outside of flyout of Security/Roles/Create role should when there are no saved content should display the confirmation prompt. Accept confirmation
When The user opens the flyout of the Security/Roles/Create role
And The user clicks outside the flyout
Then A confirmation prompt should appear
And no related errors are displayed in the browser console
And The user clicks on the
Accept
buttonAnd no related errors are displayed in the browser console
Scenario: Click inside of flyout of Security/Roles/Edit role should not display errors in the browser console
When The user opens the flyout of the Security/Roles/Edit role
And The user clicks inside the flyout
Then The browser console should not display any related errors
Scenario: Click outside of flyout of Security/Roles/Edit role should not display errors in the browser console
When The user opens the flyout of the Security/Roles/Edit role
And The user clicks outside the flyout
Then the flyout should be closed without related errors
Scenario: Click outside of flyout of Security/Roles/Edit role should when there are no saved content should display the confirmation prompt. Cancel confirmation
When The user opens the flyout of the Security/Roles/Edit role
And The user clicks outside the flyout
Then A confirmation prompt should appear
And no related errors are displayed in the browser console
And The user clicks on the
Cancel
buttonAnd no related errors are displayed in the browser console
Scenario: Click outside of flyout of Security/Roles/Edit role should when there are no saved content should display the confirmation prompt. Accept confirmation
When The user opens the flyout of the Security/Roles/Edit role
And The user clicks outside the flyout
Then A confirmation prompt should appear
And no related errors are displayed in the browser console
And The user clicks on the
Accept
buttonAnd no related errors are displayed in the browser console
Scenario: Click inside of flyout of Security/Role mapping/Create role mapping should not display errors in the browser console
When The user opens the flyout of the Security/Role mapping/Create role mapping
And The user clicks inside the flyout
Then The browser console should not display any related errors
Scenario: Click outside of flyout of Security/Role mapping/Create role mapping should not display errors in the browser console
When The user opens the flyout of the Security/Role mapping/Create role mapping
And The user clicks outside the flyout
Then the flyout should be closed without related errors
Scenario: Click outside of flyout of Security/Role mapping/Create role mapping should when there are no saved content should display the confirmation prompt. Cancel confirmation
When The user opens the flyout of the Security/Role mapping/Create role mapping
And The user clicks outside the flyout
Then A confirmation prompt should appear
And no related errors are displayed in the browser console
And The user clicks on the
Cancel
buttonAnd no related errors are displayed in the browser console
Scenario: Click outside of flyout of Security/Role mapping/Create role mapping should when there are no saved content should display the confirmation prompt. Accept confirmation
When The user opens the flyout of the Security/Role mapping/Create role mapping
And The user clicks outside the flyout
Then A confirmation prompt should appear
And no related errors are displayed in the browser console
And The user clicks on the
Accept
buttonAnd no related errors are displayed in the browser console
Scenario: Click inside of flyout of Security/Role mapping/Edit role mapping should not display errors in the browser console
When The user opens the flyout of the Security/Role mapping/Edit role mapping
And The user clicks inside the flyout
Then The browser console should not display any related errors
Scenario: Click outside of flyout of Security/Role mapping/Edit role mapping should not display errors in the browser console
When The user opens the flyout of the Security/Role mapping/Edit role mapping
And The user clicks outside the flyout
Then the flyout should be closed without related errors
Scenario: Click outside of flyout of Security/Role mapping/Edit role mapping should when there are no saved content should display the confirmation prompt. Cancel confirmation
When The user opens the flyout of the Security/Role mapping/Edit role mapping
And The user clicks outside the flyout
Then A confirmation prompt should appear
And no related errors are displayed in the browser console
And The user clicks on the
Cancel
buttonAnd no related errors are displayed in the browser console
Scenario: Click outside of flyout of Security/Role mapping/Edit role mapping should when there are no saved content should display the confirmation prompt. Accept confirmation
When The user opens the flyout of the Security/Role mapping/Edit role mapping
And The user clicks outside the flyout
Then A confirmation prompt should appear
And no related errors are displayed in the browser console
And The user clicks on the
Accept
buttonAnd no related errors are displayed in the browser console
Scenario: Click inside of flyout of rule details in Management/Rules should not display errors in the browser console
When The user opens the flyout of rule details in Management/Rules
And The user clicks inside the flyout
Then The browser console should not display any related errors
Scenario: Click outside of flyout of rule details in Management/Rules should not display errors in the browser console
When The user opens the flyout of rule details in Management/Rules
And The user clicks outside the flyout
Then the flyout should be closed without related errors
Scenario: Click inside of flyout of decoder details in Management/Decoders should not display errors in the browser console
When The user opens the flyout of rule details in Management/Decoders
And The user clicks inside the flyout
Then The browser console should not display any related errors
Scenario: Click outside of flyout of decoder details in Management/Decoders should not display errors in the browser console
When The user opens the flyout of rule details in Management/Decoders
And The user clicks outside the flyout
Then the flyout should be closed without related errors
Scenario: Click inside of flyout of Ruleset Test when creating a new rule file in Management/Rules should not display errors in the browser console
When The user opens the flyout of Ruleset Test when creating a new rule file in Management/Rules
And The user clicks inside the flyout
Then The browser console should not display any related errors
Scenario: Click outside of flyout of Ruleset Test when creating a new rule file in Management/Rules should not display errors in the browser console
When The user opens the flyout of Ruleset Test when creating a new rule file in Management/Rules
And The user clicks outside the flyout
Then the flyout should be closed without related errors
Scenario: Click inside of flyout of Ruleset Test when creating a new decoder file in Management/Decoders should not display errors in the browser console
When The user opens the flyout of Ruleset Test when creating a new decoder file in Management/Decoders
And The user clicks inside the flyout
Then The browser console should not display any related errors
Scenario: Click outside of flyout of Ruleset Test when creating a new decoder file in Management/Decoders should not display errors in the browser console
When The user opens the flyout of Ruleset Test when creating a new decoder file in Management/Decoders
And The user clicks outside the flyout
Then the flyout should be closed without related errors
Check List
yarn test:jest