chocolatey / chocolatey/docs

Playwright 1.58.1 fails in Firefox on Windows Server 2016

Open
#1,341 0 comments 0 reactions 0 assignees View on GitHub
0 - Backlog Blocked - External Bug
Dominant language
MDX
Stars
223
Forks
248
Avg merge
1d 26m
Merged PRs (30d)
4

Description

### Checklist
* [x] I confirm there are no unresolved issues reported on the [Chocolatey Status page](https://status.chocolatey.org).
* [x] I have verified this is the correct repository for opening this issue.
* [x] I have verified no other issues exist related to my problem.
* [x] I have verified this is not an issue for a specific package.
* [x] I have verified this issue is not security related.
* [x] I confirm I am using **official**, and **not** unofficial, or modified, Chocolatey products.

### What You Are Seeing?
When running Playwright on Firefox in Windows Server 2016, the follow errors occurs:

```
Error: browserType.launch: Host system is missing dependencies! Full list of missing libraries:
api-ms-win-core-apiquery-l2-1-0.dl
```

### What is Expected?
The upgrade to the `@playwright/test` package to `1.58.1` should not break any existing functionality.

### How Did You Get This To Happen?
1. Update the `@chocolatey-software/playwright` package to depend on `@playwright/test 1.58.1`.
1. Observer error when running Playwright on Windows Server 2016.

### User Story
As a user of Playwright,
I want to use version 1.58.1 or higher of the `@playwright/test` package without introducing failures in Firefox,
so that I can test my application appropriately.

### System Details
Windows Server 2016 on Firefox.

### Installed Packages
```bash
Error occurs on `@playwright/test 1.58.1`.
```

### Output Log
```bash
Error: browserType.launch: Host system is missing dependencies! Full list of missing libraries:
api-ms-win-core-apiquery-l2-1-0.dl
```

### Additional Context
In order to quickly determine if this issue has been resolved upstream, you can run the following on a Server 2016 instance with `nodejs-lts` Chocolatey package installed:

```bash
mkdir tmp
cd tmp
npm install playwright@1.58.1
npx playwright install firefox --with-deps
```

### Acceptance Criteria
* [ ] The `@playwright/test` package is upgraded to version `1.58.1` or higher and introduces no new failures to run on all Chocolatey products.
* [ ] The version of `@chocolatey-software/playwright` is bumped to the next minor version, or major, depending on other changes.

### Related Issues
* https://github.com/microsoft/playwright/issues/39124

┆Issue is synchronized with this [Github issue](https://github.com/chocolatey/choco-theme/issues/516) by [Unito](https://www.unito.io)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.