From 2c13dc2614e9069d04f46c1953e46caf2fb51e7d Mon Sep 17 00:00:00 2001 From: Andrei Solntsev Date: Thu, 4 Dec 2025 22:43:20 +0200 Subject: [PATCH 1/4] use the right AssertJ class `Assertions` instead of `AssertionsForClassTypes` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. `Assertions.assertThat` is the standard, primary entry point for AssertJ assertions. It works for all types and automatically picks specialized assertion classes when available. 2. `AssertionsForClassTypes.assertThat` is a legacy / niche entry point intended for cases where type inference conflicts with AssertJ’s overloaded `assertThat` methods. --- .idea/codeStyles/Project.xml | 17 ++++++++++------- .idea/modules.xml | 2 +- .../org/openqa/selenium/WebNetworkTest.java | 2 +- .../openqa/selenium/WebScriptExecuteTest.java | 2 +- .../test/org/openqa/selenium/WebScriptTest.java | 4 ++-- .../selenium/bidi/BiDiSessionCleanUpTest.java | 4 ++-- .../openqa/selenium/bidi/BiDiSessionTest.java | 2 +- .../test/org/openqa/selenium/bidi/BiDiTest.java | 2 +- .../BrowsingContextInspectorTest.java | 4 ++-- .../bidi/browsingcontext/LocateNodesTest.java | 4 ++-- .../emulation/SetGeolocationOverrideTest.java | 2 +- .../bidi/emulation/SetScriptingEnabledTest.java | 2 +- .../bidi/emulation/SetTimezoneOverrideTest.java | 2 +- .../network/AddInterceptParametersTest.java | 2 +- .../bidi/network/NetworkCommandsTest.java | 8 +++++--- .../bidi/network/NetworkEventsTest.java | 5 +++-- .../bidi/script/CallFunctionParameterTest.java | 2 +- .../bidi/script/EvaluateParametersTest.java | 2 +- .../selenium/bidi/script/LocalValueTest.java | 2 +- .../bidi/script/ScriptCommandsTest.java | 2 +- .../selenium/bidi/script/ScriptEventsTest.java | 6 ++++-- .../chrome/ChromeDriverFunctionalTest.java | 2 +- .../devtools/NetworkInterceptorTest.java | 4 ++-- .../selenium/edge/EdgeDriverFunctionalTest.java | 2 +- .../selenium/firefox/FirefoxDriverTest.java | 2 +- .../grid/router/RemoteWebDriverBiDiTest.java | 5 +++-- .../selenium/ie/InternetExplorerDriverTest.java | 13 ++++++------- .../selenium/safari/SafariDriverTest.java | 4 +--- 28 files changed, 58 insertions(+), 52 deletions(-) diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 789737f5836fe..655eade494358 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -9,8 +9,8 @@