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]: Running with the synchronization method reports an error #2450

Closed
qingdaoqin opened this issue May 25, 2024 · 2 comments
Closed

[Bug]: Running with the synchronization method reports an error #2450

qingdaoqin opened this issue May 25, 2024 · 2 comments

Comments

@qingdaoqin
Copy link

Version

1.35.0

Steps to reproduce

An exception occurs when running a test using the synchronization method,But the console outputs this exception during the run:ERROR asyncio:base_events.py:1591 Task exception was never retrieved
future: <Task finished coro=<WaitHelper.reject_on_timeout..reject() done, defined at D:\sync\venv\lib\site-packages\playwright_impl_wait_helper.py:83> exception=CancelledError()>
concurrent.futures._base.CancelledError

Expected behavior

testcase is pass or flase

Actual behavior

ERROR asyncio:base_events.py:1591 Task exception was never retrieved
future: <Task finished coro=<WaitHelper.reject_on_timeout..reject() done, defined at D:\sync\venv\lib\site-packages\playwright_impl_wait_helper.py:83> exception=CancelledError()>
concurrent.futures._base.CancelledError

Additional context

No response

Environment

- Operating System: [Windows 22H2]
- CPU: [i5 7300HQ]
- Browser: [Chromium]
- Python Version: [3.9]
- Other info:
@qingdaoqin qingdaoqin changed the title [Bug]: [Bug]: Running with the synchronization method reports an error May 25, 2024
@mxschmitt
Copy link
Member

Would it be possible to share a minimal reproduction with us?

Also I recommend to try out latest Playwright.

@mxschmitt
Copy link
Member

This issue is not following the bug template. Please re-file and provide a self-contained reproduction, which we can run locally to reproduce your issue. Thanks for your understanding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants