Skip to content

[BUG] Misclick when some element overlays the target's iframe #14752

@eatonjl

Description

@eatonjl

Context:

  • Playwright Version: 1.22
  • Operating System: Mac (12.4 Monterey)
  • Node.js version: v16.15.0
  • Browser: Any
  • Extra: N/A

Code Snippet

N/A (Can provide something if needed)

Describe the bug

I was noticing an issue when writing tests. I would see situations where tests would fail for odd reasons. In the trace files it would show that the specified button was found, visible, and clickable, and it would click the button. But the image on that part of the trace files shows the interacting click (indicated by a red circle) clicking into thin air (so to speak). The button hadn't loaded yet. At first I thought this was an issue with our web application. I had our developers look at it with me to see if we were doing something to make Playwright think it was visible before it actually was.

The issue is that the developer could not reproduce the issue. The tests ran fine on their machine. I then ran the tests in TeamCity and they also worked fine. I then ran the tests on my M1 MacBook Pro, using Parallels, and they were fine. The only time it has issues is when I run the tests directly on my M1 Pro MacBook on Mac OS.

Does anyone else have this issue on the new M1 MacBooks?

Metadata

Metadata

Assignees

Labels

No labels
No labels

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