Skip to content
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

Separate UI Tests from E2E Test Suite #8006

Open
pedro-stanaka opened this issue Dec 18, 2024 · 0 comments
Open

Separate UI Tests from E2E Test Suite #8006

pedro-stanaka opened this issue Dec 18, 2024 · 0 comments

Comments

@pedro-stanaka
Copy link
Contributor

Summary:
Currently, UI tests using Chrome are integrated with our E2E test suite, causing flakiness and performance issues. This issue proposes separating these UI tests into a dedicated test suite to improve overall test stability and maintainability.

Background:

  • Current E2E tests use chromedp for network request checks and UI testing.
  • These tests are experiencing flakiness, especially on the main branch.
  • The use of a full browser for these tests is causing performance issues in CI.

Objectives:

  1. Separate Chrome-based UI tests from the main E2E test suite.
  2. Improve test stability and reduce flakiness.
  3. Optimize CI performance by isolating resource-intensive browser tests.

Proposed Changes:

  1. Create a new dedicated UI test suite.
  2. Move all Chrome-based tests from the E2E suite to the new UI suite.
  3. Update CI pipeline to run UI tests separately from other E2E tests.
  4. Implement headless browser testing for improved performance (as suggested in PR Fixing E2E tests using headless Chrome #8005).

See slack thread: https://cloud-native.slack.com/archives/CL25937SP/p1734412998861709

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant