-
Notifications
You must be signed in to change notification settings - Fork 15
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]: Mock issue on Playwright 1.49+ using MPTS #162
Comments
Hi, Could you please provide a sample to repro the issue? |
I've implemented a test with similar steps, but the issue is not happening here (sessionId
For us, when running our app using MPT service under CI, the referred failure is happening on line "const response = await route.fetch();". It is not happening when using our infrastructure (github runners), and it happens when running over MPT service, with Playwright 1.49+, and it is not reproducible locally, that's why we think the issue is likely related to MPT. |
Hi @hcura-qa, from the initial error message shared, I see that the User-Agent indicates Windows operating system while you had mentioned that the client OS is Linux. I'm assuming you are running tests using some proxy server which is running on Windows.
Could you provide us with the below details which would help us investigate the issue further
|
HI @hcura-qa , Gentle reminder if you got chance to look into above info. |
@puagarwa @Sid200026 We’ve successfully replicated the failure, but it’s now blocking an important initiative. @hcura-qa has already reached out to the suggested contact via email. Could you please take a look at this as soon as possible? If the logs we’re sharing aren’t sufficient to identify the issue, feel free to schedule time tomorrow for further debugging. |
Describe the bug
After the Playwright update to version 1.49.0 (also tested with 1.49.1), the native Playwright mocking tool (
route()
) is not working anymore when running using Microsoft Playwright Testing service (MPTS).The test using a mocked call is failing with the following error:
We suspect the issue might be caused with the recent architecture change related to Chromium headless, that can be found here: microsoft/playwright#33566
To Reproduce
Steps to reproduce the behavior:
route()
Playwright's native method)Screenshots
N/A
Setup information (please complete the following information):
82601638-f67d-4a8c-95bb-dc2db38b6a2d
Additional context
The affected test has no issues when running against our Github runners infrastructure. This is a 100% reproducible issue using Microsoft Playwright Testing Service.
The text was updated successfully, but these errors were encountered: