Skip to content

Commit c738a37

Browse files
authored
Update dependencies; revise class contexts (#286)
1 parent 0a1919c commit c738a37

File tree

5 files changed

+43
-45
lines changed

5 files changed

+43
-45
lines changed

build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,12 @@ repositories {
237237

238238
dependencies {
239239
constraints {
240-
api 'com.nordstrom.tools:java-utils:3.3.1'
241-
api 'com.nordstrom.tools:settings:3.0.5'
242-
api 'com.nordstrom.tools:junit-foundation:17.1.1'
243-
api 'com.github.sbabcoc:logback-testng:2.0.0'
244-
api 'org.hamcrest:hamcrest-core:2.2'
245-
api 'org.yaml:snakeyaml:1.33'
240+
api 'com.nordstrom.tools:java-utils:3.4.1'
241+
api 'com.nordstrom.tools:settings:3.0.7'
242+
api 'com.nordstrom.tools:junit-foundation:17.2.2'
243+
api 'com.github.sbabcoc:logback-testng:2.0.1'
244+
api 'org.hamcrest:hamcrest-core:3.0'
245+
api 'org.yaml:snakeyaml:2.4'
246246
}
247247
api 'com.nordstrom.tools:java-utils'
248248
api 'com.nordstrom.tools:settings'

selenium3Deps.gradle

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ sourceSets {
2424

2525
dependencies {
2626
constraints {
27-
api 'com.nordstrom.tools:testng-foundation:5.1.1-j8'
27+
api 'com.nordstrom.tools:testng-foundation:5.1.3-j8'
2828
api 'org.seleniumhq.selenium:selenium-server:3.141.59'
2929
api 'org.seleniumhq.selenium:selenium-support:3.141.59'
3030
api 'org.seleniumhq.selenium:selenium-chrome-driver:3.141.59'
@@ -34,18 +34,18 @@ dependencies {
3434
api 'org.seleniumhq.selenium:selenium-safari-driver:3.141.59'
3535
api 'org.seleniumhq.selenium:htmlunit-driver:2.70.0'
3636
api 'com.codeborne:phantomjsdriver:1.4.4'
37-
api 'io.github.bonigarcia:webdrivermanager:5.7.0'
37+
api 'io.github.bonigarcia:webdrivermanager:6.0.0'
3838
api 'org.apache.httpcomponents:httpclient:4.5.14'
39-
api 'org.jsoup:jsoup:1.15.3'
40-
api 'org.apache.commons:commons-lang3:3.12.0'
39+
api 'org.jsoup:jsoup:1.19.1'
40+
api 'org.apache.commons:commons-lang3:3.17.0'
4141
api 'com.beust:jcommander:1.82'
42-
api 'com.squareup.okhttp3:okhttp:4.10.0'
43-
api 'com.squareup.okio:okio:2.10.0'
44-
api 'org.eclipse.jetty.websocket:websocket-client:9.4.50.v20221201'
45-
api 'org.jetbrains.kotlin:kotlin-stdlib:1.8.10'
46-
api 'org.jetbrains.kotlin:kotlin-stdlib-common:1.8.10'
42+
api 'com.squareup.okhttp3:okhttp:4.12.0'
43+
api 'com.squareup.okio:okio:3.10.2'
44+
api 'org.eclipse.jetty.websocket:websocket-client:9.4.57.v20241219'
45+
api 'org.jetbrains.kotlin:kotlin-stdlib:2.1.20'
46+
api 'org.jetbrains.kotlin:kotlin-stdlib-common:2.1.20'
4747
testImplementation 'io.appium:java-client:7.6.0'
48-
testImplementation 'org.mockito:mockito-core:4.6.1'
48+
testImplementation 'org.mockito:mockito-core:4.11.0'
4949
}
5050
api 'com.nordstrom.tools:testng-foundation'
5151
api 'org.seleniumhq.selenium:selenium-server'

selenium4Deps.gradle

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,27 +24,27 @@ sourceSets {
2424

2525
dependencies {
2626
constraints {
27-
api 'com.nordstrom.tools:testng-foundation:5.1.1-j11'
28-
api 'org.seleniumhq.selenium:selenium-grid:4.27.0'
29-
api 'org.seleniumhq.selenium:selenium-support:4.27.0'
30-
api 'org.seleniumhq.selenium:selenium-chrome-driver:4.27.0'
31-
api 'org.seleniumhq.selenium:selenium-edge-driver:4.27.0'
32-
api 'org.seleniumhq.selenium:selenium-firefox-driver:4.27.0'
27+
api 'com.nordstrom.tools:testng-foundation:5.1.3-j11'
28+
api 'org.seleniumhq.selenium:selenium-grid:4.30.0'
29+
api 'org.seleniumhq.selenium:selenium-support:4.30.0'
30+
api 'org.seleniumhq.selenium:selenium-chrome-driver:4.30.0'
31+
api 'org.seleniumhq.selenium:selenium-edge-driver:4.30.0'
32+
api 'org.seleniumhq.selenium:selenium-firefox-driver:4.30.0'
3333
api 'org.seleniumhq.selenium:selenium-opera-driver:4.4.0'
34-
api 'org.seleniumhq.selenium:selenium-safari-driver:4.27.0'
35-
api 'com.nordstrom.ui-tools:htmlunit-remote:4.27.0'
36-
api 'org.seleniumhq.selenium:htmlunit3-driver:4.27.0'
37-
api 'org.htmlunit:htmlunit:4.7.0'
34+
api 'org.seleniumhq.selenium:selenium-safari-driver:4.30.0'
35+
api 'com.nordstrom.ui-tools:htmlunit-remote:4.30.0'
36+
api 'org.seleniumhq.selenium:htmlunit3-driver:4.30.0'
37+
api 'org.htmlunit:htmlunit:4.11.1'
3838
api 'com.codeborne:phantomjsdriver:1.5.0'
3939
api 'org.apache.httpcomponents:httpclient:4.5.14'
40-
api 'org.eclipse.jetty:jetty-servlet:9.4.50.v20221201'
41-
api 'org.jsoup:jsoup:1.15.3'
42-
api 'org.apache.commons:commons-lang3:3.16.0'
40+
api 'org.eclipse.jetty:jetty-servlet:9.4.57.v20241219'
41+
api 'org.jsoup:jsoup:1.19.1'
42+
api 'org.apache.commons:commons-lang3:3.17.0'
4343
api 'com.beust:jcommander:1.82'
44-
api 'io.netty:netty-transport-native-epoll:4.1.93.Final'
45-
api 'io.netty:netty-transport-native-kqueue:4.1.93.Final'
46-
testImplementation 'io.appium:java-client:9.3.0'
47-
testImplementation 'org.mockito:mockito-core:4.6.1'
44+
api 'io.netty:netty-transport-native-epoll:4.1.119.Final'
45+
api 'io.netty:netty-transport-native-kqueue:4.1.119.Final'
46+
testImplementation 'io.appium:java-client:9.4.0'
47+
testImplementation 'org.mockito:mockito-core:4.11.0'
4848
}
4949
api 'com.nordstrom.tools:testng-foundation'
5050
api 'org.seleniumhq.selenium:selenium-grid'

src/selenium4/java/com/nordstrom/automation/selenium/SeleniumConfig.java

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -320,13 +320,11 @@ public class SeleniumConfig extends AbstractSeleniumConfig {
320320
"io.opentelemetry.sdk.autoconfigure.spi.Ordered", "io.opentelemetry.api.trace.Span",
321321
"io.opentelemetry.sdk.trace.SdkSpan", "io.opentelemetry.context.Scope", "io.opentelemetry.sdk.metrics.View",
322322
"io.opentelemetry.sdk.logs.LogLimits", "io.opentelemetry.sdk.common.Clock",
323-
"io.opentelemetry.sdk.OpenTelemetrySdk", "io.opentelemetry.semconv.SemanticAttributes",
324-
"io.opentelemetry.api.incubator.events.EventLoggerProvider", "org.zeromq.Utils", "dev.failsafe.Call",
325-
"graphql.Assert", "org.slf4j.MDC", "io.netty.channel.Channel", "io.netty.util.Timer",
326-
"io.netty.handler.ssl.SslUtils", "io.netty.buffer.ByteBuf", "io.netty.handler.codec.Headers",
327-
"io.netty.handler.codec.http.Cookie", "org.openqa.selenium.io.Zip", "org.slf4j.impl.StaticLoggerBinder",
328-
"ch.qos.logback.core.Layout", "io.netty.resolver.NameResolver", "io.opentelemetry.api.logs.Logger",
329-
"org.openqa.selenium.net.Urls", "org.dataloader.DataLoader",
323+
"io.opentelemetry.sdk.OpenTelemetrySdk", "org.zeromq.Utils", "dev.failsafe.Call", "graphql.Assert",
324+
"org.slf4j.MDC", "io.netty.channel.Channel", "io.netty.util.Timer", "io.netty.handler.ssl.SslUtils",
325+
"io.netty.buffer.ByteBuf", "io.netty.handler.codec.Headers", "io.netty.handler.codec.http.Cookie",
326+
"org.openqa.selenium.io.Zip", "ch.qos.logback.core.Layout", "io.netty.resolver.NameResolver",
327+
"io.opentelemetry.api.logs.Logger", "org.openqa.selenium.net.Urls", "org.dataloader.DataLoader",
330328
"com.google.common.util.concurrent.internal.InternalFutures", "org.eclipse.jetty.server.Server",
331329
"org.reactivestreams.Publisher", "org.openqa.selenium.manager.SeleniumManager",
332330
"org.apache.commons.exec.Executor", "io.netty.buffer.ByteBufUtil" };

src/selenium4/java/com/nordstrom/automation/selenium/plugins/HtmlUnitPlugin.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ public HtmlUnitPlugin() {
6363
"org.apache.http.entity.mime.MIME", "org.apache.commons.codec.Encoder", "org.apache.commons.io.IOUtils",
6464
"org.apache.commons.logging.Log", "org.htmlunit.jetty.websocket.client.WebSocketClient",
6565
"org.eclipse.jetty.util.IO", "org.eclipse.jetty.io.EndPoint", "org.htmlunit.jetty.websocket.common.Parser",
66-
"org.htmlunit.jetty.websocket.api.Session", "org.apache.commons.net.io.Util",
67-
"org.htmlunit.jetty.client.Origin", "org.eclipse.jetty.http.Syntax", "org.brotli.dec.Utils",
68-
"net.bytebuddy.matcher.ElementMatcher", "org.htmlunit.corejs.javascript.Symbol",
69-
"org.htmlunit.cssparser.parser.CSSErrorHandler", "org.htmlunit.cyberneko.xerces.xni.XNIException",
70-
"org.htmlunit.xpath.xml.utils.PrefixResolver", "org.htmlunit.WebClientOptions" };
66+
"org.htmlunit.jetty.websocket.api.Session", "org.htmlunit.jetty.client.Origin",
67+
"org.eclipse.jetty.http.Syntax", "org.brotli.dec.Utils", "net.bytebuddy.matcher.ElementMatcher",
68+
"org.htmlunit.corejs.javascript.Symbol", "org.htmlunit.cssparser.parser.CSSErrorHandler",
69+
"org.htmlunit.cyberneko.xerces.xni.XNIException", "org.htmlunit.xpath.xml.utils.PrefixResolver",
70+
"org.htmlunit.WebClientOptions" };
7171

7272
private static final String WEB_ELEMENT_CLASS_NAME =
7373
"org.openqa.selenium.htmlunit.HtmlUnitWebElement";

0 commit comments

Comments
 (0)