Skip to content

[Feature]: Refactor E2E tests #10476

Open
12 of 12 issues completed
Open

Description

@sxd

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_utils package 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

Sub-issues

Sub-issues

12 of 12 Issues completed
Loading 12 sub-issues

Activity

  1. added this to the 1.30.0 milestone on Apr 17, 2026
  2. self-assigned this
    on Apr 17, 2026
  3. added theissue type on Apr 17, 2026
  4. added
    triage
    on Apr 17, 2026
  5. gbartolini commented on Apr 17, 2026

    @gbartolini
    Contributor

    Thanks for starting this @sxd. How do you think we should treat issue #7614? Add it as a child?

  6. sxd commented on Apr 18, 2026

    @sxd
    ContributorAuthor

    @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

  7. modified the milestones: 1.30.0, Now on Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

no-staletriage

Type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions