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

[Bug]: OffscreenCanvas in Webworker missing for Webkit in GithubActions #31004

Closed
Theiaz opened this issue May 24, 2024 · 2 comments
Closed

[Bug]: OffscreenCanvas in Webworker missing for Webkit in GithubActions #31004

Theiaz opened this issue May 24, 2024 · 2 comments

Comments

@Theiaz
Copy link

Theiaz commented May 24, 2024

Version

1.44.0

Steps to reproduce

  1. Clone my repo at: https://github.com/Theiaz/playwright-bug-webkit (or at least have a look at the pipeline and download the artifact)
  2. Run npm i
  3. Run tests locally npm run test --> Success
  4. Deploy project with github actions --> test failure
  5. Open "Run actions/upload-artifact@v4" job and find the link to download the artifact (playwright report)
  6. Unzip the report and open it with npx playwright show-report ~/Downloads/playwright-report
  7. Open the trace file for webkit and have a look at the console log

Expected behavior

All three major browser testcases should pass successfully

Actual behavior

Webkit testcase fails with Console Error Unhandled Promise Rejection: ReferenceError: Can't find variable: OffscreenCanvas

Screenshot 2024-05-24 at 12 05 57

Additional context

No response

Environment

System:
    OS: macOS 14.5
    CPU: (12) arm64 Apple M2 Pro
    Memory: 1.92 GB / 32.00 GB
  Binaries:
    Node: 20.9.0 - ~/.nvm/versions/node/v20.9.0/bin/node
    npm: 10.1.0 - ~/.nvm/versions/node/v20.9.0/bin/npm
    pnpm: 9.0.6 - /opt/homebrew/bin/pnpm
  IDEs:
    VSCode: 1.89.1 - /usr/local/bin/code
  Languages:
    Bash: 3.2.57 - /bin/bash
  npmPackages:
    @playwright/test: ^1.44.0 => 1.44.0
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

5 participants