From 4fc1a51dd404fcb3097c777ce9b848b0d90bb852 Mon Sep 17 00:00:00 2001 From: chasegawa Date: Thu, 16 Jun 2022 08:54:59 -0700 Subject: [PATCH] SHIBUI-2264 correcting settings for selenium tests --- backend/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backend/build.gradle b/backend/build.gradle index 554674bbb..55549097e 100644 --- a/backend/build.gradle +++ b/backend/build.gradle @@ -206,6 +206,9 @@ dependencies { integrationTestCompile 'jp.vmi:selenese-runner-java:3.20.0' integrationTestCompile "org.springframework.boot:spring-boot-starter-test:${project.'springbootVersion'}" integrationTestCompile "org.springframework.security:spring-security-test:${project.'springSecurityVersion'}" + integrationTestCompile platform("org.spockframework:spock-bom:2.1-groovy-3.0") + integrationTestCompile "org.spockframework:spock-core" + integrationTestCompile "org.spockframework:spock-spring" // CSV file support compile 'com.opencsv:opencsv:4.4', { @@ -240,6 +243,7 @@ task copyUI(type: Copy) { } task integrationTest(type: Test) { + useJUnitPlatform() group = 'verification' description = 'Run various integration tests' dependsOn 'copyUI' @@ -251,6 +255,7 @@ task integrationTest(type: Test) { } task enversTest(type: Test) { + useJUnitPlatform() group = 'verification' description = 'Run tests pertaing to envers versioning engine' testClassesDirs = sourceSets.enversTest.output.classesDirs