Skip to content

[ZEPPELIN-6527] Fix flaky run-e2e-tests-in-zeppelin-web CI job (searchBlock Protractor timing)#5295

Open
miinhho wants to merge 4 commits into
apache:masterfrom
miinhho:fix/flaky-e2e-in-zeppelin-web
Open

[ZEPPELIN-6527] Fix flaky run-e2e-tests-in-zeppelin-web CI job (searchBlock Protractor timing)#5295
miinhho wants to merge 4 commits into
apache:masterfrom
miinhho:fix/flaky-e2e-in-zeppelin-web

Conversation

@miinhho

@miinhho miinhho commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

What is this PR for?

This PR removes the flaky classic zeppelin-web Protractor e2e job by moving its remaining active coverage to the existing Playwright e2e workflow.

The old run-e2e-tests-in-zeppelin-web job depended on Protractor, webdriver-manager, and a pinned ChromeDriver 2.35, and had been failing intermittently in the classic search/replace tests due to AngularJS/Ace synchronization timing.

Since that stack is end-of-life and cannot be reasonably modernized in place, this PR ports the 10 active checks from home.spec.js and searchBlock.spec.js to Playwright, pointed at the classic /classic UI.

The migrated tests keep the existing classic UI coverage for the home page, interpreter permission save flow, search shortcut, match counters, replace, and replace-all behavior. After that coverage is available in Playwright, the obsolete Protractor config, scripts, dependencies, and CI job are removed.

What type of PR is it?

Improvement

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-6527

How should this be tested?

cd zeppelin-web-angular
npx playwright test e2e/tests/classic --project=classic --reporter=line

For the Maven/CI path:

./mvnw clean install -DskipTests -am -pl python,zeppelin-jupyter-interpreter,zeppelin-web,zeppelin-web-angular -Pweb-classic
xvfb-run --auto-servernum --server-args="-screen 0 1024x768x24" ./mvnw verify -pl zeppelin-web-angular -Pweb-e2e

Questions:

  • Does the license files need to update? No
  • Is there breaking changes for older versions? No
  • Does this needs documentation? Edit zeppelin-web/README.md to reflect migrated classic web e2e test

miinhho added 4 commits July 13, 2026 21:35
  Move the active classic zeppelin-web e2e coverage from Protractor to
  the
  existing Playwright harness. Add a classic Playwright project for the
  legacy /classic UI, port the active home and search block checks, and
  remove
  the obsolete Protractor/webdriver-manager entry points from
  zeppelin-web.

  Also update the frontend CI job to build the classic UI and run the
  migrated
  checks through zeppelin-web-angular's Playwright e2e flow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant