-
Notifications
You must be signed in to change notification settings - Fork 118
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
#3530 enhance sanity testing framework #958
#3530 enhance sanity testing framework #958
Conversation
Signed-off-by: Sam <[email protected]>
Signed-off-by: Sam <[email protected]>
1060c69
to
03187b8
Compare
Signed-off-by: Sam <[email protected]>
Signed-off-by: Sam <[email protected]>
Signed-off-by: Sam <[email protected]>
Signed-off-by: Sam <[email protected]>
Signed-off-by: Sam <[email protected]>
@DarshitChanpura the tests are basically done, but based on the clarification on the issue discussion, i still have to replace the actual calls to the backend with mock responses. I'm moving this out of draft without having complete that step I can get any feedback on the overall structure of the tests |
cypress/integration/plugins/security-dashboards-plugin/sanity_tests.spec.js
Outdated
Show resolved
Hide resolved
cypress/integration/plugins/security-dashboards-plugin/sanity_tests.spec.js
Outdated
Show resolved
Hide resolved
cypress/integration/plugins/security-dashboards-plugin/sanity_tests.spec.js
Outdated
Show resolved
Hide resolved
cypress/integration/plugins/security-dashboards-plugin/sanity_tests.spec.js
Outdated
Show resolved
Hide resolved
Signed-off-by: Sam <[email protected]>
Signed-off-by: Sam <[email protected]>
b1d4517
to
f28dba4
Compare
Signed-off-by: Sam <[email protected]>
Signed-off-by: Sam <[email protected]>
@DarshitChanpura can you review this and let me know your thoughts? thanks |
@DarshitChanpura friendly ping |
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.
LGTM
Could we get some maintainer reviews on this? In the latest CI run, cy.wait didn't seem to have caused any issues |
@samuelcostae should this backport to |
yes. |
@SuZhou-Joe @xluo-aws @Hailong-am @ruanyl @wanglam @raintygao Can we get some reviews on this PR? Last update was more than a month ago. |
cypress/integration/plugins/security-dashboards-plugin/sanity_tests.spec.js
Outdated
Show resolved
Hide resolved
cypress/integration/plugins/security-dashboards-plugin/sanity_tests.spec.js
Show resolved
Hide resolved
Check if pattern was acually created Signed-off-by: Sam <[email protected]>
…mework' into #3530_Enhance_sanity_testing_framework
@samuelcostae would you mind paste local run result? The CI flow not running for the security-dashbaord-plugin and create an issue to track #1139 |
|
@SuZhou-Joe @xluo-aws @ruanyl @wanglam @raintygao Can we get 1 more review on this PR? |
@SuZhou-Joe @xluo-aws @ruanyl @wanglam @raintygao Can we get 1 more review on this PR please? |
@davidlago @wbeckler can you please help get this unblocked? |
@davidlago @wbeckler Just a friendly ping for a second review. Let us know any further work is required. |
@SuZhou-Joe @xluo-aws @ruanyl @wanglam @raintygao Pinging for 1 more review on this PR please. |
@SuZhou-Joe @xluo-aws @ruanyl @wanglam @raintygao Pinging for 1 more review on this PR please. This has been lingering for more than 2 weeks now. |
* initial skeleton Signed-off-by: Sam <[email protected]> * first two sections Signed-off-by: Sam <[email protected]> * first two sections Signed-off-by: Sam <[email protected]> * index pattern creation Signed-off-by: Sam <[email protected]> * index pattern creation Signed-off-by: Sam <[email protected]> * Bug Fixes Signed-off-by: Sam <[email protected]> * Cleanup Signed-off-by: Sam <[email protected]> * Cleanup Signed-off-by: Sam <[email protected]> * Cleanup Signed-off-by: Sam <[email protected]> * Refactor Signed-off-by: Sam <[email protected]> * Comment/ Extra line removal Signed-off-by: Sam <[email protected]> * Using loadSampleData command instead of custom method. Check if pattern was acually created Signed-off-by: Sam <[email protected]> --------- Signed-off-by: Sam <[email protected]> (cherry picked from commit e1e0716)
One comment is that we should consider on cleaning up the addition of the sample data within the test itself. Otherwise it leaves the cluster in a dirty state and could case the next test to fail. I would also verify that the expected test index isn't already existing to avoid transient failures. |
* initial skeleton Signed-off-by: Sam <[email protected]> * first two sections Signed-off-by: Sam <[email protected]> * first two sections Signed-off-by: Sam <[email protected]> * index pattern creation Signed-off-by: Sam <[email protected]> * index pattern creation Signed-off-by: Sam <[email protected]> * Bug Fixes Signed-off-by: Sam <[email protected]> * Cleanup Signed-off-by: Sam <[email protected]> * Cleanup Signed-off-by: Sam <[email protected]> * Cleanup Signed-off-by: Sam <[email protected]> * Refactor Signed-off-by: Sam <[email protected]> * Comment/ Extra line removal Signed-off-by: Sam <[email protected]> * Using loadSampleData command instead of custom method. Check if pattern was acually created Signed-off-by: Sam <[email protected]> --------- Signed-off-by: Sam <[email protected]> (cherry picked from commit e1e0716)
* initial skeleton Signed-off-by: Sam <[email protected]> * first two sections Signed-off-by: Sam <[email protected]> * first two sections Signed-off-by: Sam <[email protected]> * index pattern creation Signed-off-by: Sam <[email protected]> * index pattern creation Signed-off-by: Sam <[email protected]> * Bug Fixes Signed-off-by: Sam <[email protected]> * Cleanup Signed-off-by: Sam <[email protected]> * Cleanup Signed-off-by: Sam <[email protected]> * Cleanup Signed-off-by: Sam <[email protected]> * Refactor Signed-off-by: Sam <[email protected]> * Comment/ Extra line removal Signed-off-by: Sam <[email protected]> * Using loadSampleData command instead of custom method. Check if pattern was acually created Signed-off-by: Sam <[email protected]> --------- Signed-off-by: Sam <[email protected]>
* initial skeleton Signed-off-by: Sam <[email protected]> * first two sections Signed-off-by: Sam <[email protected]> * first two sections Signed-off-by: Sam <[email protected]> * index pattern creation Signed-off-by: Sam <[email protected]> * index pattern creation Signed-off-by: Sam <[email protected]> * Bug Fixes Signed-off-by: Sam <[email protected]> * Cleanup Signed-off-by: Sam <[email protected]> * Cleanup Signed-off-by: Sam <[email protected]> * Cleanup Signed-off-by: Sam <[email protected]> * Refactor Signed-off-by: Sam <[email protected]> * Comment/ Extra line removal Signed-off-by: Sam <[email protected]> * Using loadSampleData command instead of custom method. Check if pattern was acually created Signed-off-by: Sam <[email protected]> --------- Signed-off-by: Sam <[email protected]> (cherry picked from commit e1e0716)
* initial skeleton Signed-off-by: Sam <[email protected]> * first two sections Signed-off-by: Sam <[email protected]> * first two sections Signed-off-by: Sam <[email protected]> * index pattern creation Signed-off-by: Sam <[email protected]> * index pattern creation Signed-off-by: Sam <[email protected]> * Bug Fixes Signed-off-by: Sam <[email protected]> * Cleanup Signed-off-by: Sam <[email protected]> * Cleanup Signed-off-by: Sam <[email protected]> * Cleanup Signed-off-by: Sam <[email protected]> * Refactor Signed-off-by: Sam <[email protected]> * Comment/ Extra line removal Signed-off-by: Sam <[email protected]> * Using loadSampleData command instead of custom method. Check if pattern was acually created Signed-off-by: Sam <[email protected]> --------- Signed-off-by: Sam <[email protected]> (cherry picked from commit e1e0716)
Description
Enhanced Sanity Tests
Issues Resolved
#3530
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.