[java] DriverFinderTest property fixture doesn't clear/restore selenium.webdriver.verbose

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

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

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

2026年10月22日 から。

評価

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

調査の方向性

java/test/org/openqa/selenium/remote/service/DriverFinderTest.java:81-100を開き、そのfixtureをLoggingOptionsTest.java、RemoteWebDriverInitializationTest.java、RetryRequestTest.javaの対応するセットアップと比較します。fixtureを更新した後にDriverFinderTestを実行します。完了条件は、selenium.debugとselenium.webdriver.verboseの両方が保存され、テスト前にクリアされ、テスト後に復元されることです。

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

説明

Motivation

Follow-up to #17832/#17833. That PR's round-2 review pass fixed the identical fixture-hygiene gap (test setup only saving/clearing selenium.debug, not its legacy alias selenium.webdriver.verbose) in LoggingOptionsTest.java, RemoteWebDriverInitializationTest.java, and RetryRequestTest.java.

java/test/org/openqa/selenium/remote/service/DriverFinderTest.java:81-100 has the same gap: its property save/restore only handles selenium.debug, so a JVM with selenium.webdriver.verbose set externally could leak state across tests in this file. It was out of scope for the round-2 coder (not in the original findings list) so it's tracked here rather than fixed silently.

Suggested fix

Mirror the fixture pattern already applied to the three files above: save both properties before the test, clear both, restore both after.

Context

Umbrella tracker: #17833

主要言語
Java
スター
34.6k
フォーク
8.7k
平均マージ
1日 23時間
マージ済み PR(30日)
86

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

SeleniumHQ/selenium のほかの issue

SeleniumHQ/selenium の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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