René's URL Explorer Experiment


Title: feat: add Playwright trace attachments for allure-pytest and allure-robotframework (fixes #877) by hasanalpzengin · Pull Request #920 · allure-framework/allure-python · GitHub

Open Graph Title: feat: add Playwright trace attachments for allure-pytest and allure-robotframework (fixes #877) by hasanalpzengin · Pull Request #920 · allure-framework/allure-python

X Title: feat: add Playwright trace attachments for allure-pytest and allure-robotframework (fixes #877) by hasanalpzengin · Pull Request #920 · allure-framework/allure-python

Description: Enable playwright-trace for allure_pytest and allure_robotframework #877 Context Fixes #877. Playwright can record a trace.zip per test that captures a full timeline of actions, DOM snapshots, network activity, and console logs — viewable in the interactive Playwright Trace Viewer. Previously these traces were produced on disk but never surfaced in Allure reports, so users had to hunt for them manually. This PR wires those traces into Allure as first-class attachments for both the pytest and Robot Framework integrations. Changes: New attachment type — added PLAYWRIGHT_TRACE (application/vnd.allure.playwright-trace, .zip) to AttachmentType in allure-python-commons, so the report renderer can recognize and open traces in the Trace Viewer rather than treating them as a generic zip. allure-pytest — after each test call phase, the listener now detects the pytest-playwright plugin and, when tracing is enabled, locates the test's output folder (via --output, default test-results), matches it by the pytest-playwright node slug (including the >255-char hash-truncation fallback that pytest-playwright uses), and attaches any trace*.zip files found. No-ops cleanly when the plugin is absent, tracing is off, slugify is unavailable, or no traces exist. allure-robotframework — snapshots the ${OUTPUTDIR}/browser folder at test start and, at test end, attaches any newly created *.zip traces (produced by robotframework-browser). No-ops when the folder or Robot's BuiltIn context is unavailable. Both integrations are additive and degrade gracefully when the respective browser tooling isn't installed or tracing isn't turned on. Tests: added end-to-end fixture tests for both integrations (tests/allure_pytest/externals/pytest_playwright/ and tests/allure_robotframework/externals/robotframework_browser/, the latter with a fake_browser_library stand-in). Checklist Sign Allure CLA Provide unit tests

Open Graph Description: Enable playwright-trace for allure_pytest and allure_robotframework #877 Context Fixes #877. Playwright can record a trace.zip per test that captures a full timeline of actions, DOM snapshots, net...

X Description: Enable playwright-trace for allure_pytest and allure_robotframework #877 Context Fixes #877. Playwright can record a trace.zip per test that captures a full timeline of actions, DOM snapshots, net...

Opengraph URL: https://github.com/allure-framework/allure-python/pull/920

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:dbd46f71-e110-b50f-e0ee-4bfdadc6469d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAEE0:1007B2:10460C:16FF36:6AFD4D21
html-safe-noncee8beff78c88343704b8eeefa88c0c1c8540c61252de46bc113952fdcc864b1ba
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUUwOjEwMDdCMjoxMDQ2MEM6MTZGRjM2OjZBRkQ0RDIxIiwidmlzaXRvcl9pZCI6IjczODkxNTg1NzIxNjYwNDA4NjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7794845f707128b5996c8aec63068288baed9ad6c60fc8c26ecaca9ee229bf24
hovercard-subject-tagpull_request:4178413589
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/allure-framework/allure-python/pull/920/files
twitter:imagehttps://avatars.githubusercontent.com/u/16195479?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/16195479?s=400&v=4
og:image:altEnable playwright-trace for allure_pytest and allure_robotframework #877 Context Fixes #877. Playwright can record a trace.zip per test that captures a full timeline of actions, DOM snapshots, net...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/allure-framework/allure-python git https://github.com/allure-framework/allure-python.git
octolytics-dimension-user_id5879127
octolytics-dimension-user_loginallure-framework
octolytics-dimension-repository_id79346720
octolytics-dimension-repository_nwoallure-framework/allure-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id79346720
octolytics-dimension-repository_network_root_nwoallure-framework/allure-python
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb6f01f7cb9f35f8c09949773241a3d49dd04b340
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/allure-framework/allure-python/pull/920/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fallure-framework%2Fallure-python%2Fpull%2F920%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fallure-framework%2Fallure-python%2Fpull%2F920%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=allure-framework%2Fallure-python
Reloadhttps://github.com/allure-framework/allure-python/pull/920/files
Reloadhttps://github.com/allure-framework/allure-python/pull/920/files
Reloadhttps://github.com/allure-framework/allure-python/pull/920/files
allure-frameworkhttps://github.com/allure-framework
allure-pythonhttps://github.com/allure-framework/allure-python
Codehttps://github.com/allure-framework/allure-python
Issues101 (101)https://github.com/allure-framework/allure-python/issues
Pull requests33 (33)https://github.com/allure-framework/allure-python/pulls
Actionshttps://github.com/allure-framework/allure-python/actions
Security and qualityhttps://github.com/allure-framework/allure-python/security
Insightshttps://github.com/allure-framework/allure-python/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fallure-framework%2Fallure-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fallure-framework%2Fallure-python%2Fissues%2Fnew%2Fchoose
hasanalpzenginhttps://github.com/hasanalpzengin
allure-framework:masterhttps://github.com/allure-framework/allure-python/tree/master
hasanalpzengin:feat/playwright-tracehttps://github.com/hasanalpzengin/allure-python/tree/feat/playwright-trace
Conversation 1 https://github.com/allure-framework/allure-python/pull/920
Commits 3 https://github.com/allure-framework/allure-python/pull/920/commits
Checks 43 https://github.com/allure-framework/allure-python/pull/920/checks
Files changed https://github.com/allure-framework/allure-python/pull/920/files
Please reload this pagehttps://github.com/allure-framework/allure-python/pull/920/files
feat: add Playwright trace attachments for allure-pytest and allure-robotframework (fixes #877) https://github.com/allure-framework/allure-python/pull/920/files#top
Show all changes 3 commits https://github.com/allure-framework/allure-python/pull/920/files
b99be67 chore: enable playwright-trace for allure_pytest and allure_robotfram… hasanalpzengin Jul 31, 2026 https://github.com/allure-framework/allure-python/pull/920/commits/b99be67b63cf8a0ddc562aa4220a1d62890daf05
7014bb6 Merge branch 'master' into feat/playwright-trace hasanalpzengin Sep 26, 2026 https://github.com/allure-framework/allure-python/pull/920/commits/7014bb6a5ef5588c622dc1b961c9870e16163606
1398f2d Merge branch 'master' into feat/playwright-trace hasanalpzengin Oct 2, 2026 https://github.com/allure-framework/allure-python/pull/920/commits/1398f2d0423aa98369480bfeccbcb8b882376fa8
Clear filters https://github.com/allure-framework/allure-python/pull/920/files
Please reload this pagehttps://github.com/allure-framework/allure-python/pull/920/files
Please reload this pagehttps://github.com/allure-framework/allure-python/pull/920/files
listener.py https://github.com/allure-framework/allure-python/pull/920/files#diff-fefb374ddcddaa062601d8d7f5b15f0a5d80552dea44452f34eec87a3a9bada7
types.py https://github.com/allure-framework/allure-python/pull/920/files#diff-db5a6f02a87ff77410832e7d424cfd6fcee6efb79cf78c2f268ccc61190f06c3
robot_listener.py https://github.com/allure-framework/allure-python/pull/920/files#diff-a1e0c24d69a5addac45e688aba1c990ddd184bf78060ddb309ec3fb5e3a35bff
__init__.py https://github.com/allure-framework/allure-python/pull/920/files#diff-bafbbdc8efe2959814764c5400d855deb3a017e70d808ff84ba3ea87fb7b09ee
conftest.py https://github.com/allure-framework/allure-python/pull/920/files#diff-ae2d2372b43d70261b7972b4e156603cba65b15bd211841bdbeaa5c32f00dfcf
pytest_playwright_test.py https://github.com/allure-framework/allure-python/pull/920/files#diff-54be03e2189944eb56f5a9cd9143de69736687a5674e90adcf27e9eed79650b9
__init__.py https://github.com/allure-framework/allure-python/pull/920/files#diff-83ea9f00af521e7134e145c8ff53e6e05c22242655819c98198f4d87ca77ebe5
__init__.py https://github.com/allure-framework/allure-python/pull/920/files#diff-c8329fca273363fa71539f0b36588f6c3beb9a7c9235e4ea31fa395a0201e658
browser_traces_test.py https://github.com/allure-framework/allure-python/pull/920/files#diff-35ef6333ddcc820d3e0e6f9a0be81e7844269badd34342ac0f91510cbba89cd3
fake_browser_library.py https://github.com/allure-framework/allure-python/pull/920/files#diff-133e0e2005a95f619cd573037666c59fec30e4812e51308b6a8cdce55409ca44
allure-pytest/src/listener.pyhttps://github.com/allure-framework/allure-python/pull/920/files#diff-fefb374ddcddaa062601d8d7f5b15f0a5d80552dea44452f34eec87a3a9bada7
View file https://github.com/allure-framework/allure-python/blob/1398f2d0423aa98369480bfeccbcb8b882376fa8/allure-pytest/src/listener.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/allure-framework/allure-python/pull/920/{{ revealButtonHref }}
https://github.com/allure-framework/allure-python/pull/920/files#diff-fefb374ddcddaa062601d8d7f5b15f0a5d80552dea44452f34eec87a3a9bada7
https://github.com/allure-framework/allure-python/pull/920/files#diff-fefb374ddcddaa062601d8d7f5b15f0a5d80552dea44452f34eec87a3a9bada7
https://github.com/allure-framework/allure-python/pull/920/files#diff-fefb374ddcddaa062601d8d7f5b15f0a5d80552dea44452f34eec87a3a9bada7
allure-python-commons/src/allure_commons/types.pyhttps://github.com/allure-framework/allure-python/pull/920/files#diff-db5a6f02a87ff77410832e7d424cfd6fcee6efb79cf78c2f268ccc61190f06c3
View file https://github.com/allure-framework/allure-python/blob/1398f2d0423aa98369480bfeccbcb8b882376fa8/allure-python-commons/src/allure_commons/types.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/allure-framework/allure-python/pull/920/{{ revealButtonHref }}
https://github.com/allure-framework/allure-python/pull/920/files#diff-db5a6f02a87ff77410832e7d424cfd6fcee6efb79cf78c2f268ccc61190f06c3
https://github.com/allure-framework/allure-python/pull/920/files#diff-db5a6f02a87ff77410832e7d424cfd6fcee6efb79cf78c2f268ccc61190f06c3
allure-robotframework/src/listener/robot_listener.pyhttps://github.com/allure-framework/allure-python/pull/920/files#diff-a1e0c24d69a5addac45e688aba1c990ddd184bf78060ddb309ec3fb5e3a35bff
View file https://github.com/allure-framework/allure-python/blob/1398f2d0423aa98369480bfeccbcb8b882376fa8/allure-robotframework/src/listener/robot_listener.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/allure-framework/allure-python/pull/920/{{ revealButtonHref }}
https://github.com/allure-framework/allure-python/pull/920/files#diff-a1e0c24d69a5addac45e688aba1c990ddd184bf78060ddb309ec3fb5e3a35bff
https://github.com/allure-framework/allure-python/pull/920/files#diff-a1e0c24d69a5addac45e688aba1c990ddd184bf78060ddb309ec3fb5e3a35bff
https://github.com/allure-framework/allure-python/pull/920/files#diff-a1e0c24d69a5addac45e688aba1c990ddd184bf78060ddb309ec3fb5e3a35bff
tests/allure_pytest/externals/pytest_playwright/__init__.pyhttps://github.com/allure-framework/allure-python/pull/920/files#diff-bafbbdc8efe2959814764c5400d855deb3a017e70d808ff84ba3ea87fb7b09ee
View file https://github.com/allure-framework/allure-python/blob/1398f2d0423aa98369480bfeccbcb8b882376fa8/tests/allure_pytest/externals/pytest_playwright/__init__.py
Open in desktop https://desktop.github.com
tests/allure_pytest/externals/pytest_playwright/conftest.pyhttps://github.com/allure-framework/allure-python/pull/920/files#diff-ae2d2372b43d70261b7972b4e156603cba65b15bd211841bdbeaa5c32f00dfcf
View file https://github.com/allure-framework/allure-python/blob/1398f2d0423aa98369480bfeccbcb8b882376fa8/tests/allure_pytest/externals/pytest_playwright/conftest.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/allure-framework/allure-python/pull/920/{{ revealButtonHref }}
tests/allure_pytest/externals/pytest_playwright/pytest_playwright_test.pyhttps://github.com/allure-framework/allure-python/pull/920/files#diff-54be03e2189944eb56f5a9cd9143de69736687a5674e90adcf27e9eed79650b9
View file https://github.com/allure-framework/allure-python/blob/1398f2d0423aa98369480bfeccbcb8b882376fa8/tests/allure_pytest/externals/pytest_playwright/pytest_playwright_test.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/allure-framework/allure-python/pull/920/{{ revealButtonHref }}
tests/allure_robotframework/externals/__init__.pyhttps://github.com/allure-framework/allure-python/pull/920/files#diff-83ea9f00af521e7134e145c8ff53e6e05c22242655819c98198f4d87ca77ebe5
View file https://github.com/allure-framework/allure-python/blob/1398f2d0423aa98369480bfeccbcb8b882376fa8/tests/allure_robotframework/externals/__init__.py
Open in desktop https://desktop.github.com
tests/allure_robotframework/externals/robotframework_browser/__init__.pyhttps://github.com/allure-framework/allure-python/pull/920/files#diff-c8329fca273363fa71539f0b36588f6c3beb9a7c9235e4ea31fa395a0201e658
View file https://github.com/allure-framework/allure-python/blob/1398f2d0423aa98369480bfeccbcb8b882376fa8/tests/allure_robotframework/externals/robotframework_browser/__init__.py
Open in desktop https://desktop.github.com
tests/allure_robotframework/externals/robotframework_browser/browser_traces_test.pyhttps://github.com/allure-framework/allure-python/pull/920/files#diff-35ef6333ddcc820d3e0e6f9a0be81e7844269badd34342ac0f91510cbba89cd3
View file https://github.com/allure-framework/allure-python/blob/1398f2d0423aa98369480bfeccbcb8b882376fa8/tests/allure_robotframework/externals/robotframework_browser/browser_traces_test.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/allure-framework/allure-python/pull/920/{{ revealButtonHref }}
tests/allure_robotframework/externals/robotframework_browser/fake_browser_library.pyhttps://github.com/allure-framework/allure-python/pull/920/files#diff-133e0e2005a95f619cd573037666c59fec30e4812e51308b6a8cdce55409ca44
View file https://github.com/allure-framework/allure-python/blob/1398f2d0423aa98369480bfeccbcb8b882376fa8/tests/allure_robotframework/externals/robotframework_browser/fake_browser_library.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/allure-framework/allure-python/pull/920/{{ revealButtonHref }}
Please reload this pagehttps://github.com/allure-framework/allure-python/pull/920/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.