Playwright: support embedding Java sources in captured traces
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- java, playwright
- 領域
- testing-qa
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Java
- スター
- 390
- フォーク
- 242
- 平均マージ
- 2日 17時間
- マージ済み PR(30日)
- 16
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
allure-framework/allure-java のほかの issue
-
AllureSelenide should use Selenide's screenshot implementation instead of Selenium WebDriver's implementation対応中かも @USSQA が 23 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
allure-framework/allure-java#1439 ·
メンテナーはふだん 2 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
allure-framework/allure-java#1451 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
allure-framework/allure-java#1446 ·
メンテナーはふだん 2 日以内に返信
-
Add precondition method and annotation for update precondition field in test case from test resultオープン
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
allure-framework/allure-java#1355 ·
メンテナーはふだん 2 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
allure-framework/allure-java#1322 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
allure-framework/allure-java の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
floci-io/floci#5369 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
sqlcipher/sqlcipher-android#97 · コメント 1 件 ·
-
bug IIIF interoperability
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Netcracker/qubership-integration-platform#1046 ·
メンテナーはふだん 2 日以内に返信