test: remove the Firefox file chooser workaround once Playwright fixes #44143

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

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

まだ誰も着手していません。

評価

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

調査の方向性

tests/browser/import-helpers.jsを読み、nextFileChooserを調べてから、microsoft/playwright#44143が修正され、リリースされているか確認してください。修正・リリース済みなら、Playwrightをアップグレードし、helperを残すかpage.waitForEventを使ったうえでno-op listenerを削除し、回避策が不要になったことを確認するため、Firefoxで8 workersを使ってimport.spec.js:428を40回繰り返してください。

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

説明

area:tests

pivotkit's browser tests keep one no-op filechooser listener per page (nextFileChooser in tests/browser/import-helpers.js) to work around microsoft/playwright#44143: with Firefox in Playwright 1.65, the second file chooser in a test sometimes opens the native picker instead of firing the event.

When the upstream issue is fixed and released, upgrade Playwright, remove the listener from nextFileChooser (keep the helper or go back to page.waitForEvent), and confirm with import.spec.js:428 repeated 40 times in Firefox with 8 workers.

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

環境構築

はじめの一歩

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

eizedev/pivotkit のほかの issue

eizedev/pivotkit の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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