Skip to content

Playwright 1.58.1 fails in Firefox on Windows Server 2016 #1341

@sync-by-unito

Description

@sync-by-unito

Checklist

  • I confirm there are no unresolved issues reported on the Chocolatey Status page.
  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my problem.
  • I have verified this is not an issue for a specific package.
  • I have verified this issue is not security related.
  • 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.
  2. 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

Error occurs on `@playwright/test 1.58.1`.

Output Log

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:

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

┆Issue is synchronized with this Github issue by Unito

Metadata

Metadata

Assignees

No one assigned

    Labels

    0 - BacklogIssue is accepted, but is not ready to be worked on or not in current sprint.Blocked - ExternalThe issue or pull request is not fixable without a change in a upstream/external library.BugIssues where something has happened which was not expected or intended.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions