playwright icon indicating copy to clipboard operation
playwright copied to clipboard

[Bug]: Firefox on GitHub Actions closes when attempting to click input[type=color]

Open sdvg opened this issue 2 months ago • 0 comments

Version

1.49.0

Steps to reproduce

  1. Review the test case at https://github.com/sdvg/repro-playwright-input-color/blob/main/tests/example.spec.js
  2. Review the failing test run on Github Actions: https://github.com/sdvg/repro-playwright-input-color/actions/runs/12164726706/job/33927073866

You may also fork the repository or run the test code in another headless environment.

Expected behavior

The browser should not close and allow the test to continue.

Actual behavior

The browser closes as soon as page.locator('input').click() is executed.

Additional context

The error specifically happens with Firefox on GitHub Actions. Presumably on other headless environments as well. It could not be reproduced on a (headed) MacOS environment.

Environment

⬇️ This is my local environment, not the environment where the error occurs. That would be GitHub Actions with ubuntu-latest.

System:
    OS: macOS 14.7.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 79.50 MB / 16.00 GB
  Binaries:
    Node: 20.15.0 - ~/.nvm/versions/node/v20.15.0/bin/node
    npm: 10.7.0 - ~/.nvm/versions/node/v20.15.0/bin/npm
    pnpm: 9.14.4 - ~/Library/pnpm/pnpm
  Languages:
    Bash: 5.2.37 - /opt/homebrew/bin/bash
  npmPackages:
    @playwright/test: ^1.49.0 => 1.49.0

sdvg avatar Dec 04 '24 17:12 sdvg