opensearch-project / security-analytics-dashboards-plugin

Front end (UI) plugin to support security-analytics
Apache License 2.0
8 stars 41 forks source link

[Cypress test fix] Wait longer for action button to become enabled #983

Closed amsiglan closed 3 months ago

amsiglan commented 3 months ago

Description

The detector cypress tests are failing for windows runner at the test can be stopped and started back from detectors list action menu. This happens when trying to check that after restarting a detector the toggle button contains the correct text (Stop) but we fail to open the Action menu as the action button looks to be disabled when we try to click. This PR increases the wait period for the Action menu button to be enabled.

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 31.61%. Comparing base (5c43a1d) to head (da58adc).

:exclamation: Current head da58adc differs from pull request most recent head 30e2189. Consider uploading reports for the commit 30e2189 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #983 +/- ## ======================================= Coverage 31.61% 31.61% ======================================= Files 159 159 Lines 5304 5304 Branches 993 993 ======================================= Hits 1677 1677 Misses 3436 3436 Partials 191 191 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.