Skip to content

[ZEPPELIN-6370] Upgrade playwright and change the method of installing Playwright browsers#5108

Merged
tbonelee merged 3 commits into
apache:masterfrom
voidmatcha:e2e/upgrade-playwright
Oct 24, 2025
Merged

[ZEPPELIN-6370] Upgrade playwright and change the method of installing Playwright browsers#5108
tbonelee merged 3 commits into
apache:masterfrom
voidmatcha:e2e/upgrade-playwright

Conversation

@voidmatcha
Copy link
Copy Markdown
Contributor

@voidmatcha voidmatcha commented Oct 21, 2025

What is this PR for?

#5107
https://github.com/apache/zeppelin/actions/runs/18662031473/job/53204596550?pr=5107

In the Playwright E2E tests of the above bump PR, the following issue occurred:

Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/webkit-2215/pw_run.sh

This issue seems to be caused by the Playwright browser installation step being version-locked in zeppelin-web-angular/pom.xml's playwright-install execution.

Instead of managing it in pom.xml, it would be better to add it to the postinstall script in zeppelin-web-angular/package.json, so that Playwright browsers are automatically installed when running npm install, either in CI and on a local environment. This PR addresses that change.

61ff629

Including the CI caching procedure as above, it seems optimized as previous approach(pom.xml).

What type of PR is it?

Improvement

Todos

What is the Jira issue?

ZEPPELIN-6370

How should this be tested?

Screenshots (if appropriate)

Questions:

  • Does the license files need to update? No
  • Is there breaking changes for older versions? No
  • Does this needs documentation? No

@tbonelee tbonelee merged commit 0a768bc into apache:master Oct 24, 2025
55 of 58 checks passed
tbonelee pushed a commit that referenced this pull request Oct 24, 2025
…g Playwright browsers

### What is this PR for?
#5107
https://github.com/apache/zeppelin/actions/runs/18662031473/job/53204596550?pr=5107

In the Playwright E2E tests of the above bump PR, the following issue occurred:
```
Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/webkit-2215/pw_run.sh
```

This issue seems to be caused by the Playwright browser installation step being version-locked in `zeppelin-web-angular/pom.xml`'s playwright-install execution.

Instead of managing it in `pom.xml`, it would be better to add it to the `postinstall` script in `zeppelin-web-angular/package.json`, so that Playwright browsers are automatically installed when running `npm install`, either in CI and on a local environment. This PR addresses that change.

61ff629

Including the CI caching procedure as above, it seems optimized as previous approach(pom.xml).

### What type of PR is it?
Improvement

### Todos

### What is the Jira issue?
ZEPPELIN-6370

### How should this be tested?

### Screenshots (if appropriate)

### Questions:
* Does the license files need to update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Closes #5108 from dididy/e2e/upgrade-playwright.

Signed-off-by: ChanHo Lee <chanholee@apache.org>
(cherry picked from commit 0a768bc)
Signed-off-by: ChanHo Lee <chanholee@apache.org>
@tbonelee
Copy link
Copy Markdown
Contributor

Merged into master and branch-0.12

voidmatcha added a commit to voidmatcha/zeppelin that referenced this pull request Oct 26, 2025
…g Playwright browsers

apache#5107
https://github.com/apache/zeppelin/actions/runs/18662031473/job/53204596550?pr=5107

In the Playwright E2E tests of the above bump PR, the following issue occurred:
```
Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/webkit-2215/pw_run.sh
```

This issue seems to be caused by the Playwright browser installation step being version-locked in `zeppelin-web-angular/pom.xml`'s playwright-install execution.

Instead of managing it in `pom.xml`, it would be better to add it to the `postinstall` script in `zeppelin-web-angular/package.json`, so that Playwright browsers are automatically installed when running `npm install`, either in CI and on a local environment. This PR addresses that change.

61ff629

Including the CI caching procedure as above, it seems optimized as previous approach(pom.xml).

Improvement

ZEPPELIN-6370

* Does the license files need to update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Closes apache#5108 from dididy/e2e/upgrade-playwright.

Signed-off-by: ChanHo Lee <chanholee@apache.org>
tbonelee pushed a commit that referenced this pull request Nov 3, 2025
### What is this PR for?
#5111 (comment)

#5108
After upgrading Playwright to the latest version(1.53.2 to 1.56.1), several test cases started failing on WebKit. The issue was resolved by rolling back to the previous minor version(1.55.1).

[related issue]
microsoft/playwright#37766

### What type of PR is it?
Hot Fix

### Todos

### What is the Jira issue?

### How should this be tested?

### Screenshots (if appropriate)

### Questions:
* Does the license files need to update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No


Closes #5115 from dididy/fix/e2e.

Signed-off-by: ChanHo Lee <chanholee@apache.org>
tbonelee pushed a commit that referenced this pull request Nov 3, 2025
### What is this PR for?
#5111 (comment)

#5108
After upgrading Playwright to the latest version(1.53.2 to 1.56.1), several test cases started failing on WebKit. The issue was resolved by rolling back to the previous minor version(1.55.1).

[related issue]
microsoft/playwright#37766

### What type of PR is it?
Hot Fix

### Todos

### What is the Jira issue?

### How should this be tested?

### Screenshots (if appropriate)

### Questions:
* Does the license files need to update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Closes #5115 from dididy/fix/e2e.

Signed-off-by: ChanHo Lee <chanholee@apache.org>
(cherry picked from commit bf62a2a)
Signed-off-by: ChanHo Lee <chanholee@apache.org>
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.

2 participants