chore(deps): update dependency pytest-playwright to v0.10.0 #115
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/pytest-playwright-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
==0.9.0→==0.10.0Release Notes
microsoft/playwright-pytest (pytest-playwright)
v0.10.0Compare Source
Highlights
Traces for
playwright.requestAPI contexts (#333).--tracingnow also records contexts created withplaywright.request.new_context(), one chunk per test, so a session-scoped API context yields a trace per test. The traces follow the sameretain-on-failurehandling,trace-N.zipnaming and report attachments as browser traces. Requires Playwright 1.60 or newer.Artifacts in test reports (#332). Kept screenshots, videos and traces are added to the teardown report as
playwright_screenshot,playwright_videoandplaywright_traceuser properties, so--junitxmlwrites them as<property>elements andpytest_runtest_logreporthooks and reporters can pick them up. With pytest-html >= 4 they are linked from the report, and embedded with--self-contained-html.Reruns keep their own artifacts (#331). With pytest-rerunfailures, every attempt now writes to its own folder,
test-results/<test>-retry1/and so on, like Playwright Test. Attempts no longer overwrite each other.Artifacts survive fixture failures in teardown (#330).
--tracing retain-on-failure,--video retain-on-failureand--screenshot only-on-failurenow keep artifacts when a fixture fails during teardown. A test skipped from a fixture no longer counts as failed.Per-test browser launch options (#329):
Each distinct value launches its own browser; command line options such as
--headedand--slowmostill apply.Multi-browser parametrization fixes. Overriding the
pagefixture no longer drops--browserparametrization on older pytest versions (#314).browser_nameis now parametrized indirectly, so tests keep their original order within a browser (#284).VS Code debugger (#328). The browser is launched headed under the debugger only when a display is available. On Linux without
DISPLAYorWAYLAND_DISPLAYset, it stays headless unless--headedis passed.Breaking changes
pytest-base-urlis now an optional dependency (#334). The plugin provides--base-url, thebase_urlini option, thePYTEST_BASE_URLenvironment variable and thebase_urlfixture on its own.--verify-base-urlneeds the extra:Minimum pytest version is 7.0 for pytest-playwright and 8.2 for pytest-playwright-asyncio (#333).
python-slugify9.x is now supported (#324).Full Changelog: https://github.com/microsoft/playwright-pytest/compare/v0.9.0...v0.10.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.