Playwright: support embedding Java sources in captured traces
Maintainer thường phản hồi trong vòng 8 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- java, playwright
- Lĩnh vực
- testing-qa
Hướng nghiên cứu
Start by reading the Playwright tracing configuration and trace attachment path, then inspect how AllurePlaywrightAspect affects trace stack frames. Check Playwright's Tracing.StartOptions().setSources(true) and the PLAYWRIGHT_JAVA_SRC behavior. Done means the opt-in property embeds sources, stacks begin at the first file-backed frame (or skip leading weaving frames when none resolves), and errors attach the trace unchanged.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
Allure configures Playwright tracing with screenshots and snapshots only, so Java sources can't be embedded in captured traces.
Playwright supports this via PLAYWRIGHT_JAVA_SRC and Tracing.StartOptions().setSources(true). But with Allure enabled, frame 0 of every trace stack is synthetic AspectJ weaving glue from AllurePlaywrightAspect, not the real caller. That makes the Trace Viewer's Source tab useless. Playwright only filters its own frames and builds the trace (a .zip) on its binary side, so it can't fix this itself.
Proposal
- Add an opt-in
allure.playwright.trace.sourcesproperty (defaultfalse) that embeds sources in the trace. - Rewrite the
trace.stacksentry so each stack starts at the first file-backed frame. If no frame resolves, strip the leading AspectJ/Playwright weaving frames instead. On any error, attach the trace unchanged.
Implementation: #1450
- Ngôn ngữ chính
- Java
- Star
- 390
- Fork
- 243
- Merge trung bình
- 8 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của allure-framework/allure-java
-
AllureSelenide should use Selenide's screenshot implementation instead of Selenium WebDriver's implementationCó thể đã có người làm @USSQA đã nhận 31 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
allure-framework/allure-java#1439 ·
Maintainer thường phản hồi trong vòng 8 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 50/100
allure-framework/allure-java#1456 ·
Maintainer thường phản hồi trong vòng 8 ngày
-
AllureSelenide attaches Screenshot and Page source once per nesting level of SelenideLogger.stepĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
allure-framework/allure-java#1453 · 1 reaction ·
Maintainer thường phản hồi trong vòng 8 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
allure-framework/allure-java#1451 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 8 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
allure-framework/allure-java#1446 ·
Maintainer thường phản hồi trong vòng 8 ngày
Tất cả issue của allure-framework/allure-java
Issue tương tự
-
BC remittance upload: a claim MSP refused (S03) is saved with a blank status instead of refused (F)Đang mởtype: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
carlos-emr/carlos#4933 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
apache/rocketmq-dashboard#6925 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Vakore/ZappierGames#147 ·
-
Post 1.11.2 to SpigotMCĐang mởspigotmc
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
Dans-Plugins/Wild-Pets#356 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Post 1.16.2 to SpigotMCĐang mởspigotmc
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
Dans-Plugins/Medieval-Roleplay-Engine#371 ·
Maintainer thường phản hồi trong vòng 1 ngày