Skip to content

chore: require playwright>=1.60 in CI and unskip 1.60 tests#313

Merged
Skn0tt merged 3 commits into
microsoft:mainfrom
Skn0tt:unskip-1.60-tests
May 18, 2026
Merged

chore: require playwright>=1.60 in CI and unskip 1.60 tests#313
Skn0tt merged 3 commits into
microsoft:mainfrom
Skn0tt:unskip-1.60-tests

Conversation

@Skn0tt
Copy link
Copy Markdown
Member

@Skn0tt Skn0tt commented May 18, 2026

Playwright Python 1.60 has been released, so the tests gated on it can now run. Pin the dev dependency in local-requirements.txt so CI installs a compatible version; the package's runtime requirement (playwright>=1.18) is unchanged.

Playwright Python 1.60 has been released, so the tests gated on it can
now run. Pin the dev dependency in local-requirements.txt so CI installs
a compatible version; the package's runtime requirement is unchanged.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Skn0tt Skn0tt requested a review from dgozman May 18, 2026 12:17
Skn0tt and others added 2 commits May 18, 2026 15:10
BrowserType.connect() renamed its first parameter from ws_endpoint to
endpoint (positional) in microsoft/playwright-python#3050. The test
also needs to look at stderr from the subprocess pytester run, since
the WebSocket error log lands there.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Pytester decodes subprocess stdout as utf-8, but on Windows the default
stdout encoding is cp1252. When Playwright's assertion failure messages
contain non-ASCII characters (e.g. unicode arrows / multiplication
signs), pytester raises UnicodeDecodeError. Force utf-8 in child Python
processes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Skn0tt Skn0tt merged commit 765e6e9 into microsoft:main May 18, 2026
22 of 29 checks passed
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

Successfully merging this pull request may close these issues.

2 participants