test(browser): viewer spec can match two drag handles in WebKit

オープン 初心者向け
#1,159 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@AnasuyaGuptha がすでに取り組んでいます。

2026年12月2日 から。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
82/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript, playwright
領域
testing

調査の方向性

tests/browser/viewer.spec.jsを読み、特に指定されたテストとそのopen()ヘルパーを確認してください。3つのエンジンすべてでブラウザテストを実行してstrict mode違反を再現し、その後、説明に従ってドラッグハンドルのlocatorをゾーンまたはフィールドリストに限定してください。両方のハンドルに一致せずテストが通れば完了です。

索引モデルが issue の本文から書いたものです。

説明

area:tests

tests/browser/viewer.spec.js, test "a later link in the same tab opens with its own view…": the open() helper's report.getByRole("button", { name: textOf("dragHandle", { field: "Region" }) }) can match two drag handles, the field list's and the zone's. toBeVisible() then fails with a strict-mode violation.

  • Seen once in WebKit when the viewer and download specs ran together in all three engines.
  • Passed 5 of 5 alone with --repeat-each=5.
  • Not checked whether main shows it too.

Fix: scope the locator to the zone (getByTestId("zone-section")) or to the field list.

主要言語
JavaScript
スター
1
フォーク
1
平均マージ
3時間 41分
マージ済み PR(30日)
504

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

eizedev/pivotkit のほかの issue

eizedev/pivotkit の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。