Repository navigation
Description
Is there an existing issue already for this feature request/idea?
- I have searched for an existing issue, and could not find anything. I believe this is a new feature request to be evaluated.
What problem is this feature going to solve? Why should it be added?
The E2E tests have been evolving a lot for the last few years, this lead to have a lot of different functions and implementations for the same tasks in different locations, also, it's too attached to the project to be able to run externally.
Another problem with the E2E tests it is that we add a lot of dependencies that are exclusive to the E2E tests in the go.mod file meaning that we usually have some false positive due to these kind of dependencies.
Describe the solution you'd like
Requirements
We should start refactoring the E2E tests to have:
- Every directory inside
utils/must be a package that can be call by it self - A real
e2e_utilspackage that can be used across the tests, this requires move a lot of functions and replace must of the current content with more generic ones - Explore a way to call easily call the tests independently, re-group tests if necessary, create sub-groups when required but always in clear packages that we can identify their task by the name
- The YAML have been useful for examples, but now we have many different ways to apply them, we should probably switch to something that allow more customization or flexibility to avoid having mixed names in the objects
All these changes needs to be done having one focus and only one, remove the e2e tests from the project to an external project (IN THE FUTURE) that can be called against any operator version in any possible environment. The upgrade tests must be treated as an special case in have it's own Epic ticket to deal with it in the external project.
Plan
A series of issues must be attached here to really narrow and specific tasks, always accomplishing really specific tasks, this due to the experience that the E2E tests changes may lead to have really big changes.
Every new issue should be attach to this Epic and this will be closed only when we have an external project to continue there.
Describe alternatives you've considered
None
Additional context
No response
Backport?
Yes
Are you willing to actively contribute to this feature?
No
Code of Conduct
- I agree to follow this project's Code of Conduct
Activity
gbartolini commentedon Apr 17, 2026
Thanks for starting this @sxd. How do you think we should treat issue #7614? Add it as a child?
sxd commentedon Apr 18, 2026
@gbartolini yes indeed, I'm looking for other related tickets too like #9220 and #6572 I'll add them as a child here in the following days