-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Fleet] Add UI tests for Integration Policy upgrades with conflicts #125236
Comments
Pinging @elastic/fleet (Team:Fleet) |
I've added unit tests for many of these scenarios here: #125068 |
@juliaElastic Thanks I forgot to look at the coverage available there. I've scoped this down to focus on package policy upgrades which are more complex. I think the other coverage we've added in the past few weeks covers the other scenarios well. |
@juliaElastic do you know if we already have a dockerized package registry running in Cypress? If not we'll have to create the basic setup needed to write these tests. |
@criamico we are not using dockerized package registry with Cypress, you can force install earlier versions of packages to test conflicts. |
Thanks Julia, I think it's worth exploring the different options. I'll check the other discussion. |
See #121436 for tracking of all Fleet UI tests and for guidance on how to structure and write Cypress tests.
Basic coverage for editing an integration (the description field) was added in #121628
Unit tests for validation and saving were added in #125068
We need to have additional coverage that exercises some of the more complex aspects of the policy editor. This is scoped to:
We should use a test package defined in the Kibana repository and served via the local EPR docker container for this type of testing rather than using a real package that will change between releases. We are tracking tests for the specific custom UIs separately, such as #123399
The text was updated successfully, but these errors were encountered: