Open
Description
Version
^1.53.0
Steps to reproduce
- Clone my repo at https://github.com/artsiom-voitas/playwright-check-fail
- npm install
- npm run playwright_install
- npm run dev
- npm run playwright_test
Expected behavior
Expected to check checkbox / radio input.
Actual behavior
Error: locator.check: Clicking the checkbox did not change its state
Call log:
- waiting for getByRole('checkbox').first()
- locator resolved to
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- performing click action
- click action done
- waiting for scheduled navigations to finish
- navigations have finished
Additional context
I wanted to update the private repository to the new version of Playwright, but in versions 1.53.0 and 1.53.1, many tests that include checkboxes or radio buttons fail with an error specified in Actual behavior.
Perhaps the problem is in the amount of content on the page, trying to reproduce the problem on a clean project, if you render 100 checkboxes, not 1000, then the test passes in most cases, but with 1000 it crashes on the first one.
Environment
System:
OS: Linux 6.11 Ubuntu 24.04.2 LTS 24.04.2 LTS (Noble Numbat)
CPU: (28) x64 Intel(R) Core(TM) i7-14700KF
Memory: 63.54 GB / 125.62 GB
Container: Yes
Binaries:
Node: 22.16.0 - ~/.nvm/versions/node/v22.16.0/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v22.16.0/bin/yarn
npm: 10.9.2 - ~/.nvm/versions/node/v22.16.0/bin/npm
Languages:
Bash: 5.2.21 - /usr/bin/bash
npmPackages:
@playwright/test: ^1.53.1 => 1.53.1
Metadata
Metadata
Assignees
Labels
No labels