Skip to content

Commit

Permalink
Update to latest JUnit Fountation (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbabcoc authored Mar 29, 2024
1 parent b7a5c09 commit d304090
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ dependencies {
constraints {
api 'com.nordstrom.tools:java-utils:3.1.1'
api 'com.nordstrom.tools:settings:3.0.5'
api 'com.nordstrom.tools:junit-foundation:17.0.3'
api 'com.nordstrom.tools:junit-foundation:17.0.4'
api 'com.github.sbabcoc:logback-testng:2.0.0'
api 'org.hamcrest:hamcrest-core:2.2'
api 'org.yaml:snakeyaml:1.33'
Expand All @@ -255,7 +255,9 @@ dependencies {
}

test {
jvmArgs "-javaagent:${classpath.find { it.name.contains('junit-foundation') }.absolutePath}"
jvmArgs = [
"-javaagent:${classpath.find { it.name.contains('junit-foundation') }.absolutePath}"
]
}

def getBrowserCaps() {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
profile=selenium4
version=28.0.0-SNAPSHOT
browsers=firefox
browsers=chrome
2 changes: 0 additions & 2 deletions selenium3Deps.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ dependencies {
api 'com.nordstrom.tools:testng-foundation'
api 'org.seleniumhq.selenium:selenium-server'
api 'org.seleniumhq.selenium:selenium-support'
api 'org.seleniumhq.selenium:htmlunit-driver'
api 'com.codeborne:phantomjsdriver'
api('io.github.bonigarcia:webdrivermanager') {
exclude group: 'org.slf4j', module: 'slf4j-api'
}
Expand Down
15 changes: 8 additions & 7 deletions selenium4Deps.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@ sourceSets {
dependencies {
constraints {
api 'com.nordstrom.tools:testng-foundation:4.0.4-j8'
api 'org.seleniumhq.selenium:selenium-grid:4.18.1'
api 'org.seleniumhq.selenium:selenium-support:4.18.1'
api 'org.seleniumhq.selenium:selenium-chrome-driver:4.18.1'
api 'org.seleniumhq.selenium:selenium-edge-driver:4.18.1'
api 'org.seleniumhq.selenium:selenium-firefox-driver:4.18.1'
api 'org.seleniumhq.selenium:selenium-grid:4.19.0'
api 'org.seleniumhq.selenium:selenium-support:4.19.0'
api 'org.seleniumhq.selenium:selenium-chrome-driver:4.19.0'
api 'org.seleniumhq.selenium:selenium-edge-driver:4.19.0'
api 'org.seleniumhq.selenium:selenium-firefox-driver:4.19.0'
api 'org.seleniumhq.selenium:selenium-opera-driver:4.4.0'
api 'org.seleniumhq.selenium:selenium-safari-driver:4.18.1'
api 'org.seleniumhq.selenium:selenium-safari-driver:4.19.0'
api 'org.seleniumhq.selenium:htmlunit3-driver:4.18.1'
api 'com.codeborne:phantomjsdriver:1.5.0'
api 'org.apache.httpcomponents:httpclient:4.5.14'
api 'org.eclipse.jetty:jetty-servlet:9.4.50.v20221201'
api 'org.jsoup:jsoup:1.15.3'
api 'org.apache.commons:commons-lang3:3.12.0'
api ('com.google.guava:guava') {
version { strictly '31.1-jre' }
version { strictly '31.1-jre' }
}
api 'com.beust:jcommander:1.82'
api 'io.netty:netty-transport-native-epoll:4.1.93.Final'
Expand All @@ -56,5 +56,6 @@ dependencies {
api 'org.apache.commons:commons-lang3'
api 'com.google.guava:guava'
api 'com.beust:jcommander'
api 'org.seleniumhq.selenium:htmlunit3-driver' // temporary
testImplementation 'org.mockito:mockito-core'
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
public class JUnitModelTest extends JUnitTargetRoot {

@Test
@Ignore
@TargetPlatform(WEB_APP_NAME)
public void testBasicPage() {
ModelTestCore.testBasicPage(this);
Expand Down

0 comments on commit d304090

Please sign in to comment.