You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR will use the common annotations in the BiDi tests to ensure the driver is restarted.
Additionally the provided NettyAppServer is used and not started before each test.
On my local system it takes ~500ms to start the NettyAppServer, this is how i stumbled into this.
I will improve the startup of the NettyAppServer as soon as this is merged.
Refactored multiple test classes to remove @BeforeEach and @AfterEach annotations, replacing them with @NeedsFreshDriver to ensure a fresh driver for each test.
Replaced server with appServer in test classes to standardize server usage.
Added @BeforeAll and @AfterAll annotations in RemoteWebDriverBiDiTest for server lifecycle management.
Enhanced test reliability by ensuring a fresh driver instance for each test case.
Changes walkthrough 📝
Relevant files
Enhancement
16 files
BiDiTest.java
Refactor BiDiTest to use common annotations and appServer
java/test/org/openqa/selenium/bidi/BiDiTest.java
Removed @BeforeEach and @AfterEach annotations.
Added @NeedsFreshDriver annotation to test methods.
Here are some key observations to aid the review process:
⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 PR contains tests
🔒 No security concerns identified
⚡ Recommended focus areas for review
Code Duplication There are multiple test methods with very similar structure and setup. Consider extracting common setup code into a separate method to reduce duplication.
Error Handling The error handling in the canFailRequest test method could be improved. It's catching a generic WebDriverException, which might mask other unexpected exceptions.
Add assertions to verify the expected behavior after performing actions in tests
Consider adding assertions to verify the expected behavior after performing the release action, such as checking the final state of the input element or any visual feedback.
input.release(windowHandle);
+// Add assertions to verify the release action+String finalText = inputTextBox.getAttribute("value");+assertThat(finalText).isEqualTo("A");++WebElement resultElement = driver.findElement(By.id("result"));+assertThat(resultElement.getText()).isEqualTo("Key released");+
Apply this suggestion
Suggestion importance[1-10]: 8
Why: Adding assertions to verify the expected behavior after performing actions in tests is crucial for validating test outcomes. This suggestion enhances test robustness and ensures that the code behaves as expected, improving test reliability.
8
Extract common setup code into a helper method to reduce duplication
Consider extracting the repeated pattern of creating a Script object with a try-with-resources block into a helper method. This would reduce code duplication and improve readability across multiple test methods.
-String id = driver.getWindowHandle();-try (Script script = new Script(id, driver)) {+private Script createScriptForCurrentWindow() {+ String id = driver.getWindowHandle();+ return new Script(id, driver);+}++// In test methods:+try (Script script = createScriptForCurrentWindow()) {
// Test-specific code
}
Apply this suggestion
Suggestion importance[1-10]: 6
Why: Extracting the common setup code into a helper method reduces code duplication and improves readability, making the test methods cleaner and more maintainable.
6
Extract common setup code into a helper method to reduce duplication and improve readability
Consider extracting the repeated pattern of creating a BrowsingContext object and asserting its ID into a setup method or a helper method. This would reduce code duplication across multiple test methods and improve test readability.
-BrowsingContext browsingContext = new BrowsingContext(driver, driver.getWindowHandle());-assertThat(browsingContext.getId()).isNotEmpty();+private BrowsingContext createAndAssertBrowsingContext() {+ BrowsingContext browsingContext = new BrowsingContext(driver, driver.getWindowHandle());+ assertThat(browsingContext.getId()).isNotEmpty();+ return browsingContext;+}+// In test methods:+BrowsingContext browsingContext = createAndAssertBrowsingContext();+
Apply this suggestion
Suggestion importance[1-10]: 6
Why: This suggestion effectively reduces code duplication by extracting repeated setup code into a helper method, enhancing readability and maintainability of the test code.
6
Use a more specific assertion for checking non-empty strings
Consider using a more specific assertion for checking if the browsingContext.getId() is not empty, such as assertThat(browsingContext.getId()).isNotBlank() or assertThat(browsingContext.getId()).isNotEmpty().
Why: The suggestion to use isNotBlank() instead of isNotEmpty() provides a more precise assertion for non-empty strings, which can catch additional edge cases such as strings with only whitespace. This enhances the robustness of the test assertions.
5
Best practice
Use a constant for timeout values to improve maintainability and consistency
Consider using a constant or configuration value for the timeout duration in latch.await() calls instead of hardcoding the value 5. This improves maintainability and allows for easier adjustments across the test suite.
-boolean countdown = latch.await(5, TimeUnit.SECONDS);+private static final int LATCH_TIMEOUT_SECONDS = 5;+// ...+boolean countdown = latch.await(LATCH_TIMEOUT_SECONDS, TimeUnit.SECONDS);
Suggestion importance[1-10]: 7
Why: Using a constant for timeout values enhances maintainability and consistency across the test suite. It allows for easier adjustments and improves code readability.
7
Use try-with-resources for all AutoCloseable resources to ensure proper resource management
Consider using a try-with-resources statement for the LogInspector to ensure it is properly closed after use, even if an exception occurs.
-try (org.openqa.selenium.bidi.module.LogInspector logInspector = new LogInspector(driver)) {+try (org.openqa.selenium.bidi.module.LogInspector logInspector = new LogInspector(driver);+ BrowsingContext browsingContext = new BrowsingContext(driver, driver.getWindowHandle())) {
CompletableFuture<JavascriptLogEntry> future = new CompletableFuture<>();
logInspector.onJavascriptLog(
logEntry -> {
if (logEntry.getLevel().equals(LogLevel.ERROR)) {
future.complete(logEntry);
}
});
Apply this suggestion
Suggestion importance[1-10]: 7
Why: The suggestion to use try-with-resources for managing AutoCloseable resources like BrowsingContext enhances resource management and ensures proper closure, reducing the risk of resource leaks. This is a good practice for improving code reliability.
7
Extract magic number to a named constant for better code maintainability
Consider using a constant for the timeout value in the future.get() call to improve maintainability and readability.
-ConsoleLogEntry logEntry = future.get(5, TimeUnit.SECONDS);+private static final int CONSOLE_LOG_TIMEOUT_SECONDS = 5;+...+ConsoleLogEntry logEntry = future.get(CONSOLE_LOG_TIMEOUT_SECONDS, TimeUnit.SECONDS);
Suggestion importance[1-10]: 6
Why: The suggestion to use a named constant for the timeout value improves code readability and maintainability by avoiding magic numbers. This change is beneficial for future modifications and understanding of the code.
6
Use constants or configuration values for file paths to improve maintainability and flexibility
Consider using a constant or configuration value for the file path instead of hardcoding it directly in the test method.
-File testFile = new File("test-files/selenium-logo.png");+private static final String TEST_FILE_PATH = "test-files/selenium-logo.png";++// In the test method:+File testFile = new File(TEST_FILE_PATH);
String filePath = testFile.getAbsolutePath();
Apply this suggestion
Suggestion importance[1-10]: 6
Why: Replacing hardcoded file paths with constants improves maintainability and flexibility, making it easier to update paths in the future. This suggestion enhances code readability and reduces potential errors.
Here are some number for this PR, from my local bazel test --cache_test_results=no --jobs 4 --test_size_filters=large grid java/test/org/openqa/selenium/bidi/... runs
Failed test name: //javascript/webdriver:test-chrome
Failure summary:
The action failed due to the following reasons:
Three tests failed during the execution: - //javascript/webdriver:test-chrome - //javascript/webdriver:test-edge - //javascript/webdriver:test-firefox-beta
The failures were caused by a NullPointerException in the JavaScript test suite, specifically in the JavaScriptTestSuite.lambda$dynamicTests$0 method. The exception occurred because the GlobalTestEnvironment.get() method returned null, leading to an attempt to invoke getAppServer() on a null object.
Relevant error logs:
1: ##[group]Operating System2: Ubuntu
...
970: Package 'php-symfony-debug-bundle' is not installed, so not removed971: Package 'php-symfony-dependency-injection' is not installed, so not removed972: Package 'php-symfony-deprecation-contracts' is not installed, so not removed973: Package 'php-symfony-discord-notifier' is not installed, so not removed974: Package 'php-symfony-doctrine-bridge' is not installed, so not removed975: Package 'php-symfony-doctrine-messenger' is not installed, so not removed976: Package 'php-symfony-dom-crawler' is not installed, so not removed977: Package 'php-symfony-dotenv' is not installed, so not removed978: Package 'php-symfony-error-handler' is not installed, so not removed
...
1810: �[32m[2,810 / 4,487]�[0m 5 / 141 tests;�[0m Creating source manifest for //rb/spec/integration/selenium/webdriver:guard-edge; 0s local ... (2 actions running)1811: (18:26:07) �[32mINFO: �[0mFrom Building external/protobuf~/java/core/liblite_runtime_only.jar (91 source files) [for tool]:1812: external/protobuf~/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:293: warning: [removal] AccessController in java.security has been deprecated and marked for removal1813: AccessController.doPrivileged(1814: ^1815: (18:26:09) �[32mAnalyzing:�[0m 2120 targets (1584 packages loaded, 51570 targets configured)1816: �[32m[3,932 / 5,671]�[0m 18 / 424 tests;�[0m Compiling src/google/protobuf/compiler/objectivec/objectivec_extension.cc [for tool]; 0s remote, remote-cache ... (48 actions, 0 running)1817: (18:26:13) �[32mINFO: �[0mFrom Building java/src/org/openqa/selenium/remote/libapi-class.jar (71 source files):1818: java/src/org/openqa/selenium/remote/ErrorHandler.java:46: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1819: private final ErrorCodes errorCodes;1820: ^1821: java/src/org/openqa/selenium/remote/ErrorHandler.java:60: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1822: this.errorCodes = new ErrorCodes();1823: ^1824: java/src/org/openqa/selenium/remote/ErrorHandler.java:68: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1825: public ErrorHandler(ErrorCodes codes, boolean includeServerErrors) {1826: ^1827: java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1828: ErrorCodes errorCodes = new ErrorCodes();1829: ^1830: java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1831: ErrorCodes errorCodes = new ErrorCodes();1832: ^1833: java/src/org/openqa/selenium/remote/ProtocolHandshake.java:181: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1834: response.setStatus(ErrorCodes.SUCCESS);1835: ^1836: java/src/org/openqa/selenium/remote/ProtocolHandshake.java:182: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1837: response.setState(ErrorCodes.SUCCESS_STRING);1838: ^1839: java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:53: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1840: new ErrorCodes().toStatus((String) rawError, Optional.of(tuple.getStatusCode())));1841: ^1842: java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:56: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1843: new ErrorCodes().getExceptionType((String) rawError);1844: ^1845: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1846: private final ErrorCodes errorCodes = new ErrorCodes();1847: ^1848: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1849: private final ErrorCodes errorCodes = new ErrorCodes();1850: ^1851: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1852: int status = response.getStatus() == ErrorCodes.SUCCESS ? HTTP_OK : HTTP_INTERNAL_ERROR;1853: ^1854: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:101: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1855: response.setStatus(ErrorCodes.UNKNOWN_COMMAND);1856: ^1857: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:103: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1858: response.setStatus(ErrorCodes.UNHANDLED_ERROR);1859: ^1860: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:117: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1861: response.setStatus(ErrorCodes.SUCCESS);1862: ^1863: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:118: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1864: response.setState(errorCodes.toState(ErrorCodes.SUCCESS));1865: ^1866: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:124: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1867: response.setState(errorCodes.toState(ErrorCodes.SUCCESS));1868: ^1869: java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:70: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1870: private final ErrorCodes errorCodes = new ErrorCodes();1871: ^1872: java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:70: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1873: private final ErrorCodes errorCodes = new ErrorCodes();1874: ^1875: java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:93: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1876: response.setStatus(ErrorCodes.UNKNOWN_COMMAND);1877: ^1878: java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:98: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1879: response.setStatus(ErrorCodes.UNHANDLED_ERROR);1880: ^1881: java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:145: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1882: response.setStatus(ErrorCodes.SUCCESS);
...
1914: (18:26:15) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:351:19: runfiles symlink javascript/atoms/test/click_submit_test.html -> javascript/atoms/test/click_submit_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test1915: (18:26:15) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:351:19: runfiles symlink javascript/atoms/test/click_test.html -> javascript/atoms/test/click_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test1916: (18:26:15) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:351:19: runfiles symlink javascript/atoms/test/clientrect_test.html -> javascript/atoms/test/clientrect_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test1917: (18:26:15) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:351:19: runfiles symlink javascript/atoms/test/color_test.html -> javascript/atoms/test/color_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test1918: (18:26:15) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:351:19: runfiles symlink javascript/atoms/test/dom_test.html -> javascript/atoms/test/dom_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test1919: (18:26:15) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:351:19: runfiles symlink javascript/atoms/test/drag_test.html -> javascript/atoms/test/drag_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test1920: (18:26:15) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:351:19: runfiles symlink javascript/atoms/test/enabled_test.html -> javascript/atoms/test/enabled_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test1921: (18:26:15) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:351:19: runfiles symlink javascript/atoms/test/enter_submit_test.html -> javascript/atoms/test/enter_submit_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test1922: (18:26:15) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:351:19: runfiles symlink javascript/atoms/test/error_test.html -> javascript/atoms/test/error_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
...
2085: �[32m[11,767 / 13,102]�[0m 145 / 1845 tests;�[0m Testing //javascript/node/selenium-webdriver:test-execute-script-test.js-chrome; 4s remote, remote-cache ... (50 actions, 0 running)2086: (18:26:49) �[32mAnalyzing:�[0m 2120 targets (1628 packages loaded, 62242 targets configured)2087: �[32m[11,811 / 13,173]�[0m 172 / 1845 tests;�[0m [Prepa] Testing //py:common-edge-test/selenium/webdriver/common/window_tests.py; 4s ... (50 actions, 0 running)2088: (18:26:55) �[32mAnalyzing:�[0m 2120 targets (1628 packages loaded, 62242 targets configured)2089: �[32m[11,904 / 13,211]�[0m 242 / 1845 tests;�[0m Testing //py:unit-test/unit/selenium/webdriver/remote/remote_connection_tests.py; 2s remote, remote-cache ... (50 actions, 0 running)2090: (18:27:00) �[32mAnalyzing:�[0m 2120 targets (1629 packages loaded, 62472 targets configured)2091: �[32m[12,081 / 13,229]�[0m 390 / 1845 tests;�[0m Testing //py:common-firefox-test/selenium/webdriver/common/correct_event_firing_tests.py; 0s remote, remote-cache ... (50 actions, 0 running)2092: (18:27:01) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.jar (1 source file):2093: java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:26: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2094: import static org.openqa.selenium.remote.ErrorCodes.METHOD_NOT_ALLOWED;2095: ^2096: java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2097: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.SUCCESS);2098: ^2099: java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:81: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2100: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);2101: ^2102: java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:107: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2103: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);2104: ^2105: (18:27:02) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/ErrorHandlerTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):2106: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:79: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2107: handler.throwIfResponseFailed(createResponse(ErrorCodes.SUCCESS), 100);2108: ^2109: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:85: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2110: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);2111: ^2112: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:86: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2113: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);2114: ^2115: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:87: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2116: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);2117: ^2118: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:88: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2119: assertThrowsCorrectExceptionType(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);2120: ^2121: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:90: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2122: ErrorCodes.METHOD_NOT_ALLOWED, UnsupportedCommandException.class);2123: ^2124: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:92: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2125: ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);2126: ^2127: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:94: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2128: ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);2129: ^2130: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:95: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2131: assertThrowsCorrectExceptionType(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);2132: ^2133: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:107: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2134: Response response = createResponse(ErrorCodes.UNHANDLED_ERROR);2135: ^2136: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:120: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2137: createResponse(ErrorCodes.UNHANDLED_ERROR, "boom"), 123))2138: ^2139: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:133: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2140: createResponse(ErrorCodes.UNHANDLED_ERROR, ImmutableMap.of("message", "boom")),2141: ^2142: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:147: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2143: ErrorCodes.UNHANDLED_ERROR,2144: ^2145: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:167: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2146: ErrorCodes.UNHANDLED_ERROR,2147: ^2148: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:193: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2149: createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))2150: ^2151: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:214: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2152: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2153: ^2154: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:248: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2155: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2156: ^2157: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:280: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2158: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2159: ^2160: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:308: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2161: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2162: ^2163: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:327: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2164: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2165: ^2166: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:355: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2167: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2168: ^2169: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:394: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2170: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2171: ^2172: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:426: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2173: createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))2174: ^2175: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:435: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2176: exceptions.put(ErrorCodes.NO_SUCH_SESSION, NoSuchSessionException.class);2177: ^2178: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:436: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2179: exceptions.put(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);2180: ^2181: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:437: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2182: exceptions.put(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);2183: ^2184: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:438: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2185: exceptions.put(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);2186: ^2187: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:439: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2188: exceptions.put(ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);2189: ^2190: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:440: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2191: exceptions.put(ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);2192: ^2193: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2194: exceptions.put(ErrorCodes.UNHANDLED_ERROR, WebDriverException.class);2195: ^2196: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:442: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2197: exceptions.put(ErrorCodes.JAVASCRIPT_ERROR, JavascriptException.class);2198: ^2199: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:443: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2200: exceptions.put(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);2201: ^2202: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:444: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2203: exceptions.put(ErrorCodes.TIMEOUT, TimeoutException.class);2204: ^2205: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:445: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2206: exceptions.put(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);2207: ^2208: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:446: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2209: exceptions.put(ErrorCodes.INVALID_COOKIE_DOMAIN, InvalidCookieDomainException.class);2210: ^2211: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:447: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2212: exceptions.put(ErrorCodes.UNABLE_TO_SET_COOKIE, UnableToSetCookieException.class);2213: ^2214: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:448: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2215: exceptions.put(ErrorCodes.UNEXPECTED_ALERT_PRESENT, UnhandledAlertException.class);2216: ^2217: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:449: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2218: exceptions.put(ErrorCodes.NO_ALERT_PRESENT, NoAlertPresentException.class);2219: ^2220: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:450: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2221: exceptions.put(ErrorCodes.ASYNC_SCRIPT_TIMEOUT, ScriptTimeoutException.class);2222: ^2223: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:451: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2224: exceptions.put(ErrorCodes.INVALID_SELECTOR_ERROR, InvalidSelectorException.class);2225: ^2226: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:452: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2227: exceptions.put(ErrorCodes.SESSION_NOT_CREATED, SessionNotCreatedException.class);2228: ^2229: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:453: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2230: exceptions.put(ErrorCodes.MOVE_TARGET_OUT_OF_BOUNDS, MoveTargetOutOfBoundsException.class);2231: ^2232: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2233: exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR, InvalidSelectorException.class);2234: ^2235: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:455: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2236: exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR_RETURN_TYPER, InvalidSelectorException.class);2237: ^2238: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:469: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2239: ? ErrorCodes.INVALID_SELECTOR_ERROR2240: ^2241: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:471: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2242: assertThat(new ErrorCodes().toStatusCode(e)).isEqualTo(expected);2243: ^2244: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:483: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2245: response.setState(new ErrorCodes().toState(status));2246: ^2247: (18:27:03) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/RemotableByTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):2248: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2249: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2250: ^2251: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2252: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2253: ^2254: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2255: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2256: ^2257: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2258: private final ErrorCodes errorCodes = new ErrorCodes();2259: ^2260: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2261: private final ErrorCodes errorCodes = new ErrorCodes();2262: ^2263: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2264: private final ErrorCodes errorCodes = new ErrorCodes();2265: ^2266: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2267: private final ErrorCodes errorCodes = new ErrorCodes();2268: ^2269: (18:27:05) �[32mAnalyzing:�[0m 2120 targets (1629 packages loaded, 62503 targets configured)2270: �[32m[12,368 / 13,407]�[0m 561 / 1872 tests;�[0m Testing //javascript/node/selenium-webdriver:test-bidi-browsingcontext-test.js-firefox; 0s remote, remote-cache ... (50 actions, 0 running)2271: (18:27:08) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/libsmall-tests-test-lib.jar (5 source files) and running annotation processors (AutoServiceProcessor):2272: java/test/org/openqa/selenium/remote/WebDriverFixture.java:170: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2273: response.setStatus(new ErrorCodes().toStatus(state, Optional.of(400)));2274: ^2275: (18:27:10) �[32mAnalyzing:�[0m 2120 targets (1629 packages loaded, 62549 targets configured)2276: �[32m[12,652 / 13,657]�[0m 721 / 1918 tests;�[0m Testing //rb/spec/unit/selenium/webdriver/common:virtual_authenticator_options; 0s remote, remote-cache ... (48 actions, 0 running)2277: (18:27:10) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/json/JsonTest.jar (1 source file):2278: java/test/org/openqa/selenium/json/JsonTest.java:430: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2279: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));2280: ^2281: java/test/org/openqa/selenium/json/JsonTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2282: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));2283: ^2284: java/test/org/openqa/selenium/json/JsonTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2285: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(32));
...
2726: dotnet/test/common/RelativeLocatorTest.cs(40,29): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2727: (18:29:38) �[32m[14,783 / 15,337]�[0m 1566 / 2120 tests;�[0m Testing //javascript/webdriver:test-edge; 131s remote, remote-cache ... (50 actions, 21 running)2728: (18:29:40) �[31m�[1mFAIL: �[0m//javascript/webdriver:test-chrome (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/javascript/webdriver/test-chrome/test_attempts/attempt_1.log)2729: (18:29:44) �[32m[14,783 / 15,337]�[0m 1566 / 2120 tests;�[0m Testing //javascript/webdriver:test-edge; 137s remote, remote-cache ... (50 actions, 23 running)2730: (18:29:45) �[32mINFO: �[0mFrom Compiling ElementSelectingTest-edge:2731: dotnet/test/common/ElementSelectingTest.cs(228,20): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2732: (18:29:51) �[32m[14,799 / 15,349]�[0m 1570 / 2120 tests;�[0m Testing //javascript/webdriver:test-edge; 145s remote, remote-cache ... (50 actions, 22 running)2733: (18:29:56) �[31m�[1mFAIL: �[0m//javascript/webdriver:test-edge (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/javascript/webdriver/test-edge/test.log)2734: �[31m�[1mFAILED: �[0m//javascript/webdriver:test-edge (Summary)
...
2864: java.lang.NullPointerException: Cannot invoke "org.openqa.selenium.environment.TestEnvironment.getAppServer()" because the return value of "org.openqa.selenium.environment.GlobalTestEnvironment.get()" is null2865: at org.openqa.selenium.javascript.JavaScriptTestSuite.lambda$dynamicTests$0(JavaScriptTestSuite.java:69)2866: at org.openqa.selenium.javascript.ClosureTestStatement.evaluate(ClosureTestStatement.java:56)2867: at java.base/java.util.Optional.ifPresent(Optional.java:178)2868: at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)2869: at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)2870: Execution result: https://gypsum.cluster.engflow.com/actions/executions/ChCgHfMQ0UNCiqLjEC0JFA-PEgdkZWZhdWx0GiUKIC1AtK2yo6dciNzSh1ZX5L6QqRZYpTl7iZWhL5zFwEZYEJ8D2871: ================================================================================2872: (18:29:56) �[32m[14,812 / 15,349]�[0m 1583 / 2120 tests, �[31m�[1m1 failed�[0m;�[0m [Sched] Testing //java/test/org/openqa/selenium/bidi/browsingcontext:LocateNodesTest-chrome; 135s ... (50 actions, 22 running)
...
2919: dotnet/test/common/ElementAttributeTest.cs(374,37): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2920: dotnet/test/common/ElementAttributeTest.cs(382,35): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2921: dotnet/test/common/ElementAttributeTest.cs(390,37): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2922: dotnet/test/common/ElementAttributeTest.cs(398,37): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2923: dotnet/test/common/ElementAttributeTest.cs(406,37): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2924: dotnet/test/common/ElementAttributeTest.cs(414,37): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2925: dotnet/test/common/ElementAttributeTest.cs(422,44): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2926: dotnet/test/common/ElementAttributeTest.cs(432,32): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2927: (18:30:02) �[32m[14,822 / 15,355]�[0m 1588 / 2120 tests, �[31m�[1m1 failed�[0m;�[0m [Sched] Testing //java/test/org/openqa/selenium/bidi/input:SetFilesCommandTest-edge; 140s ... (50 actions, 22 running)
...
2936: dotnet/test/common/GetMultipleAttributeTest.cs(37,37): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2937: dotnet/test/common/GetMultipleAttributeTest.cs(45,37): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2938: (18:30:04) �[32mINFO: �[0mFrom Compiling GetMultipleAttributeTest-edge:2939: dotnet/test/common/GetMultipleAttributeTest.cs(13,25): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2940: dotnet/test/common/GetMultipleAttributeTest.cs(21,37): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2941: dotnet/test/common/GetMultipleAttributeTest.cs(29,37): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2942: dotnet/test/common/GetMultipleAttributeTest.cs(37,37): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2943: dotnet/test/common/GetMultipleAttributeTest.cs(45,37): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2944: (18:30:08) �[32m[14,871 / 15,381]�[0m 1611 / 2120 tests, �[31m�[1m1 failed�[0m;�[0m [Sched] Testing //java/test/org/openqa/selenium/bidi/input:SetFilesCommandTest-edge; 147s ... (50 actions, 22 running)
...
2966: dotnet/test/common/ElementFindingTest.cs(785,35): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2967: dotnet/test/common/ElementFindingTest.cs(788,37): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2968: dotnet/test/common/ElementFindingTest.cs(791,35): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2969: dotnet/test/common/ElementFindingTest.cs(799,39): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2970: dotnet/test/common/ElementFindingTest.cs(896,29): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2971: dotnet/test/common/ElementFindingTest.cs(980,38): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2972: dotnet/test/common/ElementFindingTest.cs(1009,38): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2973: dotnet/test/common/ElementFindingTest.cs(1017,42): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2974: (18:30:13) �[32m[14,928 / 15,428]�[0m 1620 / 2120 tests, �[31m�[1m1 failed�[0m;�[0m [Sched] Testing //java/test/org/openqa/selenium/bidi/input:SetFilesCommandTest-edge-remote; 150s ... (50 actions, 22 running)2975: (18:30:18) �[32m[15,023 / 15,469]�[0m 1675 / 2120 tests, �[31m�[1m1 failed�[0m;�[0m [Sched] Testing //java/test/org/openqa/selenium/bidi/log:LogInspectorTest-edge-remote; 155s ... (50 actions, 23 running)2976: (18:30:23) �[32mINFO: �[0mFrom Compiling I18Test-chrome:2977: dotnet/test/common/I18Test.cs(33,37): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2978: dotnet/test/common/I18Test.cs(44,37): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2979: dotnet/test/common/I18Test.cs(70,36): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'2980: (18:30:23) �[32m[15,094 / 15,501]�[0m 1713 / 2120 tests, �[31m�[1m1 failed�[0m;�[0m [Sched] Testing //java/test/org/openqa/selenium/bidi/browser:BrowserCommandsTest-chrome-remote; 159s ... (50 actions, 24 running)2981: (18:30:31) �[32m[15,134 / 15,528]�[0m 1726 / 2120 tests, �[31m�[1m1 failed�[0m;�[0m [Sched] Testing //java/test/org/openqa/selenium/bidi/script:ScriptCommandsTest-edge-remote; 166s ... (50 actions, 24 running)2982: (18:30:37) �[32m[15,160 / 15,545]�[0m 1736 / 2120 tests, �[31m�[1m1 failed�[0m;�[0m [Sched] Testing //java/test/org/openqa/selenium/bidi/script:CallFunctionParameterTest; 171s ... (50 actions, 24 running)2983: (18:30:42) �[32m[15,194 / 15,565]�[0m 1749 / 2120 tests, �[31m�[1m1 failed�[0m;�[0m [Sched] Testing //java/test/org/openqa/selenium/bidi/script:CallFunctionParameterTest; 176s ... (50 actions, 24 running)
...
3021: dotnet/test/common/ClearTest.cs(179,39): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3022: dotnet/test/common/ClearTest.cs(181,43): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3023: (18:30:46) �[32mINFO: �[0mFrom Compiling Interactions/CombinedInputActionsTest-chrome:3024: dotnet/test/common/Interactions/CombinedInputActionsTest.cs(276,40): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3025: dotnet/test/common/Interactions/CombinedInputActionsTest.cs(287,43): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3026: dotnet/test/common/Interactions/CombinedInputActionsTest.cs(296,47): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3027: (18:30:46) �[32mINFO: �[0mFrom Compiling UploadTest-edge:3028: dotnet/test/common/UploadTest.cs(53,43): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3029: (18:30:47) �[32m[15,268 / 15,621]�[0m 1768 / 2120 tests, �[31m�[1m1 failed�[0m;�[0m [Sched] Testing //java/test/org/openqa/selenium/bidi/log:LogInspectorTest-edge; 180s ... (50 actions, 24 running)
...
3100: dotnet/test/common/TypingTest.cs(537,29): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3101: dotnet/test/common/TypingTest.cs(548,50): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3102: dotnet/test/common/TypingTest.cs(559,43): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3103: dotnet/test/common/TypingTest.cs(580,39): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3104: dotnet/test/common/TypingTest.cs(589,35): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3105: dotnet/test/common/TypingTest.cs(608,33): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3106: dotnet/test/common/TypingTest.cs(631,34): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3107: dotnet/test/common/TypingTest.cs(716,20): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3108: (18:30:52) �[32m[15,428 / 15,723]�[0m 1828 / 2120 tests, �[31m�[1m1 failed�[0m;�[0m [Sched] Testing //java/test/org/openqa/selenium/bidi/script:ScriptCommandsTest-chrome-remote; 106s ... (50 actions, 25 running)
...
3116: dotnet/test/common/Interactions/BasicKeyboardInterfaceTest.cs(138,35): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3117: dotnet/test/common/Interactions/BasicKeyboardInterfaceTest.cs(194,27): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3118: dotnet/test/common/Interactions/BasicKeyboardInterfaceTest.cs(219,25): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3119: dotnet/test/common/Interactions/BasicKeyboardInterfaceTest.cs(237,27): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3120: dotnet/test/common/Interactions/BasicKeyboardInterfaceTest.cs(263,27): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3121: dotnet/test/common/Interactions/BasicKeyboardInterfaceTest.cs(281,27): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3122: dotnet/test/common/Interactions/BasicKeyboardInterfaceTest.cs(290,25): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3123: dotnet/test/common/Interactions/BasicKeyboardInterfaceTest.cs(317,35): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3124: (18:30:57) �[32m[15,546 / 15,795]�[0m 1873 / 2120 tests, �[31m�[1m1 failed�[0m;�[0m Testing //javascript/webdriver:test-chrome; 103s remote, remote-cache ... (50 actions, 25 running)
...
3189: dotnet/test/common/TypingTest.cs(716,20): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3190: (18:31:01) �[32mINFO: �[0mFrom Compiling RelativeLocatorTest-chrome:3191: dotnet/test/common/RelativeLocatorTest.cs(23,29): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3192: dotnet/test/common/RelativeLocatorTest.cs(40,29): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3193: (18:31:01) �[32mINFO: �[0mFrom Compiling Interactions/BasicMouseInterfaceTest-firefox:3194: dotnet/test/common/Interactions/BasicMouseInterfaceTest.cs(114,46): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3195: dotnet/test/common/Interactions/BasicMouseInterfaceTest.cs(128,47): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3196: dotnet/test/common/Interactions/BasicMouseInterfaceTest.cs(143,40): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3197: (18:31:02) �[32m[15,817 / 15,995]�[0m 1943 / 2120 tests, �[31m�[1m1 failed�[0m;�[0m Testing //javascript/webdriver:test-chrome; 108s remote, remote-cache ... (50 actions, 24 running)
...
3262: dotnet/test/common/FrameSwitchingTest.cs(112,37): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3263: dotnet/test/common/FrameSwitchingTest.cs(138,37): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3264: (18:31:06) �[32mINFO: �[0mFrom Compiling CorrectEventFiringTest-chrome:3265: dotnet/test/common/CorrectEventFiringTest.cs(229,29): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3266: (18:31:06) �[32mINFO: �[0mFrom Compiling CorrectEventFiringTest-edge:3267: dotnet/test/common/CorrectEventFiringTest.cs(229,29): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3268: (18:31:06) �[32mINFO: �[0mFrom Compiling CorrectEventFiringTest-firefox:3269: dotnet/test/common/CorrectEventFiringTest.cs(229,29): warning CS0618: 'IWebElement.GetAttribute(string)' is obsolete: 'Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute(string attributeName) will be removed in Selenium 6.'3270: (18:31:07) �[32m[16,123 / 16,220]�[0m 2023 / 2120 tests, �[31m�[1m1 failed�[0m;�[0m Testing //javascript/webdriver:test-chrome; 113s remote, remote-cache ... (50 actions, 24 running)3271: (18:31:10) �[31m�[1mFAIL: �[0m//javascript/webdriver:test-firefox-beta (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/javascript/webdriver/test-firefox-beta/test.log)3272: �[31m�[1mFAILED: �[0m//javascript/webdriver:test-firefox-beta (Summary)
...
3402: java.lang.NullPointerException: Cannot invoke "org.openqa.selenium.environment.TestEnvironment.getAppServer()" because the return value of "org.openqa.selenium.environment.GlobalTestEnvironment.get()" is null3403: at org.openqa.selenium.javascript.JavaScriptTestSuite.lambda$dynamicTests$0(JavaScriptTestSuite.java:69)3404: at org.openqa.selenium.javascript.ClosureTestStatement.evaluate(ClosureTestStatement.java:56)3405: at java.base/java.util.Optional.ifPresent(Optional.java:178)3406: at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)3407: at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)3408: Execution result: https://gypsum.cluster.engflow.com/actions/executions/ChCgHfMQ0UNCiqLjEC0JFA-PEgdkZWZhdWx0GiUKIEXRavV8a8hAQbHf4ZdZtINciQC-Ban-if8S9skKvnVVEJ8D3409: ================================================================================3410: (18:31:17) �[32m[16,180 / 16,223]�[0m 2077 / 2120 tests, �[31m�[1m2 failed�[0m;�[0m Testing //javascript/webdriver:test-chrome; 123s remote, remote-cache ... (43 actions, 24 running)3411: (18:31:25) �[32m[16,181 / 16,223]�[0m 2078 / 2120 tests, �[31m�[1m2 failed�[0m;�[0m Testing //javascript/webdriver:test-chrome; 131s remote, remote-cache ... (42 actions, 27 running)3412: (18:31:32) �[32m[16,185 / 16,223]�[0m 2082 / 2120 tests, �[31m�[1m2 failed�[0m;�[0m Testing //javascript/webdriver:test-chrome; 138s remote, remote-cache ... (38 actions, 26 running)3413: (18:31:33) �[31m�[1mFAIL: �[0m//javascript/webdriver:test-chrome (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/javascript/webdriver/test-chrome/test.log)3414: �[31m�[1mFAILED: �[0m//javascript/webdriver:test-chrome (Summary)
...
3544: java.lang.NullPointerException: Cannot invoke "org.openqa.selenium.environment.TestEnvironment.getAppServer()" because the return value of "org.openqa.selenium.environment.GlobalTestEnvironment.get()" is null3545: at org.openqa.selenium.javascript.JavaScriptTestSuite.lambda$dynamicTests$0(JavaScriptTestSuite.java:69)3546: at org.openqa.selenium.javascript.ClosureTestStatement.evaluate(ClosureTestStatement.java:56)3547: at java.base/java.util.Optional.ifPresent(Optional.java:178)3548: at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)3549: at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)3550: Execution result: https://gypsum.cluster.engflow.com/actions/executions/ChCgHfMQ0UNCiqLjEC0JFA-PEgdkZWZhdWx0GiUKIIObEZuzj2VQvFWF1zm4YCPK6lNOp2dFJgAdrVZfsrJDEJ8D3551: ================================================================================3552: (18:31:40) �[32m[16,189 / 16,223]�[0m 2086 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest-edge; 123s remote, remote-cache ... (34 actions, 27 running)3553: (18:31:46) �[32m[16,191 / 16,223]�[0m 2088 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest-edge; 129s remote, remote-cache ... (32 actions, 29 running)3554: (18:31:51) �[32m[16,194 / 16,223]�[0m 2091 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest-edge; 134s remote, remote-cache ... (29 actions running)3555: (18:31:57) �[32m[16,195 / 16,223]�[0m 2092 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest-edge-remote; 124s remote, remote-cache ... (28 actions running)3556: (18:32:02) �[32m[16,199 / 16,223]�[0m 2096 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest-edge-remote; 129s remote, remote-cache ... (24 actions running)3557: (18:32:09) �[32m[16,200 / 16,223]�[0m 2098 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest-edge-remote; 136s remote, remote-cache ... (23 actions running)3558: (18:32:14) �[32m[16,206 / 16,223]�[0m 2104 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest; 140s remote, remote-cache ... (17 actions running)3559: (18:32:21) �[32m[16,209 / 16,223]�[0m 2107 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest; 147s remote, remote-cache ... (14 actions running)3560: (18:32:27) �[32m[16,214 / 16,223]�[0m 2111 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest; 152s remote, remote-cache ... (9 actions running)3561: (18:32:33) �[32m[16,214 / 16,223]�[0m 2112 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest; 159s remote, remote-cache ... (9 actions running)3562: (18:32:38) �[32m[16,215 / 16,223]�[0m 2113 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest; 164s remote, remote-cache ... (8 actions running)3563: (18:32:47) �[32m[16,217 / 16,223]�[0m 2114 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest; 172s remote, remote-cache ... (6 actions running)3564: (18:32:57) �[32m[16,218 / 16,223]�[0m 2115 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest; 182s remote, remote-cache ... (5 actions running)3565: (18:33:02) �[32m[16,219 / 16,223]�[0m 2116 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest; 187s remote, remote-cache ... (4 actions running)3566: (18:33:10) �[32m[16,219 / 16,223]�[0m 2116 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest; 196s remote, remote-cache ... (4 actions running)3567: (18:33:30) �[32m[16,219 / 16,223]�[0m 2117 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest; 216s remote, remote-cache ... (4 actions running)3568: (18:33:37) �[32m[16,220 / 16,223]�[0m 2117 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest; 222s remote, remote-cache ... (3 actions running)3569: (18:33:47) �[32m[16,220 / 16,223]�[0m 2117 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest; 232s remote, remote-cache ... (3 actions running)3570: (18:34:11) �[32m[16,220 / 16,223]�[0m 2117 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest; 257s remote, remote-cache ... (3 actions running)3571: (18:35:11) �[32m[16,220 / 16,223]�[0m 2118 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest; 316s remote, remote-cache ... (3 actions running)3572: (18:35:17) �[32m[16,221 / 16,223]�[0m 2118 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest; 322s remote, remote-cache ... (2 actions running)3573: (18:35:22) �[32m[16,221 / 16,223]�[0m 2118 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest; 328s remote, remote-cache ... (2 actions running)3574: (18:35:40) �[32m[16,221 / 16,223]�[0m 2119 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest; 346s remote, remote-cache ... (2 actions running)3575: (18:35:47) �[32m[16,222 / 16,223]�[0m 2119 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest; 352s remote, remote-cache3576: (18:35:52) �[32m[16,222 / 16,223]�[0m 2119 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest; 358s remote, remote-cache3577: (18:36:08) �[32m[16,222 / 16,223]�[0m 2120 / 2120 tests, �[31m�[1m3 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextTest; 374s remote, remote-cache3578: (18:36:08) �[32mINFO: �[0mFound 2120 test targets...3579: (18:36:08) �[32mINFO: �[0mElapsed time: 715.841s, Critical Path: 546.74s3580: (18:36:08) �[32mINFO: �[0m15464 processes: 7699 remote cache hit, 7628 internal, 49 local, 88 remote.3581: (18:36:08) �[32mINFO: �[0mBuild completed, 3 tests FAILED, 15464 total actions
...
3692: //dotnet/test/common:ElementFindingTest-edge �[0m�[32m(cached) PASSED�[0m in 25.2s3693: //dotnet/test/common:ElementFindingTest-firefox �[0m�[32m(cached) PASSED�[0m in 32.3s3694: //dotnet/test/common:ElementPropertyTest-chrome �[0m�[32m(cached) PASSED�[0m in 5.7s3695: //dotnet/test/common:ElementPropertyTest-edge �[0m�[32m(cached) PASSED�[0m in 6.8s3696: //dotnet/test/common:ElementPropertyTest-firefox �[0m�[32m(cached) PASSED�[0m in 4.4s3697: //dotnet/test/common:ElementSelectingTest-chrome �[0m�[32m(cached) PASSED�[0m in 10.0s3698: //dotnet/test/common:ElementSelectingTest-edge �[0m�[32m(cached) PASSED�[0m in 11.1s3699: //dotnet/test/common:ElementSelectingTest-firefox �[0m�[32m(cached) PASSED�[0m in 23.1s3700: //dotnet/test/common:ErrorsTest-chrome �[0m�[32m(cached) PASSED�[0m in 4.9s3701: //dotnet/test/common:ErrorsTest-edge �[0m�[32m(cached) PASSED�[0m in 6.9s3702: //dotnet/test/common:ErrorsTest-firefox �[0m�[32m(cached) PASSED�[0m in 11.6s
...
4032: //java/test/org/openqa/selenium:ElementFindingTest-edge �[0m�[32m(cached) PASSED�[0m in 96.6s4033: //java/test/org/openqa/selenium:ElementFindingTest-firefox-beta �[0m�[32m(cached) PASSED�[0m in 42.0s4034: //java/test/org/openqa/selenium:ElementFindingTest-spotbugs �[0m�[32m(cached) PASSED�[0m in 10.3s4035: //java/test/org/openqa/selenium:ElementSelectingTest �[0m�[32m(cached) PASSED�[0m in 26.2s4036: //java/test/org/openqa/selenium:ElementSelectingTest-chrome �[0m�[32m(cached) PASSED�[0m in 18.2s4037: //java/test/org/openqa/selenium:ElementSelectingTest-edge �[0m�[32m(cached) PASSED�[0m in 27.8s4038: //java/test/org/openqa/selenium:ElementSelectingTest-firefox-beta �[0m�[32m(cached) PASSED�[0m in 32.0s4039: //java/test/org/openqa/selenium:ElementSelectingTest-spotbugs �[0m�[32m(cached) PASSED�[0m in 7.4s4040: //java/test/org/openqa/selenium:ErrorsTest �[0m�[32m(cached) PASSED�[0m in 14.2s4041: //java/test/org/openqa/selenium:ErrorsTest-chrome �[0m�[32m(cached) PASSED�[0m in 11.5s4042: //java/test/org/openqa/selenium:ErrorsTest-edge �[0m�[32m(cached) PASSED�[0m in 11.7s4043: //java/test/org/openqa/selenium:ErrorsTest-firefox-beta �[0m�[32m(cached) PASSED�[0m in 20.0s4044: //java/test/org/openqa/selenium:ErrorsTest-spotbugs �[0m�[32m(cached) PASSED�[0m in 6.3s
...
4689: //java/test/org/openqa/selenium/os:ExternalProcessTest �[0m�[32m(cached) PASSED�[0m in 2.9s4690: //java/test/org/openqa/selenium/os:ExternalProcessTest-spotbugs �[0m�[32m(cached) PASSED�[0m in 4.4s4691: //java/test/org/openqa/selenium/os:OsProcessTest �[0m�[32m(cached) PASSED�[0m in 4.4s4692: //java/test/org/openqa/selenium/os:OsProcessTest-spotbugs �[0m�[32m(cached) PASSED�[0m in 9.9s4693: //java/test/org/openqa/selenium/remote:AugmenterTest �[0m�[32m(cached) PASSED�[0m in 5.7s4694: //java/test/org/openqa/selenium/remote:AugmenterTest-spotbugs �[0m�[32m(cached) PASSED�[0m in 8.6s4695: //java/test/org/openqa/selenium/remote:DesiredCapabilitiesTest �[0m�[32m(cached) PASSED�[0m in 1.6s4696: //java/test/org/openqa/selenium/remote:DesiredCapabilitiesTest-spotbugs �[0m�[32m(cached) PASSED�[0m in 4.3s4697: //java/test/org/openqa/selenium/remote:ErrorCodecTest �[0m�[32m(cached) PASSED�[0m in 1.7s4698: //java/test/org/openqa/selenium/remote:ErrorCodecTest-spotbugs �[0m�[32m(cached) PASSED�[0m in 8.0s4699: //java/test/org/openqa/selenium/remote:ErrorHandlerTest �[0m�[32m(cached) PASSED�[0m in 2.4s4700: //java/test/org/openqa/selenium/remote:ErrorHandlerTest-spotbugs �[0m�[32m(cached) PASSED�[0m in 8.8s
...
5276: //py:common-firefox-test/selenium/webdriver/support/relative_by_tests.py �[0m�[32m(cached) PASSED�[0m in 117.6s5277: //py:test-chrome-test/selenium/webdriver/chrome/chrome_network_emulation_tests.py �[0m�[32m(cached) PASSED�[0m in 4.7s5278...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
Motivation and Context
This PR will use the common annotations in the BiDi tests to ensure the driver is restarted.
Additionally the provided NettyAppServer is used and not started before each test.
On my local system it takes ~500ms to start the NettyAppServer, this is how i stumbled into this.
I will improve the startup of the NettyAppServer as soon as this is merged.
@pujagani could you hava a look at this?
Types of changes
Checklist
PR Type
enhancement, tests
Description
@BeforeEachand@AfterEachannotations, replacing them with@NeedsFreshDriverto ensure a fresh driver for each test.serverwithappServerin test classes to standardize server usage.@BeforeAlland@AfterAllannotations inRemoteWebDriverBiDiTestfor server lifecycle management.Changes walkthrough 📝
16 files
BiDiTest.java
Refactor BiDiTest to use common annotations and appServerjava/test/org/openqa/selenium/bidi/BiDiTest.java
@BeforeEachand@AfterEachannotations.@NeedsFreshDriverannotation to test methods.serverwithappServer.BrowserCommandsTest.java
Refactor BrowserCommandsTest to use common annotationsjava/test/org/openqa/selenium/bidi/browser/BrowserCommandsTest.java
@BeforeEachand@AfterEachannotations.@NeedsFreshDriverannotation to test methods.BrowsingContextInspectorTest.java
Refactor BrowsingContextInspectorTest to use common annotationsjava/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextInspectorTest.java
@BeforeEachand@AfterEachannotations.@NeedsFreshDriverannotation to test methods.BrowsingContextTest.java
Refactor BrowsingContextTest to use common annotations and appServerjava/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextTest.java
@BeforeEachand@AfterEachannotations.@NeedsFreshDriverannotation to test methods.serverwithappServer.LocateNodesTest.java
Refactor LocateNodesTest to use common annotationsjava/test/org/openqa/selenium/bidi/browsingcontext/LocateNodesTest.java
@BeforeEachand@AfterEachannotations.@NeedsFreshDriverannotation to test methods.ReleaseCommandTest.java
Refactor ReleaseCommandTest to use common annotations and appServerjava/test/org/openqa/selenium/bidi/input/ReleaseCommandTest.java
@BeforeEachannotation.@NeedsFreshDriverannotation to test methods.serverwithappServer.SetFilesCommandTest.java
Refactor SetFilesCommandTest to use common annotationsjava/test/org/openqa/selenium/bidi/input/SetFilesCommandTest.java
@BeforeEachannotation.@NeedsFreshDriverannotation to test methods.LogInspectorTest.java
Refactor LogInspectorTest to use common annotations and appServerjava/test/org/openqa/selenium/bidi/log/LogInspectorTest.java
@BeforeEachand@AfterEachannotations.@NeedsFreshDriverannotation to test methods.serverwithappServer.AddInterceptParametersTest.java
Refactor AddInterceptParametersTest to use common annotationsjava/test/org/openqa/selenium/bidi/network/AddInterceptParametersTest.java
@BeforeEachand@AfterEachannotations.@NeedsFreshDriverannotation to test methods.NetworkCommandsTest.java
Refactor NetworkCommandsTest to use common annotations and appServerjava/test/org/openqa/selenium/bidi/network/NetworkCommandsTest.java
@BeforeEachand@AfterEachannotations.@NeedsFreshDriverannotation to test methods.serverwithappServer.NetworkEventsTest.java
Refactor NetworkEventsTest to use common annotations and appServerjava/test/org/openqa/selenium/bidi/network/NetworkEventsTest.java
@BeforeEachand@AfterEachannotations.@NeedsFreshDriverannotation to test methods.serverwithappServer.CallFunctionParameterTest.java
Refactor CallFunctionParameterTest to use common annotationsjava/test/org/openqa/selenium/bidi/script/CallFunctionParameterTest.java
@BeforeEachand@AfterEachannotations.@NeedsFreshDriverannotation to test methods.EvaluateParametersTest.java
Refactor EvaluateParametersTest to use common annotationsjava/test/org/openqa/selenium/bidi/script/EvaluateParametersTest.java
@BeforeEachand@AfterEachannotations.@NeedsFreshDriverannotation to test methods.ScriptCommandsTest.java
Refactor ScriptCommandsTest to use common annotations and appServerjava/test/org/openqa/selenium/bidi/script/ScriptCommandsTest.java
@BeforeEachand@AfterEachannotations.@NeedsFreshDriverannotation to test methods.serverwithappServer.ScriptEventsTest.java
Refactor ScriptEventsTest to use common annotations and appServerjava/test/org/openqa/selenium/bidi/script/ScriptEventsTest.java
@BeforeEachand@AfterEachannotations.@NeedsFreshDriverannotation to test methods.serverwithappServer.RemoteWebDriverBiDiTest.java
Refactor RemoteWebDriverBiDiTest for server lifecycle managementjava/test/org/openqa/selenium/grid/router/RemoteWebDriverBiDiTest.java
@BeforeAlland@AfterAllannotations for server setup andteardown.
@BeforeEachannotation for server setup.