opendistro-for-elasticsearch / index-management-kibana-plugin

🗃 Open Distro Index Management Kibana UI plugin
https://opendistro.github.io/
Apache License 2.0
42 stars 24 forks source link

Cypress with security #165

Closed bowenlan-amzn closed 3 years ago

bowenlan-amzn commented 3 years ago

Issue #, if available:

Description of changes: This PR enable IM kibana plugin to run cypress with security: yarn run cypress open --env security_enabled=true It also stablize the test, previously there are always some test failing in github action.

For cypress with security plugin, since we haven't integrate security with IM plugin, once we integrated, these cypress test will need further updated, like we cannot directly modify the managed-index start_time by updating .opendistro-ism-config which gonna be a system index.

Thanks to @tlfeng cypress change for alerting plugin

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or

(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or

(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.

(d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.