-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
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:
Error: Socks5 proxy rejected connection - ConnectionRefused
Call log:
- → POST <undisclosed>
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.33 Safari/537.36
- accept: application/json, text/plain, */*
- accept-encoding: gzip,deflate,br
- accept-language: en-US
- content-type: application/json
- cookie: <undisclosed>
- origin: <undisclosed>
- referer: <undisclosed>
- sec-ch-ua: "HeadlessChrome";v="131", "Chromium";v="131", "Not_A Brand";v="24"
- sec-ch-ua-mobile: ?0
- sec-ch-ua-platform: "Windows"
- content-length: 93
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:
- Run a test with a mocked call (using
route()Playwright's native method) - Perform a route.fetch() - reproducible with our app so far
- Observe
Screenshots
N/A
Setup information (please complete the following information):
- Session Id:
82601638-f67d-4a8c-95bb-dc2db38b6a2d - Browser on which tests are executed: Chromium
- Playwright Version: 1.49+
- Client machine OS: Linux
- OS requested on Service: Linux
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.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working