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] "subtree intercepts pointer events" when clicking component with scheduled rotation #12298
Comments
@mypchas6fans Thank you for the issue! I ran the snippet 15 times and it passed every time. I'd suggest to record a trace and see yourself whether
|
Hi, It is related to the 'pointer intercept' error... the click does not happen. I cannot get a trace because the click instruction loops.
How I could do that when I am scrapping a page (I do not own the HTML to modify it). I should do it with playwright maybe ? If yes, I am also looking for an example how to do it. More precisely, a little bit out of topic, I would like to know how to inject a script, that would add a data-id-attribute to all buttons, so that I could easily guess the locator. Tks, "playwright": "^1.22.2", |
@regnou Did you managed to solve this issue? i have a very similar issue with the same playwright version |
|
I have a button inside |
Hi @dgozman I have an app where I get a discount UI popup at random intervals. I wanted to handle that using an event listener whenever a click was being intercepted. is there a way to catch the 'subtree intercepts pointer events' message via an event listener? Edit: I think the message is logged into the process logger.. I'm guessing there's no way to listen/subscribe to that log event? |
FYI i fixed this error with: |
I met this issue, and fixed by set up viewport: { width: 1960, height: 1080 } |
Context:
Code Snippet
Describe the bug
We are starting to test https://www.ikea.cn/cn/zh with playwright.
One feature is that recommended search keyword will be rotating in the search input. (For /cn/zh Chinese version only, but you don't need to understand Chinese)
And we hit below error frequently when trying to click "input.s-input". Not every time, but I'm sure if you try 5 - 10 times you will definitely hit it.
Any advise will be appreciated. Thank you.
Similar to #10638 but PLAYWRIGHT_NO_LAYOUT_SHIFT_CHECK seems not helpful.
C:\Users\totao\Downloads\playwright>npx playwright test tests/search.spec.ts --headed
Running 1 test using 1 worker
......
============================================================
Slow test file: [chromium] › search.spec.ts (30s)
Consider splitting slow test files to speed up parallel execution
1 failed
[chromium] › search.spec.ts:18:3 › pc smoke › home-search-add ==================================
The text was updated successfully, but these errors were encountered: